OPCUAClient_WriteBoolValue
Writes a Boolean value to a variable node in a OPC UA server.
Syntax
C++
Python
def OPCUAClient_WriteBoolValue( inNodeId: OpcUaNodeId, inValue: bool | None, inStatus: int, /, *, inConnectionId: int = 0 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inConnectionId | int | 0 - 99 | 0 | Slot id of the open connection to the server |
![]() |
inNodeId | OpcUaNodeId | Id of the variable node to write the value to | ||
![]() |
inValue | bool | None | The value to write to the variable node | ||
![]() |
inStatus | int | OPC UA status code for the variable value |

