Purpose: Create and return an object of the class DATACOL.

The object contains data extracted from one column of the CPIV object's data array. The data, once extracted, can then be submitted to other objects for further calculation. For example, a LINFIT object performs a linear-regression analysis on two DATACOL objects.

A new DATACOL object is automatically created by the call to CPIV.DataCol(). It is usually transient, existing only for one function call.


DataCol = Cpiv.DataCol(ColumnCode)

The new object containing the data extracted from the CPIV data array.

ColumnCode INDEX

A code identifying the column to be used.

0 = Time

1 = Applied Voltage

2 = Uncompensated Voltage

3 = Measured Current

4 = Signal sent to Control Amplifier

5 = Measured Aux Channel Voltage

Or use the predefined constants:

CPIV_T = Time

CPIV_Vf = Measured Voltage

CPIV_Vu = Uncompensated Voltage

CPIV_Im = Applied Current

CPIV_Sig = Signal sent to Control Amplifier

CPIV_Ach = Measured Aux Channel Voltage

Related Topics Link IconRelated Topics