WOLFRAM SYSTEM MODELER

readExternalBoolean

A function for reading OPC UA data of scalar type Boolean

Wolfram Language

In[1]:=
SystemModel["OPCUA.ExternalFunctions.readExternalBoolean"]
Out[1]:=

Information

This function is used in blocks Read and TriggeredRead. It reads data of scalar type Boolean from the OPC UA server identified with serverID.

Syntax

mopcuaReadBooleanNodeValue(serverID, nodeID, nodeIDType, nodeNamespace) 

Syntax

value = readExternalBoolean(serverID, nodeID, nodeIDType, nodeNamespace)

Inputs (4)

serverID

Type: Integer

Description: The unique ID of the server

nodeID

Type: String

Description: The ID of the read node

nodeIDType

Type: UANodeIdType

Description: The type of the ID of the read node

nodeNamespace

Type: Integer

Description: The namespace of the read node

Outputs (1)

value

Type: Boolean

Description: The sampled value