See SourcePowerCalData Interface for putting and getting typed source power calibration data.
The channel object is like the engine that produces data. Channel settings consist of stimulus values like frequency, power, IF bandwidth, and number of points.
You can get a handle to a channel in a number of ways. But first you have to make sure that the channel exists. When you first startup the analyzer, there is one S11 measurement on channel 1. Thus there is only one channel in existence. You can do the following:
Dim app As AgilentPNA835x.Application
Set app = CreateObject("AgilentPNA835x.Application", <analyzerName>)
Dim chan As IChannel
Set chan = app.ActiveChannel
or
Set chan = app.Channels(2)
The first method returns the channel object that is driving the active measurement. If there is no measurement, there may not be a channel. Once a channel is created, it does not go away. So if there once was a measurement (hence a channel), the channel will still be available.
If there is no channel you can create one in a couple ways. You can do the following:
Pna.CreateMeasurement( ch1, "S11", port1, window2)
or
Pna.Channels.Add(2)
The latter will have no visible effect on the analyzer. It will simply create channel 2 if it does not already exist.
See Also:
(Bold Methods or Properties provide access to a child object)
Methods |
Interface |
Description |
---|---|---|
IChannel |
Aborts the current measurement sweep on the channel. |
|
IChannel11 |
Copies an existing Source Power Calibration to another channel. |
|
IChannel |
Clears and restarts averaging of the measurement data. |
|
IChannel |
The channel continuously responds to trigger signals. |
|
IChannel2 |
Sets up another channel as a copy of this objects channel. |
|
IChannel25 |
Sets the frequency span to the entire frequency range of the analyzer. |
|
IChannel17 |
Returns a handle to a Converter object. |
|
IChannel8 |
Returns the channel error correction state. |
|
IChannel4 |
Returns the number of groups a channel has yet to acquire. |
|
IChannel13 |
Returns the port number for the specified string port name. |
|
IChannel17 |
Returns a handle to a RxLevelingConfiguration object |
|
IChannel |
Superseded with Get SourcePowerCalDataEx |
|
IChannel4 |
Returns requested source power calibration data, if it exists. |
|
IChannel10 |
Returns a list of supported ALC modes |
|
IChannel |
Returns the channel's X-axis values into a dimensioned Variant array. |
|
IChannel |
Returns the channel's X-axis values into a dimensioned NON-Variant array. |
|
IChannel |
Puts the Channel in Hold - not sweeping. |
|
IChannel |
A function that returns the Next higher IF Bandwidth value. |
|
IChannel |
Sets the Number of trigger signals the channel will receive. |
|
IChannel |
Resets the channel to factory defined settings. |
|
IChannel |
Returns the previous IF Bandwidth value. |
|
IChannel |
Superseded with Put SourcePowerCalDataEx Method |
|
IChannel4 |
Inputs source power calibration data to this channel for a specific source port. |
|
IChannel |
Specifies the Cal Set to use for the Channel |
|
IChannel |
Channel responds to one trigger signal from any source (internal, external, or manual). Then channel switches to Hold. |
|
IChannel24 |
Unselects a Cal Set from the specified channel. |
|
Properties |
Interface |
Description |
IChannel10 |
Set or return the ALC leveling mode. |
|
IChannel |
Sets sweeps to either alternate or chopped. |
|
IChannel |
Sets or returns the value of the attenuator control for the specified port number. |
|
IChannel |
Sets or returns the mode of operation of the attenuator control for the specified port number. |
|
IChannel10 |
Provides access to Auxiliary Triggering |
|
IChannel |
Turns trace averaging ON or OFF for all measurements on the channel. |
|
IChannel |
Returns the number of sweeps that have been averaged into the measurements. |
|
IChannel |
Specifies the number of measurement sweeps to combine for an average. |
|
IChannel16 |
Sets Point or Sweep averaging. |
|
IChannel6 |
Provides access to the topology of a balanced DUT. |
|
IChannel4 |
Provides access to Unguided calibration. |
|
IChannel7 |
Provides access to the contents of a Cal Set |
|
IChannel |
Sets or returns the center frequency of the channel. Shared with the Segment Object |
|
IChannel25 |
Sets and reads the center frequency step size of the analyzer. |
|
IChannel25 |
Sets and reads how the center frequency step size is determined. |
|
IChannel |
Returns the Channel number. Shared with the Measurement Object |
|
IChannel21 |
Provides access to a mixer/converter object. |
|
IChannel21 |
Provides access to channel correction properties. |
|
IChannel5 |
Turns ON and OFF Time Domain Trace Coupling. |
|
IChannel |
Turns ON and OFF port power coupling. |
|
IChannel12 |
Provides access to custom application objects. |
|
IChannel |
Set the Continuous Wave (CW) frequency. |
|
IChannel23 |
Provides access to the DCStimulus object. |
|
IChannel22 |
Returns the roles for which sources can be used for the channel. |
|
IChannel |
Sets or returns the dwell time for the channel. Shared with the Segment Object |
|
IChannel7 |
Attempts to sets error correction ON or OFF for all of the measurements on the channel. |
|
IChannel6 |
Sets or returns the external trigger delay value for the channel. |
|
IChannel16 |
Enables Fast CW sweep and sets the number of data points for the channel. |
|
IChannel6 |
Provides access to Port Ext, Embedding, and De-embedding functions. |
|
IChannel9 |
Provides access to Frequency Offset Measurements |
|
IChannel2 |
|
|
IChannel2 |
|
|
IChannel2 |
||
IChannel2 |
|
|
IChannel2 |
|
|
IChannel |
Sets or returns the frequency span of the channel. Shared with the Segment Object. |
|
IChannel24 |
Sets the frequency step size across the selected frequency range. |
|
IChannel |
Sets or returns the IF Bandwidth of the channel. Shared with the Segment Object. |
|
IChannel4 |
Provides access to the IF gain and source path settings for the H11 Option. |
|
IChannel19 |
Returns whether or not a channel is blocked from sweeping. |
|
IChannel4 |
Returns whether or not a channel is in continuous mode. |
|
IChannel4 |
Returns whether or not a channel is in hold mode. |
|
IChannel26 |
Enables low frequency extension (LFE). |
|
IChannel15 |
Returns the measurement class name. |
|
IChannel27 |
Provides access to the MultiDimensionalSweep Object. |
|
IChannel |
Sets or returns the Number of Points of the channel. Shared with the Segment Object. |
|
IChannel |
Returns a handle to the parent object of the channel. |
|
IChannel10 |
Provides access to path configuration switches and setting. |
|
IChannel10 |
Provides access to path configuration file management. |
|
IChannel21 |
Provides access to the PhaseControl object. |
|
IChannel16 |
Turns point sweep ON or OFF for all measurements on the channel. |
|
IChannel |
Sets or returns the Power Slope value. |
|
IChannel18 |
Turns power slope ON or OFF |
|
IChannel10 |
Provides access to pulse generator configuration. |
|
IChannel23 |
Returns the ID for the specified Pulse Generator name. |
|
IChannel23 |
Returns a list of configured Pulse Generator names. |
|
IChannel20 |
Provides access to pulse measurement settings. |
|
IChannel2 |
Throws internal reference switch. |
|
IChannel |
Sets or returns the value of the specified receiver attenuator control. |
|
IChannel5 |
Sets or returns the state of the Reduced IF Bandwidth at Low Frequencies setting. |
|
IChannel22 |
Sets and returns the source to be used in the specified role. |
|
IChannel21 |
Provides access to the ReceiverLeveling Object |
|
IChannel |
Provides access to the Collection for iterating through the sweep segments of a channel. |
|
IChannel10 |
Provides access to the SignalProcessingModuleFour object. |
|
IChannel13 |
Returns the number of source ports. |
|
IChannel27 |
Set and read the fixed frequency value for a specific port. |
|
IChannel9 |
Sets the state of the VNA sources. (AUTO | ON | OFF) |
|
IChannel13 |
Returns the string names of source ports. |
|
IChannel27 |
Set and read the start frequency value for a specific port. |
|
IChannel27 |
Set and read the stop frequency value for a specific port. |
|
IChannel4 |
Sets or returns a power level offset from the VNA test port power. |
|
IChannel |
Turns source power correction ON or OFF for a specific source port. |
|
IChannel |
Sets or returns the start frequency of the channel. Shared with the Segment Object |
|
IChannel |
Sets the start power of the analyzer when sweep type is set to Power Sweep. |
|
IChannel13 |
Sets and reads the power sweep start power value for a specific port. |
|
IChannel |
Sets or returns the stop frequency of the channel. Shared with the Segment Object |
|
IChannel |
Sets the Stop Power of the analyzer when sweep type is set to Power Sweep. |
|
IChannel13 |
Sets and reads the power sweep stop power value for a specific port. |
|
IChannel19 |
Sets the time to wait just before acquisition begins for each sweep. |
|
IChannel |
Sets the method used to generate a sweep: continuous ramp (analog) or discrete steps (stepped). |
|
IChannel14 |
Set or returns the sweep speed mode. |
|
IChannel |
Sets the Sweep time of the analyzer. |
|
IChannel |
Sets the type of X-axis sweep that is performed on a channel. |
|
IChannel |
Sets or returns the RF power level for the channel. Shared with the Segment Object |
|
IChannel |
Determines the measurement that occurs when a trigger signal is sent to the channel. |
|
IChannel |
Superseded - Use meas.UserRangeMax Sets the stimulus stop value for the specified User Range. |
|
IChannel |
Superseded - Use meas.UserRangeMin Sets the stimulus start value for the specified User Range. |
|
IChannel |
Sets X-Axis point spacing for the active channel. |
Interface |
Introduced with VNA Rev: |
IChannel |
1.0 |
IChannel2 |
3.0 |
IChannel3 |
4.0 |
IChannel4 |
4.0 |
IChannel5 |
4.2 |
IChannel6 |
5.0 |
IChannel7 |
5.2 |
IChannel8 |
6.0 |
IChannel9 |
7.0 |
IChannel10 |
7.2 |
IChannel11 |
7.5 |
IChannel12 |
8.0 |
IChannel13 |
8.2 |
IChannel14 |
8.33 |
IChannel15 |
8.33 |
IChannel16 |
8.35 |
IChannel17 |
8.55 |
IChannel19 |
9.20 |
IChannel20 |
9.20 |
IChannel21 |
9.30 |
IChannel22 |
9.42 |
IChannel23 |
9.50 |
IChannel24 |
10.40 |
IChannel25 |
10.45 |
IChannel26 |
12.80 |
IChannel27 |
13.25 |
Contains methods for putting source power calibration data in and getting source power calibration data out of the analyzer using typed data. The methods in this interface transfer data more efficiently than methods that use variant data. However, this interfaces is only usable from VB6, C, & C++. All other programming languages must use the methods on the Channel Object.
Note: Interface ISourcePowerCalData is abbreviated as ISPCD in the following table.
Methods |
Interface |
Description |
---|---|---|
ISPCD |
Superseded - use PutSourcePowerCalDataScalarEx Method |
|
ISPCD2 |
Returns requested source power calibration data, if it exists. |
|
ISPCD |
Superseded - use PutSourcePowerCalDataEx Method |
|
ISPCD2 |
Inputs source power calibration data to a channel, for a specific source port. |
|
Properties |
Description |
|
None |
|
|
Interface |
Introduced with VNA Rev: |
ISourcePowerCalData |
2.0 |
ISourcePowerCalData2 |
4.0 |