FPSDK 5.12 - Rapid data
ACE
✭
Hi all
how can I read rapid data from controller?
I read many helps in FP SDK and RAB but I think there are many "errors"
Example: Dim rd As RapidData = Me.AController........
where is RapidData declared and how
where is AController declared and how
etc. etc.
I try somethink but my method "trial and error" is very slow and expensive!
Please help, do somebody any WORK example PLEASE write me.
Many thanx for any help
John Wiberg2011-06-07 14:39:56
how can I read rapid data from controller?
I read many helps in FP SDK and RAB but I think there are many "errors"
Example: Dim rd As RapidData = Me.AController........
where is RapidData declared and how
where is AController declared and how
etc. etc.
I try somethink but my method "trial and error" is very slow and expensive!
Please help, do somebody any WORK example PLEASE write me.
Many thanx for any help
John Wiberg2011-06-07 14:39:56
0
Comments
-
Hi ACE, are you working with a PC SDK or FlexPendant SDK project?0 -
Hi
I worked on FlexPendant SDK, RAB 5.12 & VisualStudio Prof 2008
Do you have any idea?
0 -
Now I saw in the topic header that you are using flexPendant SDK. Sorry for asking .In the Application Manual under topic Using the Controller API/Accessing the Controller"you can see how you create the controller object.[code]Private AController As ControllerAController = New Controller [/code]and then you can use it to get some data:[code] Dim Rd As RapidData =
Me.AController.Rapid.GetRapidData("reg100")[/code]I dont not have VB.NET installed so I havent tried it out. Are you familiar with C#?When writing about code in a manual it is quite difficult to include all varaible declarations etc every time you want to explain something.Would it be better to have longer more complete snippets of source code?0 -
Hi
What is it that you want to do exactly? What type of RAPID do you want to read? Do you want to do something more with it once you have read it?As a generic advice I'd say use the FpRapidData dialog. That ususally reduces the amount of work for the programmer.
See the FlexPendant SDK Application Manual : "Using the FlexPendant SDK - Launching other views - Using standard dialog box to modify data" topic.John
Developer Center0 -
HiI agree with John.But if you later need to use methods like GetRapidData(), I just want to tell you that the Application Manual has been updated in release 5.13 compared to 5.12, where a few typos in the code snippets were corrected.0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings