Read-only
About Measurement Calibration

GetErrorTerm Method - Superseded


Description

Note: This command is replaced by Get ErrorTermByString_Method

Retrieves error term data that is used for error correction. The data is complex pairs. Memory for the returned Variant is allocated by the server. The server returns a variant containing a two-dimensional safe Array.

This method returns a variant which is less efficient than getErrorTermComplex on the ICalData interface.

Note: When performing an ECal, send SetCalInfoEx Method BEFORE calling GetErrorTerm method.

Learn about reading and writing Calibration data.

 VB Syntax

data = cal.getErrorTerm term, rcv. src

Variable

(Type) - Description

data

Variant array to store the data.

cal

A Calibrator (object)

term

(enum As NaErrorTerm). Choose from:

naErrorTerm_Directivity_Isolation
naErrorTerm_Match
naErrorTerm_Tracking

rcv

(long integer) - Receiver Port

src

(long integer) - Source Port


To get this

Specify these parameters:

Error Term

term

rcv

src

Fwd Directivity

naET_Directivity Isolation

1

1

Rev Directivity

naET_Directivity Isolation

2

2

Fwd Isolation

naET_Directivity Isolation

2

1

Rev Isolation

naET_Directivity Isolation

1

2

Fwd Source Match

naErrorTerm_Match

1

1

Rev Source Match

naErrorTerm_Match

2

2

Fwd Load Match

naErrorTerm_Match

2

1

Rev Load Match

naErrorTerm_Match

1

2

Fwd Reflection Tracking

naErrorTerm_Tracking

1

1

Rev Reflection Tracking

naErrorTerm_Tracking

2

2

Fwd Trans Tracking

naErrorTerm_Tracking

2

1

Rev Trans Tracking

naErrorTerm_Tracking

1

2


Return Type

 

Variant

Default

Not Applicable

Examples

Dim varError As Variant
varError = cal.getErrorTerm(naErrorTerm_Tracking,2,1)

C++ Syntax

HRESULT getErrorTerm(tagNAErrorTerm ETerm, long ReceivePort, long SourcePort, VARIANT* pData)

Interface

ICalibrator