OPCRefresh

OPCRefresh — sends a Refresh2 command to the OPC server.

Syntax

(OPCRefresh [label])
    

Arguments

label

The name for this connection, as displayed in the OPC option of the Properties window. If label is * or absent, then the command affects all currently configured connections.

Returns

A message indicating success or error. Please refer to Return Syntax for details.

Description

This command causes the outgoing OPC connection specified by label to send an OPC Refresh2 command to the server. This instructs the OPC server to retransmit the current values for all items to which this connection is subscribed.