:SENSe:SWEep:POINts
Description
This command gets or sets the number of measurement frequency points.
| Syntax | Parameter |
|---|---|
:SENSe<ch>:SWEep:POINts |
<numeric> |
| Parameters | accepted format | allowed suffixes | possible Errors | description |
|---|---|---|---|---|
<ch> |
{ 1 | empty } |
none |
Invalid channel index |
Currently only one channel is supported. Empty means 1 is used as default. |
{ <numeric> | MINimum | MAXimum } |
Range from 1 to Max. points |
none |
Numeric data error |
The number of measurement frequency points. |
Presets
For presets please refer to Measurement Modes.
Sample usage
Configure and start a sweep measurement from 10kHz to 20kHz with 500 steps.
var visaSession = new TcpipSocket(VISA_RESOURCENAME); visaSession.RawIO.Write(":SENS:FREQ:STAR 10kHz;STOP 20kHz\n"); visaSession.RawIO.Write(":SENS:SWE:POIN 500\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 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)
NumberOfPoints (Gain)
NumberOfPoints (OnePort)
NumberOfPoints (S11)
NumberOfPoints (S21)
NumberOfPoints (SeriesThru)
NumberOfPoints (ShuntThru)