rapid data value for tool data
weisheng
✭
hi,everyone
I create an object representing the RAPID data value, and I want to read the Tool Data
,like the following simple code.
I got the rapid data through the following path
RapidData rd = aController.Rapid.GetRapidData("T_ROB1", "user", "reg1");
Then I create a ToolData
ToolData aTool;
Here it compared the tool data type with rd point to the value.
if (rd.Value is ToolData)
{
aTool = (ToolData) rd.Value;
}
here it's important for me to read the Robot of translation
this.label1.Text = aTool.Tframe.Trans.ToString();
the one question is how I know that I got the RAPID data value correspond to the tool data type
If it's the wrong way to read the rapid data value, I nedd your help
weisheng2011-11-22 16:47:15
0
Comments
-
I have the same problem too , can anyone solve this problem?0
-
All right, it's solvedRapidData rd = aController.Rapid.GetRapidData("T_ROB1", "user", "reg1");it's the path for the program datanow I got it0
-
dear friendcan you give example which is solved?0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings