Cpiv.DataValue()

<< Click to Display Table of Contents >>

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

Cpiv.DataValue()

Description

Extract a single data item from a Cpiv 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

DataValue = Cpiv.DataValue(PointNum, ColNumber)

 

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

A code identifying the column to be used:

•CPIV_T = Time

•CPIV_Vf = Applied Voltage

•CPIV_Vu = Uncompensated Voltage

•CPIV_Im = Measured Current

•CPIV_Sig = Signal sent to Control Amp

•CPIV_Ach = Measured Aux Channel Voltage

DataValue

REAL

The returned value.

NIL

No data acquired yet.