Write-only
About Cal Window

AllowChannelToSweepDuringCalAcquisition Method


Description

Specifies the channel to sweep during a Calibration.

When this command is sent, the SwpChan channel is 'flagged' to be swept during calibration.  The flag is cleared when the channel is deleted, if the Measurement Class is changed, or if all measurements are deleted from the channel. If the same channel number is recreated, this command must be sent again to sweep the channel during a calibration.  The flag is NOT saved with an instrument state.

A Preset or Instrument State Recall deletes the channel.

 VB Syntax

calMgr.AllowChannelToSweepDuringCalAcquisition (CalChan, SwpChan, State)

Variable

(Type) - Description

calMgr

(object) - A CalManager object

CalChan

(long) - Channel to be calibrated.

SwpChan

(long) - The channel to sweep when waiting to measure a standard.

This channel must already exist with at least one measurement in the channel. If this channel is in continuous sweep mode, it must have the same attenuator settings and path configuration (PNA-X only).

state

(Boolean) - Channel sweep state. Choose from:

True - Sweep the channel during calibration.

False - Do NOT sweep the channel during calibration.

Return Type

Not Applicable

Default

Not Applicable

Example

calMgr.AllowChannelToSweepDuringCalAcquisition 2,1,True

See example using this command

C++ Syntax

HRESULT AllowChannelToSweepDuringCalAcquisition ( long CalChannel, long SwpChannel, VARIANT_BOOL bVal);

Interface

ICalManager5