
36
Digitizer Application Information
Making Digitizer
Measurements
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.
READINGS.C
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
reset the digitizer
*CLS
clear the status system
VOLT1:RANG 4
set ch 1 to 4V range
VOLT2:RANG 4
set ch 2 to 4V range
SAMP:COUN 20
set sample count to 20
(common to all channels)
SAMP:PRET:COUN 10
set pre-trigger count to 10
(common to all channels)
INIT
initiate measurements
DATA? 20,(@1,2)
read 20 readings from chs 1 & 2
Enter statement
enter readings into the computer
Separate the interleaved readings and display them.
Comments
•
Resetting the module sets the data format to ASCII, sample source to
timer and trigger source to immediate.
Summary of Contents for E1563A
Page 8: ......
Page 24: ...24 Digitizer Module Set up ...
Page 84: ...84 Digitizer Command Reference ...
Page 110: ...110 ...
Page 138: ...138 HP E1563A and E1564A Register Based Programming Appendix B ...
Page 156: ...156 HP E1563A and E1564A Verification Tests ...