What Parse Methods can do?
Lin
✭
Hi,
In PC-SDK under "ABB.Robotics.Controllers.RapidDomain"
the following classes having Static Parse Methods
1. Rob Target Structure
2. ToolData Structure
3. WobjData Structure
I want to know these parse methods can parse corresponding data from the string like this
"MoveAbsJ [[0.00,0.00,0.00,0.00,0.00,0.00],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v500,fine,tl_;";
For example:
=========
String myString = "MoveAbsJ [[0.00,0.00,0.00,0.00,0.00,0.00],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v500,fine,tl_;";
RobTarget myRT = new RobTarget;
myRT = Robtarget.Parse(myString);
I am expecting the output like this.
myRT should contain : [[0.00,0.00,0.00,0.00,0.00,0.00], [9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]]
Kindly guide me how can i achieve this.
Lingaa
0
Comments
-
Maybe have you tried with it:
ABB.Robotics.Controllers.RapidDomain.String myString = new ABB.Robotics.Controllers.RapidDomain.String("MoveAbsJ [[0.00,0.00,0.00,0.00,0.00,0.00],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v500,fine,tl_;");
RobTarget myRT = new RobTarget();
myRT.FillFromString(myString.ToString());
0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings