What Parse Methods can do?

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.

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());