HP (Hewlett-Packard) B Network Router User Manual


 
Configuring the
Channels
Digitizer channels 1 and 2 share the digitizer’s arming and triggering
circuitry and memory. Thus, the arming and triggering configuration and
the number of readings set for one channel applies to the other channel as
well. When the digitizer is armed and triggered, both channels sample and
store their readings in memory simultaneously.
How to Make
Measurements
This section explains when to use MEASure or CONFigure to configure the
digitizer. It also shows you how to make measurements when the
configuration has been modified with lower-level commands.
Using MEASure MEASure is used in applications where the digitizer parameters set by the
command are acceptable, and the data is to be retrieved immediately after
the readings are taken. MEASure is equivalent to executing the command
sequence:
ABORt;:CONFigure;:INITiate:IMMediate;:FETCh?
The following programs execute the MEASure command as shown below:
MEAS1:ARR:VOLT? (10),5,(@3)
MEASure configures the digitizer as follows:
channel: 1
number of readings: 10
expected value: 5V
input port: 3
The remainder of the digitizer parameters are set as indicated in Table 1-3.
Because the readings are taken immediately, variations to the digitizer
configuration are limited to the parameters within the MEASure command
(number of readings, expected value, resolution, input port).
HP BASIC
10 DIM Readings(1:10)
20 OUTPUT 70905;"*RST;*CLS;*OPC?"
30 ENTER 70905;Ready
40 OUTPUT 70905;"MEAS1:ARR:VOLT? (10),5,(@3)"
50 ENTER 70905;Readings(*)
60 PRINT Readings(*)
70 END
Chapter 1 Getting Started 37