Pv.DataCol()

<< Click to Display Table of Contents >>

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

Pv.DataCol()

Description

Create and return an object of the class DATACOL.

 

The object contains data extracted from one column of the Pv object's data array. The data, once extracted, can then be submitted to other objects for further calculation.

 

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

 

Type

INSTANCE FUNCTION

 

Usage

DataCol = Pv.DataCol(ColumnCode)

 

ColumnCode

INDEX

A code identifying the column to be used.

0 = Time

1 = Applied Forward Voltage

2 = Applied Reverse Voltage

3 = Applied Step Voltage

4 = Measured Current

5 = Measured Forward Current

6 = Measured Reverse Current

7 = Measured Current Difference Idif between Ifwd and Irev

8 = Applied Signal

9 = Measured Aux Channel Voltage

 

Or use the predefined constants:

PV_T = Time

PV_Vfwd = Applied Forward Voltage

PV_Vrev = Applied Reverse Voltage

PV_Vstep = Applied Step Voltage

PV_Im = Measured Current

PV_IFwd = Measured Forward Current

PV_Irev = Measured Reverse Current

PV_Idif = Measured Current Difference Idif between Ifwd and Irev

PV_Sig = Applied Signal (V)

PV_Ach = Measured Aux Channel Voltage

DataCol

DATACOL

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