Making Timed Readings - Agilent Technologies 3458A User Manual

Hide thumbs Also See for 3458A:
Table of Contents

Advertisement

10 OPTION BASE 1
20 DIM Rdgs (15)
30 OUTPUT 722;"PRESET NORM"
40 OUTPUT 722;"NRDGS 15,AUTO"
50 ENTER 722;Rdgs(*)
60 PRINT Rdgs(*)
70 END
10 OPTION BASE 1
20 DIM Rdgs(15)
30 OUTPUT 722;"PRESET NORM"
40 OUTPUT 722;"NRDGS 15,SYN"
50 OUTPUT 722;"TRIG AUTO"
60 ENTER 722;Rdgs(*)
70 DISP Rdgs(*)
80 END
Making Timed
Readings
10 OPTION BASE 1
20 DIM Rdgs(8)
30 OUTPUT 722;"PRESET NORM"
40 OUTPUT 722;"NRDGS 8, TIMER"
50 OUTPUT 722;"TIMER 1"
60 ENTER 722;Rdgs(*)
70 PRINT Rdgs(*)
80 END
"High-Speed Mode" later in this chapter for more information. In the
following program, the PRESET NORM command sets the trigger event to
synchronous. Line 40 specifies 15 readings per synchronous trigger event.
Line 50 requests data from the multimeter. This satisfies the synchronous
trigger event and initiates the readings. Notice that line 50 requests data from
the multimeter 15 times. When multiple readings are specified and SYN is
used as the trigger or trigger arm event, the multimeter does not recognize
the multiple data requests as individual SYN events. That is, in this program
the SYN trigger event occurs once, not 15 times.
The following program uses the synchronous event as the sample event. Line
60 requests data from the multimeter 15 times. When SYN is used as the
sample event, each request for data is recognized as a SYN event. That is, in
this program the SYN event occurs 15 times.
When making multiple readings per trigger, you can use the TIMER sample
event to place a specified time interval between readings. This interval is the
amount of time from the beginning of one reading to the beginning of the
next reading. You specify the interval in seconds using the TIMER command.
(If the specified interval is less than the time required to make each reading,
the multimeter generates the TRlG TOO FAST error). The following
program specifies 8 readings per trigger with 1 second between readings (this
is shown in Figure 18).
!COMPUTER ARRAY NUMBERING STARTS AT 1
!DIMENSION ARRAY FOR 8 READINGS
!TARM AUTO, TRIG SYN, DCV AUTORANGE
!8 READINGS/TRIGGER, TIMER SAMPLE EVENT
!1 SECOND TIMER INTERVAL
!SYN EVENT,ENTER EACH READING
!PRINT READINGS
You can also use the SWEEP command to replace the NRDGS n,TIMER
command and the TlMER command. The SWEEP command's first
parameter specifies the interval between readings and its second parameter
specifies the number of readings. (The SWEEP and NRDGS commands are
interchangeable: the multimeter uses whichever was specified last in the
programming.) For example, the following program also takes 8 readings
!COMPUTER ARRAY NUMBERING STARTS AT 1
!DIMENSION ARRAY FOR 15 READINGS
!TARM AUTO, TRIG SYN, DCV AUTORANGE, MEM OFF
!15 READINGS/TRIGGER, AUTO SAMPLE EVENT
!GENERATE SYN EVENT, ENTER READINGS
!DISPLAY READINGS
!COMPUTER ARRAY NUMBERING STARTS AT 1
!DIMENSION ARRAY FOR 15 READINGS
!TARM AUTO, TRIG SYN, DCV AUTORANGE
!15 READINGS PER TRIGGER, SYN SAMPLE EVENT
!AUTO TRIGGER EVENT
!SYN EVENT, ENTER EACH READING
!PRINT READINGS
Chapter 4 Making Measurements
85

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents