Write-only |
About Source Power Cal |
Description |
This command replaces SetCalInfo2 Method. Specifies the channel and the source port to be used for the source power calibration about to be performed. |
VB Syntax |
powerCalibrator.SetCalInfoEx channel, srcPort, [powerOffset,] [display] |
Variable |
(Type) - Description |
powerCalibrator |
(object) - A SourcePowerCalibrator object |
channel |
(long integer) - Number of the PNA channel (not power meter channel) on which the source power cal will be performed. If the channel does not already exist, it will be created. |
srcPort |
(long integer) - Port number on which the source power cal will be performed. Note: If the port is defined by a string name, such as an external source, a balanced port, or one of the Source 2 outputs on the 2-port 2-source PNA-x model, then you must use chan.getPortNumber to translate the string into a port number. To learn more see Remotely Specifying a Source Port. |
[powerOffset] |
(double) - Optional argument. Sets or returns a power level offset from the PNA test port power. This can be a gain or loss value (in dB) to account for components you connect between the source and the reference plane of your measurement. For example, specify 10 dB to account for a 10 dB amplifier at the input of your DUT. Following the calibration, the PNA power readouts are adjusted by this value. This argument performs the same function as chan.SourcePowerCalPowerOffset Property |
[display] |
(boolean) Optional argument. Enables and disables the display of power readings on the PNA screen. After the source power cal data is acquired, this setting is reset to ON. If unspecified, value is set to ON. True - Display of power readings is ON False - Display of power readings is OFF |
Return Type |
None |
Default |
Not Applicable |
Examples |
powerCalibrator.SetCalInfoEx 1, 1, -10, True |
C++ Syntax |
HRESULT SetCalInfoEx( long Channel, long SourcePort, double PowerOffset = 0., VARIANT_BOOL bDisplay = VARIANT_TRUE); |
Interface |
ISourcePowerCalibrator4 |