:SENSe:FREQuency:STOP
Description
This command gets or sets the stop frequency of a sweep. If the stop frequency is altered, the center frequency and the frequency span are changed accordingly.
Syntax | Parameter |
---|---|
:SENSe<ch>:FREQuency:STOP |
<numeric > |
Parameters | accepted format | allowed suffixes | possible Errors | description |
---|---|---|---|---|
<ch > |
{ 1 | empty } |
none |
Undefined header |
Currently only one channel is supported. Empty means 1 is used as default. |
<numeric > |
numeric value | Hz |
NotANumber |
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).
Presets
default value | |
---|---|
<numeric > |
50kHz |
Sample Usage
Configure and start a sweep measurement with start frequency of 1kHz
and stop frequency of 4MHz
.
Input:
var visaSession = new TcpipSocket(VISA_RESOURCENAME);
visaSession.RawIO.Write(":SENS:FREQ:STAR 1kHz\n");
visaSession.RawIO.Write(":SENS:FREQ:STOP 4MAHz\n");
visaSession.RawIO.Write(":TRIG:SING\n");
// wait for the measurement to finish
visaSession.RawIO.Write("*OPC?\n");
visaSession.RawIO.ReadString();
visaSession.RawIO.Write(":SENS:FREQ:DATA?\n");
var frequencyValues = visaSession.RawIO.ReadString();
visaSession.RawIO.Write(":CALC:DATA:SDAT?\n");
var measurementValues = visaSession.RawIO.ReadString();
Related commands
Related commands in the Automation Interface
Configure
Configure
Configure
Configure
Configure
Configure
Stop
Stop
Stop
Stop
Stop
Stop