I have installed Rapid Scada in a Windows system. I have a standalone OPCUA server running and server variables is visible in RapidScada OPCUA client. Now from a separately running RestAPI client, I want to get and post the OPCUA client variables present in Rapid Scada through url and json structure. Please guide me how I can do this ?
RESP API functions provided by Rapid SCADA can be found here. URL examples are given in the source code. You can call them either from client or server code.
This reply was modified 1 month, 1 week ago by Mikhail.
I want to read/write OPCUA variables from an rest-api client application (get/post). In the rest-api I am providing url’s like “http://localhost/Api/Main/GetCurData?cnlNums=101-103” or “http://10.135.114.17:10000/Api/Auth/Login”. But in the rapid scada server log I am getting error as “incorrect format of data received from client data length is too big”.
Please tell me what will be the right url to access the opcua variables from rest api client application.
This reply was modified 1 month ago by rajatdas2005.
Hi,
Thank you for your reply. From the architectural diagram, it is visible that external applications can communicate only with the rapid scada server. So what will be the correct url so that I can access opcua client variables from an external application via rapid scada server ?
Hi,
To use REST API you should connect to the web application. The Server application supports custom TCP-based protocol. See this link for more details.