Ocv.DataValue()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Curve classes > class OCV >

Ocv.DataValue()

Description

Extract a single data item from an Ocv 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.

 

Type

INSTANCE FUNCTION

 

Usage

Result = Ocv.DataValue(PointNum, ColNumber)

 

PointNum

INDEX

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

NIL

Always return a value from the last acquired point.

ColNumber

INDEX

Data column, with a range of 0 to 2. The meaning of the data in each column is given in the Ocv.DataCol() description.

Result

REAL

The returned value.

NIL

No data acquired yet.