What product/components do you use and which version/fix level?
Cumulocity IoT
Are you using a free trial or a product with a customer license?
product with a customer license
What are trying to achieve? Please describe in detail.
I try to send a Json file from Dashboard in my customized widget to my OPC UA Server. This Json file need to be transfered to a robot arm and runned. How should I modify the component.ts file?
Do you get any error messages? Please provide a full error message screenshot and log file.
No, I do not have any idea how to achieve it. Please help me with an example. Thanks a lot.
I am not sure if you can create a method on the OPC UA Server you use? Method calls also allowed and if you had a method which takes the json as string and converts this to a file and stores this to specific node, this could be a workaraound… https://cumulocity.com/guides/protocol-integration/opcua/#call-method
All this functions from Cumulocity to OPC UA Server are done via Operations to the OPC UA gateway, containing the OPC UA Server managed object id.
Regarding weMethod OPC UA integration i am not sure if file writing is supported. I am only addressing in my answer the build-in OPC UA integration of Cumulocity.
Dear Alexander Pester,
thank you so much for the reply! I think your idea is the only possibility for me to send Json file to my OPC UA Server. I will try to realize it.
Best regards,
Yumao Liu