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

Using MEASure

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.

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)

20OUTPUT 70905;"*RST;*CLS;*OPC?"

30ENTER 70905;Ready

40OUTPUT 70905;"MEAS1:ARR:VOLT? (10),5,(@3)"

50ENTER 70905;Readings(*)

60PRINT Readings(*)

70END

Chapter 1

Getting Started 37

Page 37
Image 37
HP E1429A manual Using MEASure, Configuring the Channels, How to Make Measurements