![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/robotstudio-webinar-arc-welding.jpg)
Noob question - Array
![Drake](https://secure.gravatar.com/avatar/fcdefbbe97d2527094206723de63233d/?default=https%3A%2F%2Fus.v-cdn.net%2F5020483%2Fuploads%2Fdefaultavatar%2FK2266OAKOLNC.jpg&rating=g&size=200)
Drake
✭
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.5K RobotStudio
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings