Pv.DataValue()

Type: INSTANCE FUNCTION

Purpose: Extracts a single data item from a PV object.

The data item is taken from the ith data point and the jth data column. If no data have been taken, the returned value is NIL.

Usage:

DataValue = Pv.DataValue(PointNum,ColNumber)

Result

REAL

NIL

The returned value.

No data acquired yet.

PointNum

INDEX

Point number, zero-based. If PointNum is out of range, a value from the last acquired point is returned.

NIL

Always return a value from the last acquired point. ColNumber INDEX Data column, with a range of 0 to 10. The meanings of the data in each column are given in the Pv.DataCol() description.

Related Topics