Last Updated: August 29, 2007
These commands perform functions that control the test set's RF generator (source).
For more information on the conventions used in the programming examples click here.
Sets/queries the RF generator frequency.
The optional [:SELected] keyword in this command specifies that the RF generator frequency being set or queried applies to the currently selected application.
Setting Range: 380 to 2700 MHz
Query Range: 380 to 2700 MHz
Resolution: 1 Hz
*RST Setting: 800 MHz
Test Set Requirements: E6601A WCTS Program Version A.01 and above; A.05 changed lower frequency limit from 400 MHz to 380MHz
Example:
' Set the frequency of the source to 500 MHz.
TestSet.WriteString("RFGenerator:FREQuency 500MHZ")
Sets/queries the RF generator modulation mode. The following selections are available:
Amplitude modulation (AM)
Continuous wave (CW)
Double sideband suppressed carrier (DSBScarrier)
Frequency modulation (FM)
The optional [:SELected] keyword in this command specifies that the RF generator modulation mode being set or queried applies to the currently selected application.
Setting Range: AM | CW | DSBScarrier | FM
Query Range: AM | CW | DSBS | FM
*RST Setting: CW
Test Set Requirements: E6601A WCTS Program Version A.01 and above
Example:
' Set the modulation mode to amplitude modulation.
TestSet.WriteString("RFGenerator:MODulation:GENeral AM")
Sets/queries the RF generator AM depth. This setting only applies when the modulation mode is set to AM (see RFGenerator:MODulation[:SELected][?]).
The optional [:SELected] keyword in this command specifies that the RF generator AM depth being set or queried applies to the currently selected application.
Setting Range: 0 to 99.9 %
Query Range: 0 to 99.9 %
Resolution: 0.1 %
*RST Setting: 30 %
Test Set Requirements: E6601A WCTS Program Version A.01 and above
Example:
' Set the AM depth to 40.0 %.
TestSet.WriteString("RFGenerator:AM:DEPTh 40PCT")
Sets/queries the RF generator FM deviation. This setting only applies when the modulation mode is set to FM (see RFGenerator:MODulation[:SELected][?]).
Setting Range: 0 kHz to 100 kHz
Query Range: 0 kHz to 100 kHz
Resolution: 0.001 kHz
*RST Setting: 5 kHz
Test Set Requirements: E6601A WCTS Program Version A.01 and above
Example:
' Set the FM deviation to 10 kHz.
TestSet.WriteString("RFGenerator:MODulation:FM:DEViation 10KHZ")
Sets/queries the RF generator modulation frequency. This setting only applies when the modulation mode is set to AM, DSBScarrier, or FM (see RFGenerator:MODulation[:SELected][?]).
The optional [:SELected] keyword in this command specifies that the RF generator modulation frequency being set or queried applies to the currently selected application.
Setting Range: 0.1 kHz to 100 kHz
Query Range: 0.1 kHz to 100 kHz
Resolution: 0.001 kHz
*RST Setting: 1 kHz
Test Set Requirements: E6601A WCTS Program Version A.01 and above
Example:
' Set the modulation frequency of the source to 50 kHz.
TestSet.WriteString("RFGenerator:MODulation:FREQuency:GENeral 50KHZ")
Sets/queries the RF output port destination: RF IN/OUT (IO) or RF OUT ONLY (OUT).
Setting Range: IO | OUT
Query Range: IO | OUT
*RST Setting: IO
Test Set Requirements: E6601A WCTS Program Version A.01 and above
Example:
' Set the RF generator's output destination to the RF OUT ONLY port.
TestSet.WriteString("RFGenerator:OUTPut OUT")
The setting form of this command performs two functions: (1) sets the RF generator power level (see RFGenerator:POWer:AMPLitude[:SELected][?]) and (2) sets the RF generator power state to on (see RFGenerator:POWer:STATe[:SELected][?]).
The query form of these commands return the RF generator power level.
The optional [:SELected] keyword specifies that the setting or query applies to the currently selected application. The setting and query ranges may differ for other applications.
Setting Range: Depends on the output port:
RF IN/OUT: +50 to -180 dBm (-10 to -130 dBm actual hardware range with Amplitude Offset equal to 0 dB)
RF OUT ONLY: +50 to -180 dBm (0 to -120 dBm actual hardware range with Amplitude Offset equal to 0 dB)
Query Range: Depends on the output port:
RF IN/OUT: +50 to -180 dBm
RF OUT ONLY: +50 to -180 dBm
*RST Setting: -85 dBm
Test Set Requirements: E6601A WCTS Program Version A.01 and above
Example:
' Sets the RF generator power level to -110 dBm and turns the state to On.
TestSet.WriteString("RFGenerator:POWer -110DBM")
Sets/queries the RF generator power level.
The RF generator power level can also be set using the RFGenerator:POWer[:SAMPLitude]:GENeral[?] command.
The optional [:SELected] keyword specifies that the setting or query applies to the currently selected application. The setting and query ranges may differ for other applications.
Setting Range: Depends on the output port:
RF IN/OUT: +50 to -180 dBm (-10 to -130 dBm actual hardware range with Amplitude Offset equal to 0 dB)
RF OUT ONLY: +50 to -180 dBm (0 to -120 dBm actual hardware range with Amplitude Offset equal to 0 dB)
Query Range: Depends on the output port:
RF IN/OUT: +50 to -180 dBm
RF OUT ONLY: +50 to -180 dBm
*RST Setting: -85 dBm
Test Set Requirements: E6601A WCTS Program Version A.01 and above
Example:
' Sets the RF generator power level to -110 dBm.
TestSet.WriteString("RFGenerator:POWer:AMPLitude -110DBM")
Sets/queries the RF generator state.
The RF generator state can also be set to on using the RFGenerator:POWer[:SAMPLitude]:GENeral[?] command.
The optional [:SELected] keyword in this command specifies that the RF generator power level being set or queried applies to the currently selected application.
Setting Range: 0 | OFF | 1 | ON
Query Range: 0 | 1
*RST Setting: 1 | ON
Test Set Requirements: E6601A WCTS Program Version A.01 and above
Example:
' Set the RF generator state to Off.
TestSet.WriteString("RFGenerator:POWer:STATe OFF")
Returns a "1" only when the RF generator has settled according to the specified parameters (RFGenerator:SETTled:FREQuency[?], RFGenerator:SETTled:LEVel[?]). This feature is only available remotely.
Query Range: 1
Test Set Requirements: E6601A WCTS Program Version A.03 and above
Example:
' Return a 1 only when the RF generator has settled.
TestSet.WriteString("RFGenerator:SETTled?")
Sets/queries the RF generator settling target frequency. This feature is only available remotely.
Setting Range: THZ1 | HZ1 | HZ10 | HZ100 (0.1 Hz|1.0 Hz|10.0 Hz|100 Hz respectively)
Query Range: THZ1 | HZ1 | HZ10 | HZ100
*RST Setting: HZ100
Test Set Requirements: E6601A WCTS Program Version A.03 and above
Example:
' Set the RF generator settling target level to 10 Hz.
TestSet.WriteString("RFGenerator:SETTled:FREQuency HZ10")
Sets/queries the RF generator settling target level. This feature is only available remotely.
Setting Range: HDB1 | HDB2 | HDB5 | TDB1 (0.01 dB|0.02 dB|0.05 dB|0.1 dB respectively)
Query Range: HDB1 | HDB2 | HDB5 | TDB1
*RST Setting: HDB1
Test Set Requirements: E6601A WCTS Program Version A.03 and above
Example:
' Set the RF generator settling target level to 0.02 dB.
TestSet.WriteString("RFGenerator:SETTled:LEVel HDB2")