Could not read/write variable
Options
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.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 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
- 734 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings