Back

Topic

[KB695]VARIABLE mode REFRESH

Tags: Scada Basic, Scripting, Variables

11 years ago
By RM
Options
Print
Applies to:

PcVue 9.0 SP2 and later


Summary:

How to force the refresh of a variable on a client station.


Details:

A new mode REFRESH has been added to the SCADA basic instruction VARIABLE to force the refresh of a variable on a consumer (client) station. This has been implemented to avoid any potential mismatch between the producer and consumer.

IntVal = VARIABLE (Mode, VarName)
Return type: INTEGER

Mode

Mnemonic

Action

58

REFRESH

Refresh the variable VarName. The active producer sends the variable VTQ to the consumer on which the request was made.

Return: 1 if OK, else 0.


Created on: 27 Jan 2014 Last update: 13 May 2024