- Getting started
- Using the software
- OPC UA
- Graphic and layout objects
- Developing solutions
- Developing projects with C#
- Application examples
- UI tutorial
- NetLogic tutorial
- Object and variable references
IUAVariable.RemoteWrite(value, timeoutMilliseconds)
Writes the value passed in the first argument in the variable on which it invokes. The second optional argument sets the timeout period.
void RemoteWrite(UAValuevalue, doubletimeoutMilliseconds);
Arguments
- value(UAValue)
- The value to write.
- timeoutMilliseconds(double)
- The timeout period, expressed in milliseconds, after which the API throws an exception.TIP: If not specified, the default value of the argument is30000(30 seconds).
Example
In the following example, the
42
value is written in the Speed
variable.
var currentSpeed = Project.Current.GetVariable("Model/Motor/Speed"); currentSpeed.RemoteWrite(42);
Provide Feedback