:SENSe:FREQuency:STOP
Description
This command gets or sets the stop frequency of a sweep. If the stop frequency is altered, the center frequency the frequency span and the start frequency are changed accordingly.
If the specified parameter is out of the allowable setup range, the minimum value (if the lower limit of the range is not reached) or the maximum value (if the upper limit of the range is exceeded) is set.
Syntax
:SENSe<ch>:FREQuency:STOP
| Command | Query | Query Response |
|---|---|---|
| Yes | Yes | The stop frequency of the sweep in Hz. |
| Parameters | Accepted Format |
Allowed Suffixes |
Possible Errors |
Description |
|---|---|---|---|---|
{ <numeric> | MINimum | MAXimum } |
Range from Min. frequency to Max. frequency | Hz |
Numeric data error |
The frequency value, at which the sweep should stop. |
Note
MHZ is interpreted as Milli Hz (1E-3) and MAHZ is interpreted as Mega Hertz (1E6).
To learn more about channels and traces, please refer to the SCPI command structure
Presets
For presets please refer to Measurement Modes and Default Settings.
Sample Usage
Configure and start a sweep measurement with start frequency of 1kHz and stop frequency of 4MHz.
visaSession.write(':SENS:FREQ:STAR 1kHz\n')
visaSession.write(':SENS:FREQ:STOP 4MAHz\n')
visaSession.write(':TRIG:SING\n')
visaSession.query('*OPC?\n')
frequencyValues = visaSession.query(':SENS:FREQ:DATA?\n')
measurementValues = visaSession.query(':CALC:DATA:SDAT?\n')