SyncData gets error
Options
in RobotStudio
I am trying to use the following command to syncronize a work object from a macro to the VC:
station.ActiveTask.SyncData("Module1/workObjBattery", SyncDirection.ToController, new System.Collections.Generic.List<SyncLogMessage>());
However, I always get this error:
The given key was not present in the dictionary.
Apparently the name Module1/workObjBattery is correct. What could have gone wrong here?
Thanks,
Sam
chen2008-7-3 21:1:330
Comments
-
Hi
Looks like this only works if you create a real addin and not thru VSTA.Per Svensson
Robotics and Vision Specialist
Consat Engineering0
Categories
- All Categories
- 5.4K RobotStudio
- 381 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 737 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings