CONFigure
Example
The following program segment shows how to use the
READ?
command
with
CONFigure
to make an externally-triggered measurement.
The program configures the multimeter for dc voltage measurements.
CONFigure
does not place the multimeter in the “wait-for-trigger” state.
The
READ?
command places the multimeter in the “wait-for-trigger”
state, takes a reading when the
Ext Trig
terminal is pulsed, and sends
the reading to the output buffer.
CONF:VOLT:DC 10, 0.003
TRIG:SOUR EXT
READ?
bus enter statement
CONFigure
Example
The following program segment is similar to the program above but it
uses
INITiate
to place the multimeter in the “wait-for-trigger” state.
The
INITiate
command places the multimeter in the “wait-for-trigger”
state, takes a reading when the
Ext Trig
terminal is pulsed, and sends
the reading to the multimeter’s internal memory. The
FETCh?
command
transfers the reading from internal memory to the output buffer.
CONF:VOLT:DC 10, 0.003
TRIG:SOUR EXT
INIT
FETC?
bus enter statement
Storing readings in memory using the
INITiate
command is faster
than sending readings to the output buffer using the
READ?
command.
The multimeter can store up to 512 readings in internal memory. If you
configure the multimeter to take more than 512 readings (using the
sample count and trigger count), and then send
INITiate
, a memory
error is generated.
After you execute an
INITiate
command, no further commands are
accepted until the measurement sequence is completed. However, if you
select
TRIGger:SOURce BUS
, the multimeter will accept the
*TRG
command (bus trigger) or an
IEEE-488
Group Execute Trigger
message.
Chapter 4 Remote Interface Reference
Simplified Programming Overview
116
Summary of Contents for 34401A
Page 12: ...1 Quick Start 1 ...
Page 26: ...2 Front Panel Menu Operation 2 ...
Page 50: ...3 Features and Functions 3 ...
Page 103: ...4 Remote Interface Reference 4 ...
Page 135: ...SCPI Status System 4 Chapter 4 Remote Interface Reference The SCPI Status Model 135 ...
Page 170: ...5 Error Messages 5 ...
Page 182: ...6 Application Programs 6 ...
Page 196: ...7 Measurement Tutorial 7 ...
Page 214: ...8 Specifications 8 ...