Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
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.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 364 IRC5
- 82 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 854 RAPID Programming
- 37 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings
