WOLFRAM SYSTEM MODELER
readExternalRealA function for reading OPC data of type Real |
|
SystemModel["OPCClassic.ExternalFunctions.readExternalReal"]

This function is used in blocks Read and TriggeredRead. It reads data of type Real from the OPC server identified with serverID.
readExternalReal(serverID, index)
| serverID |
Type: Integer Description: The unique ID of the server |
|---|---|
| index |
Type: Integer Description: The index of the read item |
| value |
Type: Real Description: The sampled value |
|---|