GetGvar(n,NDP)
Previous Topic  Next Topic 


Name

Commenta

Name

Description


Parameter 1

parameter 2



Returns


Comment


Example


Get Global Variable

Gets a global value not connected to a specific instrument. Any script can read and write to these variables. 900 variables 0-899 are available.

Value to set in the variable. A float number (decimal point if used).

N=normal (or excluded) gives the cell value. D=gets data+time for the last point when writing. P=Previous gets previous value in the cell. Date value is then used as old value.

Same as indata series to be used transaprently inside script.

A scripts connected to several instruments can exchange information with each other through the global variables.

GetGvar(78) gets value from cell 78. To set values use SetGvarIf(). GetGvar(78,D) gets the time stamp from the last cell writing. GetGvar(78,P) also gets the same cell but refers to the cell being used to store the previous value in the date part.

Tips for graphics


Placement

Scaling

Show as flag

No relevance


No