Writes a value into a named item in an OPC server. Only the item value is written (quality and timestamp are not written).
The server can be local or can be remotely accessed via DCOM. Optionally, an access path can be specified or a specific data type can be requested.
Overload List
Overload | Description |
WriteItemValue(IEasyDAClient,DAItemValueArguments) | Writes a value into a named item in an OPC server. Only the item value is written (quality and timestamp are not written). Writes a value into a named item using an object that holds all necessary arguments. |
WriteItemValue(IEasyDAClient,ServerDescriptor,DAItemDescriptor,Object) | Writes a value into a named item in an OPC server. Only the item value is written (quality and timestamp are not written). Writes a value into a named item using descriptor objects for the OPC server and OPC-DA item. |
WriteItemValue(IEasyDAClient,String,String,String,Object,VarType) | Writes a value into a named item in an OPC server. Only the item value is written (quality and timestamp are not written). Writes a value into a named item using individual parameters specifying its location, and a specific data type. |
WriteItemValue(IEasyDAClient,String,String,String,Object) | Writes a value into a named item in an OPC server. Only the item value is written (quality and timestamp are not written). Writes a value into a named item using individual parameters specifying its location, and using server's canonical data type. |
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also