:SENSe:FREQuency:STARt
Description
This command gets or sets the start frequency of a sweep. If the start frequency is altered, the center frequency and the frequency span are changed accordingly.
Syntax | Parameter |
---|---|
:SENSe<ch>:FREQuency:STARt |
<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 |
none |
The frequency value, at which the sweep should start. |
Note
MHZ
is interpreted as Milli Hz
(1E-3) and MAHZ
is interpreted as Mega Hertz
(1E6).
Presets
default value | |
---|---|
<numeric > |
10kHz |
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
ConfigureSweep(Double, Double, Int32, SweepMode) (Gain)
ConfigureSweep(Double, Double, Int32, SweepMode) (OnePort)
ConfigureSweep(Double, Double, Int32, SweepMode) (S11)
ConfigureSweep(Double, Double, Int32, SweepMode) (S21)
ConfigureSweep(Double, Double, Int32, SweepMode) (SeriesThru)
ConfigureSweep(Double, Double, Int32, SweepMode) (ShuntThru)
StartFrequency (Gain)
StartFrequency (OnePort)
StartFrequency (S11)
StartFrequency (S21)
StartFrequency (SeriesThru)
StartFrequency (ShuntThru)