16 Getting Started
Chapter 1
Initial Operation
You can use the following program example to verify initial RF Multiplexer
operation by closing a channel and querying channel closure. The example
first resets the switchbox and then closes channel 02 of a single RF
Multiplexer module (card number 1) in the switchbox.
The program next queries the channel closure state. A returned “1” shows
that the command to close the channel has been sent to the switchbox.
A returned “0" shows that the command to close the channel has not been
sent to the switchbox.
This example uses BASIC as the program language. The computer
interfaces to the mainframe using GPIB. The GPIB interface select code is
7, the primary address is 09, and the secondary address is 15. See the
specific command module user’s guide for addressing information.
10 OUTPUT 70915;"*RST"
!Resets the module. Switches
all channel n0 to COM n0.
20 OUTPUT 70915;"CLOS (@102)"
!Connect channel 02 to
COM 00.
30 OUTPUT 70915;"CLOS? (@102)"
!Query channel 02.
40 ENTER 70915;Value
!Enter results into value.
50 PRINT Value
!Display results (should
return "1").
60 END
!End program.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание E1472A
Страница 3: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 9: ...8 Notes Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 69: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...