EasyManua.ls Logo

Keysight 53230A - Page 254

Keysight 53230A
303 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7Formats and Data Flow
254 Keysight 53220A/53230A User’s Guide
R? 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
wait 2500 seconds
R? 2500 // read and remove first 2500 readings
wait 2500 seconds
R? // read and remove all remaining readings
DATA:REMove? <count>[,WAIT] - is used following
INITiate:IMMediate.Transfers count number of readings to the output buffer
and erases the readings in reading memory. Unlike FETCh?, DATA:REMove? can
be used to transfer readings before the total reading count is reached
(TRIGger:COUNt x SAMPle:COUNt) to prevent a memory overflow. However,
count is a required parameter and, therefore, count number of readings must be
available before they can be removed. Including WAIT will cause the command to
wait until count readings are available. This will prevent error -222, “Data Out
of Range” from occurring if the specified count is not available.
If the data format is REAL (FORMat subsystem), the readings are transferred in
Definite-Length Block format (Table 7-1). The ‘oldest’ reading is transferred first
(first in - first out).
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

Table of Contents

Other manuals for Keysight 53230A

Related product manuals