Example Program - Agilent Technologies 54621A Programmer's Manual

Mixed-signal oscilloscopes
Hide thumbs Also See for 54621A:
Table of Contents

Advertisement

10
CLEAR 707
20
OUTPUT 707;"*RST"
30
OUTPUT 707;":TIMEBASE:RANGE 5E-4"
40
OUTPUT 707;":TIMEBASE:DELAY 0"
50
OUTPUT 707;":TIMEBASE:REFERENCE CENTER" ! Display reference at center
60
OUTPUT 707;":CHANNEL1:PROBE 10"
70
OUTPUT 707;":CHANNEL1:RANGE 1.6"
80
OUTPUT 707;":CHANNEL1:OFFSET -.4"
90
OUTPUT 707;":CHANNEL1:COUPLING DC"
100 OUTPUT 707;":TRIGGER:SWEEP NORMAL"
110 OUTPUT 707;":TRIGGER:LEVEL -.4"
120 OUTPUT 707;":TRIGGER:SLOPE POSITIVE"
130 OUTPUT 707;":ACQUIRE:TYPE NORMAL"
140 END
Programming Getting Started

Example Program

Example Program
This program demonstrates the basic command structure used to program the
oscilloscope.
• Line 10 initializes the instrument interface to a known state.
• Line 20 initializes the instrument to a preset state.
• Lines 30 through 50 set the time base mode to normal with the horizontal
time at 50 ms/div with 0 s of delay referenced at the center of the graticule.
• Lines 60 through 90 set the vertical range to 1.6 volts full scale with center
screen at -0.4 volts with 10:1 probe attenuation and DC coupling.
• Lines 100 through 120 configure the instrument to trigger at -0.4 volts with
normal triggering.
• Line 130 configures the instrument for normal acquisition.
2-6
! Initialize instrument interface
! Initialize to preset state
! Time base to 50 us/div
! Delay to zero
! Probe attenuation to 10:1
! Vertical range to 1.6 V full scale
! Offset to -0.4
! Coupling to DC
! Normal triggering
! Trigger level to -0.4
! Trigger on positive slope
! Normal acquisition

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

54624a54622a54641a54621d54622d54641d ... Show all

Table of Contents