'How to update values from opcua client (raspberry pi 4) to opcua server (laptop)

I have created an OPC UA server using AutomationML with the Plugins of AML2OPCUA. Then, I have my raspberry pi 4 acting as the OPC UA client. It has an Ultrasonic sensor connected to it. Can anyone tell me how to update the values that I get from this ultrasonic sensor to the OPC UA server on my laptop?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source