Agilent Technologies 3458A User Manual page 208

Hide thumbs Also See for 3458A:
Table of Contents

Advertisement

NRDGS
Examples
208
Chapter 6 Command Reference
events, a single occurrence of the SYN event satisfies all of the specified SYN
event requirements. This is shown in the second "SYN Event" example below.
Query Command. The NRDGS? query command returns two responses
separated by a comma. The first response is the specified number of readings
per trigger. The second response is the present sample event. Refer to "Query
Commands" near the front of this chapter for more information.
Related Commands: DELAY, LEVEL, RMEM, SLOPE, TARM, TIMER,
TRIG, SWEEP
SYN Event
In the following program, line 70 requests data from the multimeter. This satisfies
the SYN event and initiates a reading. The reading is then sent to the controller
and printed. The process repeats until the three readings have been taken and
printed.
10 OPTION BASE 1
20 DIM A(3)
30 OUTPUT 722;"DCV 8,.00125"
40 OUTPUT 722;"NRDGS 3, SYN"
50 OUTPUT 722;"TRIG AUTO"
60 ENTER 722;A(*)
70 PRINT A(*)
80 END
In the following example, SYN is specified for the trigger arm, trigger, and sample
events. Five readings per trigger are specified. A single occurrence of the SYN
event (line 60) satisfies the trigger arm, trigger, and the first sample event and
initiates the first reading. Four more SYN events (one for each reading) are then
required to initiate the remaining four readings.
10 OPTION BASE 1
20 DIM Rdgs(5)
30 OUTPUT 722;"PRESET NORM"
40 OUTPUT 722;"TARM SYN"
50 OUTPUT 722;"NRDGS 5, SYN"
60 ENTER 722;Rdgs(*)
70 PRINT Rdgs(*)
80 END
TIMER
The following program makes 4 readings in response to the synchronous trigger
(line 60). The first reading is made immediately after the preprogrammed default
delay; the remaining 3 have a 200ms interval between them.
10 OPTION BASE 1
20 DIM Rdgs(4)
30 OUTPUT 722;"PRESET NORM"
40 OUTPUT 722;"TIMER 200E-3"!SETS TIMER INTERVAL TO 200m SECONDS
!COMPUTER ARRAY NUMBERING STARTS AT 1
!DIMENSION ARRAY
!DC VOLTAGE, 10V RANGE, 100µV RESOLUTION
!3 READINGS/TRIGGER, SYN SAMPLE EVENT
!AUTO TRIGGER MODE
!ENTER READINGS
!PRINT READINGS
!COMPUTER ARRAY NUMBERING STARTS AT 1
!DIMENSION ARRAY FOR READINGS
!SYN TRIGGER EVENT, DCV, NPLC 1, MEM OFF
!SYN TRIGGER ARM EVENT
!5 READINGS/TRIGGER, SYN SAMPLE EVENT
!SYN EVENT, ENTER READINGS
!PRINT READINGS
!COMPUTER ARRAY NUMBERING STARTS AT 1
!DIMENSION ARRAY FOR READINGS
!TARM AUTO,TRIG SYN,DCV AUTORANGE

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents