
Could not read/write variable

berrie
✭
If i try to read or write a variable from the controller, I get the following message:
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
I read a string for example in the following way:
value = Controller.GetRapid().GetRapidData(valName).StringValue;
Does anyone know what this could probably cause?
0
Comments
-
What type of project do you have, PC or FlexPendant? WHat version of RAB and RobotWare do you have?
What RAPID data type are you trying to read? Where is it located in the system, i.e. what is the Task, Module, and Variable name?
What exception type is being raised?
Russell Drown0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings