HP E1330A Service Manual page 21

Digital i/o module
Table of Contents

Advertisement

Example: Digital Test
Chapter 2
Repeat for Ports 1 through 3
3.
Repeat step 2 for ports 1, 2, and 3.
Use SOUR:DIG:DATAn #Bssssssss and MEAS:DIG:DATAn?
where n = port number and ssssssss = the binary string.
For Port 1 Write, use Port 3 Read. For Port 2 Write, use Port 0
Read. For Port 3 Write, use Port 1 Read.
Check Port 0 CTL and Port 2 FLG handshake lines
4.
Send *RST to the module.
Send SOUR:DIG:CONT0 1 to the module.
Send MEAS:DIG:FLAG2? to the module.
Enter the response. The response should be 1.
Enter a Pass or Fail in Table 2-1.
Send SOUR:DIG:CONT0 0 to the module.
Send MEAS:DIG:FLAG2? to the module.
Enter the response. The response should be 0.
Enter a Pass or Fail in Table 2-1.
Repeat for Ports 1, 2, and 3
5.
Repeat step 4 for ports 1, 2, and 3.
Send SOUR:DIG:CONTn f to the module where n = port
number and f = is a binary toggle (0 and 1).
Send MEAS:DIG:FLAGn to the module where n = port
number.
For Port 1 CTL, use Port 3 FLG. For Port 2 CTL, use Port 0
FLG. For Port 3 CTL, use Port 1 FLG.
Reset the module jumpers
6.
Turn mainframe power OFF.
Remove the Test Cable from the module.
Remove the module from the mainframe.
Reset the module jumpers to the positions recorded in Step 1.
This example performs a bit walk test of all bits on all ports and checks the
module's ability to set and reset the handshake lines on each port.
10!
RE-SAVE "DIO_TEST"
20
DISP CHR$(129)
30
ASSIGN @Dio TO 70918
40
OUTPUT @Dio;"*CLS"
50
Fail = 0
60
DIM A$[255],B$[32],Bit_walk$(7)[8]
70
DATA "00000001","00000010","00000100","00001000",
"00010000","00100000","01000000","10000000"
80
READ Bit_walk$(*)
Verification Tests 21

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1330b

Table of Contents