HP E1563A User Manual page 36

Table of Contents

Advertisement

Making Digitizer
Measurements
READINGS.C
Comments
36 Digitizer Application Information
This section provides three programs that demonstrate how to make digitizer
measurements and retrieve data. SCPI command sequences for each
program are contained in the boxes. The three programs are:
1. Use an IMMediate trigger to begin the sampling measurements on
two channels and retrieve the interleaved readings from FIFO
memory.
2. Use the internal level trigger to trigger off of an input ramp signal as
it crosses zero. This program takes pre-trigger readings as well as
post trigger readings.
3. Use an external trigger input at the D-connector "Trig" input to
trigger readings.
Use an IMMediate trigger to begin the sampling measurements on two
channels and retrieve the interleaved readings from FIFO memory.
SCPI COMMANDS IN THIS PROGRAM:
*RST
*CLS
VOLT1:RANG 4
VOLT2:RANG 4
SAMP:COUN 20
SAMP:PRET:COUN 10
INIT
DATA? 20,(@1,2)
Enter statement
Separate the interleaved readings and display them.
Resetting the module sets the data format to ASCII, sample source to
timer and trigger source to immediate.
reset the digitizer
clear the status system
set ch 1 to 4V range
set ch 2 to 4V range
set sample count to 20
(common to all channels)
set pre-trigger count to 10
(common to all channels)
initiate measurements
read 20 readings from chs 1 & 2
enter readings into the computer

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1564a

Table of Contents