EasyManua.ls Logo

Keysight 53210A - Page 198

Keysight 53210A
247 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
198 Keysight 53210A 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).

Table of Contents

Related product manuals