Read-only
About Cal Sets

OpenCalSet Method   Superseded


Description

This command is no longer necessary. The CalSet.get... and put... commands that required this command have been replaced,

Open the Cal Set to read/write a particular CalType. Learn more about reading and writing Cal Data using COM.

This method is a prerequisite to several other Cal Set methods.

A Cal Set can contain more than one CalType. This method opens the Cal Set and allows access to a particular set of terms. Subsequent commands like getErrorTerm use this information to access the correct error terms in the Cal Set.  For example:

cset.OpenCalSet (naCalType_TwoPortSOLT,3,2)
cset.PutErrorTerm(naDirectivity, 1, 1, Buffer)

The directivity error term for port 1 could belong to any number of caltypes: Full1Port (S11), Full2Port (12), Full2Port (13) or Full3Port (123). The CalType and port specifiers in OpenCalSet directs the uploaded directivity term to the correct set of error terms.  

To close the Cal Set, see CloseCalSet.  

VB Syntax

CalSet.OpenCalSet (CalType, p1, p2, p3)

Variable

(Type) - Description

CalSet

(object) -  A Cal Set object

CalType

(enum as naCalType) - type of correction to be applied. Choose from:

Caltype

p arguments required

0 - naCalType_Response_Open

p1

1 - naCalType_Response_Short

p1

2 - *naCalType_Response_Thru

p1 (rcv), p2 (src)

3 - *naCalType_Response_Thru_And_Isol

p1 (rcv), p2 (src)

4 - naCalType_OnePort

p1

5 - naCalType_TwoPort_SOLT

p1, p2

6 - naCalType_TwoPort_TRL

p1, p2

7 -  naCalType_None

N/A

8 - naCalType_ThreePort_SOLT

p1, p2, p3

9 - Custom

N/A

10 - naCalType_FourPort_SOLT

p1, p2, p3

(port 4 is assumed)

* order of port arguments is significant for these CalTypes

p1

(long) - required.  This argument must be specified.

This specifies either:

- the one significant port for an open/short response cal or a 1 port cal.

- or one of the ports involved in a 2 or 3 port cal

- or the receive port for a thru response / thru-isolation cal.

p2

(long) - required for any caltype involving more than one port

This specifies either:

- one of the ports involved in a 2 or 3 port cal (order independent)

- or the source  port for a thru response / thru-isolation cal

p3

(long) - required only for 3 port cal

This specifies either:

- one of the ports involved in a  3 port cal (order independent)

Return Type

None

Default

Not Applicable

Examples

 CalSet.OpenCalSet naCalType_ThreePort_SOLT, 3,2,1

C++ Syntax

HRESULT OpenCalSet ( naCalType, port1, [optional] port2, [optional]  port3);

Interface

ICalSet