Galvcor.DataCol()


Type: INSTANCE FUNCTION

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

The object contains data extracted from one column of the GALVCOR 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 GALVCOR.DataCol(). It is usually transient, existing only for one function call.

Usage:

DataCol = Galvcor.DataCol(ColumnCode)       DataCol DATACOL The new object containing the data extracted from the GALVCOR data array. ColumnCode INDEX

A code identifying the column to be used.

0 = Time

1 = Measured 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 = Measured Current

CPIV_Sig = Signal sent to Control Amplifier

CPIV_Ach = Measured Aux Channel Voltage

Related Topics Link IconRelated Topics