EasyManuals Logo
Home>Agilent Technologies>Multimeter>3458A

Agilent Technologies 3458A User Manual

Agilent Technologies 3458A
372 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #247 background imageLoading...
Page #247 background image
Chapter 6 Command Reference 247
SUB
• The only way to take readings within a subprogram is to use the TARM SGL
or TRIG SGL command. When either of these commands is encountered, the
multimeter will not execute the next command in the subprogram until all
specified readings are taken. (This also means all configuration and other
triggering commands must occur before the TARM SGL or TRIG SGL
command.) Any other trigger arm or trigger events (except TARM EXT, see
next Remark) will be executed in a subprogram, but the readings will not be
initiated until the subprogram is complete.
• Whenever the TARM EXT command is encountered in a subprogram, the
multimeter waits until an external trigger is received on its Ext Trig connector
before executing the next line of the subprogram. This allows you to synchronize
subprogram execution to external equipment.
• Any subprogram named 0 will be automatically executed whenever the
multimeter has finished its power-on sequence. This is useful to recall the
multimeter's previous state (RSTATE 0) following a power failure.
• Subprograms are stored in continuous memory (not lost when power is
removed). If you compress a subprogram, however, (COMPRESS command)
the subprogram is removed from continuous memory and will be destroyed
when power is removed.
• Related Commands: CALL, COMPRESS, CONT, DELSUB, PAUSE,
SCRATCH, SUBEND
Examples 10 OPTION BASE 1 !COMPUTER ARRAY NUMBERING STARTS AT 1
20 DIM RDGS(5) !DIMENSION ARRAY FOR 5 READINGS
30 OUTPUT 722;"SUB DCCUR2" !STORES FOLLOWING LINES NAMED DCCUR2
40 OUTPUT 722;"PRESET NORM" !PRESETS
50 OUTPUT 722;"MEM FIFO" !ENABLES FIFO MODE OF READING MEMORY
60 OUTPUT 722;"DCV, 10, .01" !DC VOLTAGE, 10V RANGE, .01% RESOLUTION
70 OUTPUT 722; "NRDGS,5,AUTO" !5 READINGS PER TRIGGER, AUTO EVENT
80 OUTPUT 722;"TRIG SGL" !SPECIFIES THE SINGLE TRIGGER MODE
90 OUTPUT 722; "SUBEND" !SIGNALS THE END OF SUBPROGRAM STORAGE
100 OUTPUT 722;"DISP MSG 'CALLING SUBPROGRAM'"
110 OUTPUT 722; "CALL DCCUR2"
120 ENTER 722;Rdgs(*)
130 PRINT Rdgs(*)
140 END
When the following subprogram is called (CALL EXTPACE), the multimeter
executes it line-by-line until it encounters TARM EXT (line 70). Subprogram
execution then ceases until an external trigger occurs. This allows you to
synchronize subprogram execution to some external event. After the first external
trigger is received, subprogram execution resumes. When the next line is
encountered (TRIG SGL), subprogram execution ceases until the 1000 readings
are taken. After the readings are taken, the subprogram changes the measurement
function to 2-wire ohms and the number of readings to 100. When the second
TARM EXT command is encountered (line 100), subprogram execution ceases

Table of Contents

Other manuals for Agilent Technologies 3458A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 3458A and is the answer not in the manual?

Agilent Technologies 3458A Specifications

General IconGeneral
BrandAgilent Technologies
Model3458A
CategoryMultimeter
LanguageEnglish

Related product manuals