Is it possible to read RAPID data declared in installed module with RWS
I am trying to read a rapid data with RWS but I get a response 400 Bad Request.
It seems to work on data declared in loaded modules, but as soon as I try to read from an installed module I fail.
I have not found specific information in the Application manual about data symbols in an installed module.
Any help is greatly appreciated.
PS, For now, I am not interested in a subscription, just reading the data with a GET is all I need.
It seems to work on data declared in loaded modules, but as soon as I try to read from an installed module I fail.
I have not found specific information in the Application manual about data symbols in an installed module.
Any help is greatly appreciated.
PS, For now, I am not interested in a subscription, just reading the data with a GET is all I need.
//Markus Näslund
Tagged:
0
Best Answers
-
Is the module installed as shared?
In that case it should be specified as #SYS, don’t forget to encode the # to avoid errors.
I think I wrote %23 instead of #.Systemintegrator - Web / C# / Rapid / Robotstudio
If I helped, please press Vote Up
☑️2024 - RobotStudio® User Group0 -
Just to be clear.
rwRAPIDResource.open("GET","/rw/rapid/symbol/data/RAPID/T_ROB1/#SYS/C_UIHeader",true);
rwRAPIDResource.open("GET","/rw/rapid/symbol/data/RAPID/T_ROB1/%23SYS/C_UIHeader",true);
Depending if you html encode the string before or after this point.Systemintegrator - Web / C# / Rapid / Robotstudio
If I helped, please press Vote Up
☑️2024 - RobotStudio® User Group1
Answers
-
Yes it's possible I do so myself.
Can you post what your request looks like?Systemintegrator - Web / C# / Rapid / Robotstudio
If I helped, please press Vote Up
☑️2024 - RobotStudio® User Group0 -
rwRAPIDResource.open("GET","/rw/rapid/symbol/data/RAPID/T_ROB1/UI_GlobalData/C_UIHeader",true);
UI_GlobalData is an installed module in all tasks, I dont know if the symbol url is different for installed modules. It works when I replace the symbol url to something that is declared in a loaded module.
If you have it working, can you post your request?
Best regardsPost edited by Markus Näslund on//Markus Näslund0
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
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings