Programming Getting Started
Autoscale
Autoscale
The :AUToscale feature performs a very useful function on unknown
waveforms by setting up the instrument logic thresholds, initial channel
settings, and time base.
The syntax for the autoscale function is:
:AUTOSCALE<terminator>
Setting up the instrument
A typical logic analyzer setup would set the threshold voltages, turn on the
appropriate channels, and set up the sweep speed, delay time, trigger mode,
trigger type, and trigger specification. An example of the commands sent to
the logic analyzer is as follows:
:LCHANNEL:THRESHOLD LCHAN0_7, TTL<terminator>
:LCHANNEL:THRESHOLD LCHAN8_15, ECL<terminator>
:BLANK LCHANNEL7<terminator>
:BLANK LCHANNEL12<terminator>
:BLANK LCHANNEL13<terminator>
:TIMEBASE:RANGE 100US;REFERENCE CENTER;DELAY 1.5US<terminator>
:TRIGGER:TYPE EDGE;EDGE LCHANNEL3,FALLING<terminator>
:TRIGGER:MODE NORMAL<terminator>
This example sets channels 0 through 7 to TTL thresholds, sets channels 8
through 15 to CMOS thresholds, and turns off channels 7, 12, and 13 (the
:BLANk command). It sets the sweep speed to 100 µs/div, with time
reference at center and positive delay of 1.5 µs. Finally, it sets the trigger
mode to normal with an edge trigger on the falling edge of channel 3.
24