Trigger source (TRIG:SOUR) is set for an external trigger. A trigger count (TRIG:COUN) of 3 is set; the multimeter will accept three external triggers.

The sample count (SAMP:COUN) is set for 10 samples per trigger.

The INITiate command puts the multimeter in the wait-for-trigger state. The trigger source is an “ EXTernal” hardware trigger. You provide this trigger and input it on the “Ext Trig” BNC connector which initiates the measurement process. This will cause the multimeter to make

30 measurements; 10 samples for each of three triggers.

The FETCh? command causes the readings to be transferred to the output buffer and you must provide the I/O construct to retrieve the readings and enter them into the computer.

MEASURE3 Source Code File

Maximizing Measurement Speed (no trigger delay, short integration time)

*RST

Reset the multimeter.

CONF:VOLT:DC 18

Configure for dc volts, expected input = 18V.

CAL:ZERO:AUTO OFF Turn off autozero (makes faster measurements).

TRIG:SOUR IMM

Set the trigger source to immediate.

TRIG:COUN 3

Set trigger count to 3.

SAMP:COUN 10

Set sample count to 10.

INIT

INITiate command puts multimeter in

 

wait-for-trigger state; internal trigger immediately

 

occurs here and measurements are stored in the

FETC?

multimeter’s internal memory.

Transfer measurements from the multimeter’s

 

internal memory to the output buffer and retrieve

 

them with the computer.

enter statement

Enter reading into computer.

Comments The CONFigure command configures the multimeter for the function specified. This CONFigure command specifies a range parameter of 18 (expected input is 18V; the multimeter sets a range to accommodate that input which will be 100V). It does not initiate the measurement.

The autozero function is disabled to speed up the measurement process. See the CALibrate:ZERO:AUTO command in the Command Reference for more information.

Trigger source (TRIG:SOUR) is set for immediate internal triggers. A trigger count (TRIG:COUN) of 3 is set; the multimeter will accept three triggers.

The sample count (SAMP:COUN) is set for 10 samples per trigger.

The INITiate command puts the multimeter in the wait-for-trigger state. The trigger source is “ IMMediate” which specifies the internal trigger source. This trigger occurs immediately and causes the measurement process to begin. This will cause the multimeter to make 30 measurements; 10 samples for each of three internal triggers.

The FETCh? command causes the readings to be transferred to the output buffer and you must provide the I/O construct to retrieve the readings and enter them into the computer.

Chapter 2

HP E1312A/E1412A Multimeter Application Information 55

Page 55
Image 55
HP WaterSkis E1412A, WaterSkis E1312A manual MEASURE3 Source Code File, Init