User`s guide
53220A/53230A User’s Guide 245
Formats and Data Flow 7
DATA:REMove? Example
// frequency meas of 500 kHz signal with uHz resolution
CONF:FREQ 500E3, 1E-6, (@1) // configure counter
TRIG:COUN 2 // set trigger count
SAMP:COUN 2500 // set readings/trigger
INIT:IMM // initiate counter to start readings
DATA:REM? 2500,WAIT // wait for-read first 2500 readings
DATA:REM? 2500,WAIT // wait for-read last 2500 readings
DATA:LAST? - returns the last reading taken and includes reading units
(Hz, s). The reading is not deleted from memory and the command can be sent
before the total reading count (TRIGger:COUNt x SAMPle:COUNt)is
reached.
DATA:LAST? Example
//frequency meas of 500 kHz signal with uHz resolution
CONF:FREQ 500E3, 1E-6, (@1) // configure counter
TRIG:COUN 1 // set trigger count
SAMP:COUN 100 // take 100 readings )
INIT:IMM // initiate counter to start rdgs
wait 20 seconds
DATA:LAST? // retrieve reading (with units) 20s after start
FETC? // fetch all rdgs from memory when complete
A typical response showing a subset of the data is:
+4.999962418998650E+005 HZ
...+4.999962370997962E+005,+4.999962418998650E+005,+4.9999
62407190446E+005,+4.999962443559675E+005,...
Querying the Reading Count
The total number of readings in memory at any given time can be determined
with the command: