Noob question - Array
Options
Hi. I would like to have an array in Rapid, with the size that would be determined in RAB. Is this possible? In the manual it says arrays in rapid are initialized in compilation time
0
Comments
-
No, as you said you have to dimension arrays at declaration, and it is not possible to re-dim arrays.However, It is possible to use the CreateRapidData function to create RAPID data (incl. arrays) programmatically. I'm not sure how practical this would be in practice, as it may cause a loss of program pointer, etc. when you load or modify a module.Russell Drown0
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