Tektronix 070-9180-01 Computer Hardware User Manual


 
Appendix B: Examples
Option 01 VXI Interface Module User Manual
B–3
H Open channels 11 through 20 on the VX4350 Module.
WRITE open (@m3(11:20))
H Query the close state of channels 1 through 20 on the VX4350 Module.
WRITE close? (@m3(1:20))
READ 11111111110000000000
A query response of 1 indicates that the corresponding channel is closed, and
a response of 0 indicates that the channel is open.
H Query the open state of channels 1 through 20 on the VX4350 Module.
WRITE open? (@m3(1:20))
READ 00000000001111111111
A query response of 1 indicates that the corresponding channel is open, and a
response of 0 indicates that the channel is closed.
H Join the two sections of the VX4372 Module.
WRITE route:conf:join m4,(1,2)
H Close channel 10 in section 1 of the VX4372 Module.
WRITE close (@m4(10!1))
H Disjoin the two sections of the VX4374 Module.
WRITE route:conf:disjoin m5
H Close channel 12 of section 2 of the VX4374.
WRITE route:close (@m5(12!2))
H Query the close state of the 12 channels in section 2 of the VX4374.
WRITE route:close? (@m5(1!2:12!2))
READ 000000000001
Note that this query can also be specified as
route:close? (@m5(13:24))
H Open all relays in section 4 of the VX4380 Module.
WRITE route:open (@M6(1!1!4:4!16!4))
H Close the relay that joins row 3 to column 12 in section 4 of the VX4380
Module.
WRITE route:close (@m6(3!12!4))