HP E1563A User Manual page 37

Table of Contents

Advertisement

RAMP.C
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.
SCPI COMMANDS IN THIS PROGRAM:
*RST
*CLS
VOLT1:RANG 4
SAMP:COUN 7
SAMP:PRET:COUN 3
SAMP:TIM 50e-6
TRIG:SOUR INT1
TRIG:LEV1 0
TRIG:SLOP POS
INIT
DATA? 7,(@1)
Enter statement
Display the readings.
Comments
EXT_TRIG.C
Use an external trigger input at the D-connector "Trig" input to trigger
readings.
SCPI COMMANDS IN THIS PROGRAM:
*RST
*CLS
VOLT1:RANG 4
SAMP:COUN 7
SAMP:PRET:COUN 3
SAMP:TIM 100e-6
TRIG:SOUR EXT
TRIG:LEV1 0.5
TRIG:SLOP POS
INIT
DATA? 7,(@1)
Enter statement
Display the readings.
Resetting the module sets the data format to ASCii, sample source to
TIMer and trigger source to IMMediate. The sample interval and the
trigger source are changed from the reset setting.
Resetting the module also sets the trigger level to 0V and the trigger
slope to positive. Trigger level and slope commands are resent to
reiterate the level and slope of the trigger. In this case, these
commands are redundant.
reset the digitizer
clear the status system
set ch 1 to 4V range
set sample count to 7
(common to all channels)
set pre-trigger count to 3
(common to all channels)
set sample interval to 50 µS
set trigger source to a level on
channel 1
set the trigger level to 0V
set trigger slope to positive
initiate measurements
read 7 readings from ch 1
enter readings into the computer
reset the digitizer
clear the status system
set ch 1 to 4V range
set sample count to 7
(common to all channels)
set pre-trigger count to 3
(common to all channels)
set sample interval to 100 µS
set trigger source to EXTernal
(requires an external input to the
"Trig" pin on the front panel
D-connector)
set the trigger level to 0.5V
set trigger slope to positive
initiate measurements
read 7 readings from ch 1
enter readings into the computer
Digitizer Application Information
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1564a

Table of Contents