Measurement Queries H-5
Examples
One-shot reading, DC volts, no trigger, fastest rate
*RST
:INITiate:CONTinuous OFF;:ABORt
:SENSe:FUNCtion ‘VOLTage:DC’
:SENSe:VOLTage:DC:RANGe 10 // Use fixed range for fastest readings.
:SENSe:VOLTage:DC:NPLC 0.01 // Use lowest NPLC setting for fastest readings.
:DISPlay:ENABle OFF // Turn off display to increase speed.
:SYSTem:AZERo:STATe OFF // Disable autozero to increase speed, but may cause
// drift over time.
:SENSe:VOLTage:DC:LPASs OFF // Turn off analog filter for speed.
:SENSe:VOLTage:DC:DFILter OFF // Turn off digital filter for speed.
:TRIGger:COUNt 1
:READ?
(Enter reading)
One-shot reading, DC volts, bus trigger, auto ranging
*RST
:INITiate:CONTinuous OFF;:ABORt
:TRIGger:SOURce BUS
:SENSe:FUNCtion ‘VOLTage:DC’
:SENSe:VOLTage:DC:RANGe:AUTO ON
:TRIGger:COUNt 1
:INITiate
*TRG -or- GPIB GET command // Triggers reading.
:SENSe:DATA:FRESh?
(Enter reading)
One-shot reading, external trigger, auto delay enabled
*RST
:INITiate:CONTinuous OFF;:ABORt
:TRIGger:SOURce EXTernal
:TRIGger:DELay:AUTO ON // Note: Auto trigger delay only takes effect with
// trigger source set for BUS or EXTernal.
:SENSe:FUNCtion ‘VOLTage:DC’
:SENSe:VOLTage:DC:RANGe:AUTO ON
:INITiate
(external trigger)
:SENSe:DATA:FRESh?
(Enter reading) // This step will time out if the trigger hasn’t occurred.