Gets the value of the specified data point.
VAL returns the value of a data point.
To work with the data point as an object (to access
_members--IVqt properties and IDataTable),
use GET.
VAL("name") is identical to GET("name").Value. It is simply shorthand for this common case.
This example illustrates how to get data point values and perform calculations.
Since VAL triggers an automatic script execution,
the difference between the two data point values is recalculated every time either changes.
Math.Abs(VAL("DataPid:PID1.Sp") - VAL("DataPid:PID1.Pv"));
