:SENSe:SWEep:TYPE 
Description
This commands sets the sweep type to LINEAR or LOGARITHMIC. The calculation for the measurement frequency points is based on this selection.
| Syntax | Parameter | 
|---|---|
:SENSe<ch>:SWEep:TYPE | 
{ LINear | LOGarithmic } | 
| 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. | 
{ LINear | LOGarithmic } | 
exactly the given options | none | 
Illegal parameter value | 
The sweep mode | 
Options
| Options | Description | 
|---|---|
LINear | 
The distance between measurement frequencies is linear. | 
LOGarithmic | 
The distance between measurement frequencies is logarithmic. | 
Presets
| default value | |
|---|---|
{ LINear | LOGarithmic } | 
LINear | 
Sample usage
Configure and start a logarithmic sweep measurement from 7.5kHz to 12.5kHz.
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":SENS:FREQ:STAR 7.5kHz;STOP 12.5kHz\n"); visaSession.RawIO.Write(":SENS:SWE:TYPE LOG\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
SweepMode (Gain)
SweepMode (OnePort)
SweepMode (S11)
SweepMode (S21)
SweepMode (SeriesThru)
SweepMode (ShuntThru)