34 Using the Relay Matrix Switches
Chapter 2
Example:
Opening/Closing
Rows/Columns
This program shows how to close and open row 2 (02), column 14 on an
E1469A Relay Matrix Switch module (card #1):
10 DISP "TEST E1469A MATRIX"
20 OUTPUT 70914; "ROUT:CLOS (@10214)"
30 OUTPUT 70914; "ROUT:OPEN (@10214)"
40 END
Example: Sequencing
Channels (E1468A)
This program sequences through each channel on an E1468A 8x8 Relay
Matrix Switch Module.
10 DIM E$[128]
20 FOR I = 0 TO 7
30 FOR J = 0 TO 7
40
A = 100 + 10 * I + J
50
OUTPUT 70914; "ROUT:CLOS (@ ";A;")"
60
OUTPUT 70914; "ROUT:CLOS? (@100:177)"
70
ENTER 70914; E$
80 PRINT "CHANNEL CLOSED NOW"; E$
90
OUTPUT 70914; "ROUT:OPEN (@ ";A;")"
100 NEXT J
110 NEXT I
120 END
Example: Sequencing
Channels (E1469A)
To use this program with the E1469A 4x16 Relay Matrix Switch Module,
replace lines 20, 30, 40, and 60 with:
20 FOR I = 0 TO 3
30 FOR J = 0 TO 15
40
A = 10000 + 100 * I + J
60
OUTPUT 70914; "ROUT:CLOS? (@10000:10315)"
Recalling and
Saving States
The *SAV <numeric_state> stores the current state of the switchbox
channels. Up to 10 states may be stored by specifying the <numeric_state>
as an integer 0 through 9. The following states are stored:
•
Channel relay states (open or closed)
•
ARM:COUNt
•
TRIGger:SOURce <source>
•
OUTPut[:EXTernal][:STATe]
•
INITiate:CONTinuous
The *RCL <numeric_state> command recalls the specified previously stored
state. If the specified <numeric_state> does not exist, the Relay Matrix
Switch module configures to its power-on/reset states.
Содержание E1468A
Страница 2: ......
Страница 6: ...6 Notes...
Страница 10: ...10 Notes...
Страница 14: ...14 Getting Started Chapter 1 Figure 1 3 E1468A E1469A Connector Pin Out...
Страница 30: ...30 Getting Started Chapter 1 Notes...
Страница 68: ...68 Relay Matrix Switch Specifications Appendix A Notes...
Страница 78: ...78 Relay Matrix Switch Error Messages Appendix C Notes...
Страница 83: ...E1468 90005 Manual Part Number E1468 90005 Printed in U S A E1200...
Страница 84: ......