Gets the value of the specified data point.
This function looks up the named point and returns a structure containing the _members--IVqt properties.
The Value field of a point will always be coerced to one of Double, Int32 or String before it is returned.
Any property of the returned point structure can be referenced as a member variable.
For example, to reference the Timestamp property of a point,
the function could be called like this: GET("DataPid:PID1.Mv").Timestamp
Unlike VAL which returns the value of a data point, GET returns the data point as an object. This enables you to access other attributes via two interfaces: IVqt and IDataTable.
This example illustrates how to retrieve a data point object, determine whether the point contains tabular data,
and output a message that shows the number of table rows and the xml representation of the structured data.
var vqt = GET("Northwind:AllEmployees");
if (vqt.TableData != null)
string.Format("{0} contains {1} rows of tablular data.\n\n{2}",
vqt.PointName, vqt.TableData.Rows.Count, vqt.Value);
else
string.Format("{0} is not tabular data.", vqt.PointName);
