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.999962418005
HZ
...+4.999962370005,
+4.999962418005
,+4.9999
62407005,+4.999962443005,...
Querying the Reading Count
The total number of readings in memory at any given time can be determined
with the command:
Summary of Contents for 53220A
Page 10: ...10 53220A 53230A User s Guide Contents...
Page 34: ...34 53220A 53230A User s Guide 1 Preparation for Use...
Page 142: ...142 53220A 53230A User s Guide 4 53220A 53230A Input Signal Conditioning...
Page 190: ...190 53220A 53230A User s Guide 5 Triggering and Gating...
Page 268: ...268 53220A 53230A User s Guide 8 Instrument Status Figure 8 1 The 53220A 53230A Status System...
Page 274: ...274 53220A 53230A User s Guide 8 Instrument Status...
Page 288: ...288 53220A 53230A User s Guide A 53220A 53230A Error Messages...