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
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 314 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 794 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings