Data Search
Options
Using the combination in a while loop of SetDataSearch, GetNextSym and GetDataVal - searching a single user.sys file for Persistent robtarget symbols only - works fine but there is no order - they are random named and order in the file - the search to returns them random too - is this the nature of the beast? - be nice if routines could order them somehow?
0
Comments
-
Hello,for the instruction "SetDataSearch" there is no way to get the data sorted as far as I know.If you store the found variable names in an array, you could implement your own sorting function (bubble sort, quick sort, etc.) after the search, which sorts the variable names.Depending on the number of variables found, the sorting will of course take a certain amount of time.0
Categories
- All Categories
- 5.4K RobotStudio
- 383 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