Agilent Technologies E1465A User Manual page 40

Relay matrix switch modules
Table of Contents

Advertisement

40 Using the Matrix Modules
This BASIC example program sets up the multimeter (GPIB address 70903)
to scan making two-wire resistance measurements. The E1465A matrix
module is set to scan row 00, columns 00 to 15.
10 ALLOCATE REAL Rdgs(1:16)
20 OUTPUT 70915; "*RST;*CLS"
30 OUTPUT 70903; "*RST;*CLS"
40 OUTPUT 70903; "ABORT;:TRIG:SOUR TTLTRG0"
50 OUTPUT 70903; "OUTP:TTLTRG1:STAT ON"
60 OUTPUT 70903; "CONF:RES AUTO,DEF"
70 OUTPUT 70903; "TRIG:DEL 0;COUN 16;:CAL:ZERO:AUTO ON"
80 OUTPUT 70903; "*OPC?"
90 ENTER 70903; Check
100 OUTPUT 70903; "INIT"
110 OUTPUT 70915; "TRIG:SOUR TTLTRG1"
120 OUTPUT 70915; "OUTPUT:TTLT0:STATE ON"
130 OUTPUT 70915; "SCAN (@10000:10015
140 OUTPUT 70915; "INIT"
150 OUTPUT 70903; "FETCH?"
160 ENTER 70903; Rdgs(*)
170 PRINT Rdgs(*)
180 END
! Reset and clear the matrix
module
! Reset and clear the multimeter
! Multimeter triggers on TTL
Trigger line 0
! Multimeter pulses TTL Trigger
line 1 on measurement
complete
! Set multimeter function to
Resistance
! Set multimeter Range, NPLC
functions
! Check to see if multimeter ready
! When multimeter is ready,
initialize trigger
! Set matrix module to be
triggered by TTL Trigger line 1
! Matrix module pulses TTL
Trigger line 0 on channel closed
! Scan list is Row 0, Columns
0 to 15
! Initiate scan
! Enter readings
! Print readings
Chapter 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1466aE1467a

Table of Contents