CalSet Object


See ICalData Interface for putting and getting typed Cal Set data.

Description

Use this interface to query and or change the contents of a Cal Set.

Accessing the CalSet object

Get a handle to a CalSet object by using the CalSets collection. This is done through the CalManager object with the app.GetCalManager Method.

Dim app As AgilentPNA835x.Application
Set app = CreateObject("AgilentPNA835x.Application", <analyzerName>)

Dim calst As ICalSet
Set calst = app.GetCalManager.CalSets.Item(1)
'OR Get a handle by CalSet Name

Set calst = app.GetCalManager.CalSets.Item("MyCalSet")

See Also:

Methods

Interface

See History

Description

CloseCalSet

ICalSet

Obsolete - No longer necessary.

ComputeErrorTerms

ICalSet

Computes error terms for the CalType specified by a preceding OpenCal Set call.

Copy

ICalSet

Creates a new Cal Set and copies the current Cal Set data into it.

EnumerateItems

ICalSet6

Returns a list of all name-value pairs (items) in the Cal Set.

getErrorTerm

ICalSet

Superseded with getErrorTermByString

GetErrorTermByString

ICalSet2

Returns variant error term data by specifying the string name of the error term.

getErrorTermList

ICalSet

Superseded with getErrorTermList2

getErrorTermList2

ICalSet2

Returns a list of error term names found in a calset.

GetErrorTermStimulus

ICalSet7

Returns the stimulus values over which the specific error term was acquired.

GetGUID

ICalSet

Returns the GUID identifying a Cal Set

getStandard

ICalSet

Superseded with getStandardByString

getStandardByString

ICalSet2

Returns variant standard acquisition data by specifying the string name of the standard.

getStandardsList

ICalSet

Superseded with getStandardList2

getStandardList2

ICalSet2

Returns a list of standard names found in a Cal Set.

HasCalType

ICalSet

Verifies that the Cal Set object contains the error terms required to apply the specified CalType to an appropriate measurement.

OpenCalSet

ICalSet

Obsolete - No longer necessary.

putErrorTerm

ICalSet

Superseded with putErrorTermByString

PutErrorTermByString

ICalSet2

Writes variant error term data by specifying the string name of the error term.

PutErrorTermStimulus

ICalSet7

Adds stimulus data to the specified buffer.

putStandard

ICalSet

Superseded with putStandardByString

putStandardByString

ICalSet2

Writes variant standard acquisition data by specifying the string name of the standard.

RemoveItem

ICalSet6

Removes a name-value pair from the Cal Set.

Save

ICalSet

Saves the current Cal Set to disk.

StringToNACalClass

ICalSet

Converts string values from GetStandardsList into enumeration data

StringToNAErrorTerm2

ICalSet

Converts string values from GetErrorTermList into enumeration data

Properties

 

Description

AlternateSweep

ICalSet3

Reads sweep either alternate or chopped.

Attenuator

ICalSet3

Returns the value of the attenuator control for the specified port number.

AttenuatorMode

ICalSet3

Returns the mode of operation (auto or manual) of the attenuator control for the specified port number.

ChannelClients

ICalSet8

Returns the numbers of the channels using the calset.

ContentDescriptor

ICalSet8

Returns the Cal Types from the calset.

CouplePorts

ICalSet3

Returns state of couple ports (ON or OFF)

CWFrequency

ICalSet3

Returns CW Frequency

Description

ICalSet

Set or return the descriptive string assigned to the Cal Set

DwellTime

ICalSet3

Returns the dwell time for the channel.

FrequencyOffsetCWOverride

ICalSet3

Reads state of CW Override (ON or OFF)

FrequencyOffsetDivisor

ICalSet3

Reads Frequency Offset Divisor value

FrequencyOffsetFrequency

ICalSet3

Reads Offset Frequency

FrequencyOffsetMultiplier

ICalSet3

Reads Frequency Offset Multiplier value

FrequencyOffsetState

ICalSet3

Reads Frequency Offset state (ON or OFF)

IFBandwidth

ICalSet3

Reads IF Bandwidth of the channel

Item

ICalSet6

Add or change a name-value pair in the Cal Set, or read the value associated with a name.

LastModified

ICalSet3

Reads the time stamp of when the file was last modified

Name

ICalSet4

Sets and returns the Cal Set name.

NumberOfPoints

ICalSet3

Returns the Number of Points of the channel.

OutputPorts

ICalSet5

Returns the port mapping used for the Cal Set.

PowerSlope

ICalSet3

Returns the Power Slope value.

Properties

ICalSet8

Returns the properties of the calset.

ReceiverAttenuator

ICalSet3

Returns the value of the specified receiver attenuator control.

StartFrequency

ICalSet3

Returns the start frequency of the channel.

StartPower

ICalSet3

Returns the start power of the PNA when sweep type is set to Power Sweep.

StimulusValues

ICalSet3

Returns x-axis values for stimulus or response frequencies

StopFrequency

ICalSet3

Returns the stop frequency of the channel.

StopPower

ICalSet3

Returns the stop power of the PNA when sweep type is set to Power Sweep.

SweepGenerationMode

ICalSet3

Returns the method being used to generate a sweep: analog or stepped.

SweepTime

ICalSet3

Returns the sweep time of the analyzer.

SweepType

ICalSet3

Returns the type of X-axis sweep that is performed on a channel.

TestPortPower

ICalSet3

Returns the RF power level for the channel.

TestSetType

ICalSet5

Returns the Test Set type used for the Cal Set.

ICalSet History

Interface

Introduced with PNA Rev:

ICalSet

2.0

ICalSet2

3.0

ICalSet3

3.2

ICalSet4

6.0

ICalSet5

6.2

ICalSet6

9.30

ICalSet7

9.40

ICalSet8

10.15

ICalData Interface

Description

Use this interface as an alternative to the ICalSet Interface to avoid using variants when transmitting data to and from the Cal Set

Learn about reading and writing Calibration data.

Methods

Interface

See History

Description

get ErrorTermComplex

ICalData2

Superseded with getErrorTermComplexByString

getErrorTermComplexByString

ICalData3

Returns typed error term data by specifying the string name of the error term.

getStandardComplex

ICalData2

Superseded with  getStandardComplexByString

getStandardComplexByString

ICalData3

Returns typed standard acquisition data by specifying the string name of the standard.

putErrorTermComplex

ICalData2

Superseded with putErrorTermComplexByString

putErrorTermComplexByString

ICalData3

Writes typed error term data by specifying the string name of the error term.

putStandardComplex

ICalData2

Superseded with putStandardComplexByString

putStandardComplexByString

ICalData3

Writes typed standard acquisition data by specifying the string name of the standard.

Properties

 

Description

None

 

 

 

History

Interface

Introduced with PNA Rev:

The original ICalData Interface was introduced with PNA 1.0 on the Calibrator Object.

ICalData2

2.0

ICalData3

3.1

 


Last modified:

2-May-2011

Added Get/Put ErrorTermStimulus

1-Nov-2006

New start and stop freq commands added