WOLFRAM SYSTEM MODELER

readExternalReal

A function for reading OPC UA data of scalar type Real

Wolfram Language

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

Information

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

Syntax

mopcuaReadRealNodeValue(serverID, nodeID, nodeIDType, nodeNamespace) 

Syntax

value = readExternalReal(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: Real

Description: The sampled value