PROGRAMMING YOUR PULSE GENERATOR
KEY PROGRAMMING COMMANDS
The “Programming Manual for -B Instruments” describes in detail how to connect the
pulse generator to your computer, and the programming commands themselves. A
large number of commands are available; however, normally you will only need a few of
these. Here is a basic sample sequence of commands that might be sent to the
instrument after power-up:
*rst
(resets the instrument)
trigger:source internal
(selects internal triggering)
frequency 1000 Hz
(sets the frequency to 1000 Hz)
pulse:width1 1 us
(sets the channel 1 pulse width to 1 us)
pulse:width2 150 ns
(sets the channel 2 pulse width to 150 ns)
pulse:delay 1 us
(sets the inter-channel delay to 1 us)
volt:ampl1 250
(sets the channel 1 amplitude to 250 V)
volt:ampl2 +35
(sets the channel 2 amplitude to 35 V)
output on
(turns on the output)
For triggering a single event, this sequence would be more appropriate:
*rst
(resets the instrument)
trigger:source hold
(turns off all triggering)
pulse:width1 1 us
(sets the channel 1 pulse width to 1 us)
pulse:width2 150 ns
(sets the channel 2 pulse width to 150 ns)
pulse:delay 1 us
(sets the inter-channel delay to 1 us)
output on
(turns on the output)
volt:ampl1 250
(sets the channel 1 amplitude to 250 V)
volt:ampl2 +35
(sets the channel 2 amplitude to 35 V)
trigger:source immediate (generates a single non-repetitive trigger event)
trigger:source hold
(turns off all triggering)
output off
(turns off the output)
To set the instrument to trigger from an external TTL signal applied to the rear-panel
TRIg connector, use:
*rst
(resets the instrument)
trigger:source external
(selects internal triggering)
pulse:width1 1 us
(sets the channel 1 pulse width to 1 us)
pulse:width2 150 ns
(sets the channel 2 pulse width to 150 ns)
pulse:delay 1 us
(sets the inter-channel delay to 1 us)
volt:ampl1 250
(sets the channel 1 amplitude to 250 V)
volt:ampl2 +35
(sets the channel 2 amplitude to 35 V)
output on
(turns on the output)
36