Galvcor.DataCol()

<< Click to Display Table of Contents >>

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

Galvcor.DataCol()

Description

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 class 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.

 

Type

INSTANCE FUNCTION

 

Usage

DataCol = Galvcor.DataCol(ColumnCode)

 

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 = Applied Voltage

CPIV_Vu = Uncompensated Voltage

CPIV_Im = Measured Current

CPIV_Sig = Signal sent to Control Amplifier

CPIV_Ach = Measured Aux Channel Voltage

DataCol

DATACOL

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