Example: Multiple OPC Items Monitor

NI DataSocket

Example: Multiple OPC Items Monitor

Uses control arrays to connect to multiple OPC items. This example also demonstrates browsing OPC servers with the SelectURL method.

Controls, Properties, Methods, and Events

This example demonstrates the following controls, properties, methods, and events:

CWDataSocket

ConnectTo, Update, Disconnect, OnDataUpdated, OnStatusUpdated

CWData

Value, GetAttribute

Example Location

Samples\DataSocket\OPC

See Also

NI Demo OPC Client Example