:SENSe:SWEep:DWELl
Description
This command gets or sets the dwell (DUT settling time) of the sweep. The DUT settling time is the time between applying an input to the DUT and measuring the data. So at each measurement point (each measurement frequency) input is applied, dwell time is waited and afterwards the measurement data is retrieved.
Syntax | Parameter |
---|---|
:SENSe<ch>:SWEep:DWELl |
<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 0s to 60s |
s |
Numeric data error |
The dwell or DUT settling time in s (seconds). |
Presets
For presets please refer to Measurement Modes.
Sample usage
Configure and start a sweep measurement with a dwell of 1 second.
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(":SENS:SWE:DWEL 1\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
DutSettlingTime (Gain)
DutSettlingTime (OnePort)
DutSettlingTime (S11)
DutSettlingTime (S21)
DutSettlingTime (SeriesThru)
DutSettlingTime (ShuntThru)