SyncData gets error
chen
✭
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.5K RobotStudio
- 396 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)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings