Download Chapter 2 Configuring the HP E1366A/E1367A RF
Transcript
Use commas (,) to form a channel list or use a colon (:) to form a channel range. Only valid channels can be accessed in a channel list or channel range. Also, the channel list or channel range must be from a lower channel number to a higher channel number. For example, SCAN (@100:213) is acceptable, but SCAN (@213:100) generates an error. Example: RF Multiplexer Channel Lists/Ranges Channel Lists: CLOS (@100,112) OPEN (@203,210) !Close channels 00 and 12 on card 01 !Open channels 03 and 10 on card 02 Channel Ranges: OPEN (@100:113) SCAN (@100:213) !Open all channels on card 01 !Scan all channels on cards 01 and 02 Initial Operation An example program follows which uses Hewlett-Packard BASIC and SCPI language to get you started using the RF multiplexers. The computer used in the example is an HP 9000 Series 200/300 (or equivalent) controller with HP BASIC as the program language. The computer interfaces to the mainframe using the Hewlett-Packard Interface Bus (HP-IB)*. This program closes channel 02 of an RF multiplexer at logical address 120 (secondary address = 120/8 = 15) and queries the channel closure state. The result is returned to the controller and displayed (1 = channel closed, 0 = channel open). See the HP B-size configuration guide for information on addressing. Example: Close Multiplexer Channel ! Close channel 02 OUTPUT 70915;"CLOS (@102)" OUTPUT 70915;"CLOS? (@102)" ! Query channel 02 state ENTER 70915;Value ! Enter result into Value PRINT Value ! Display result END * HP-IB is Hewlett-Packard’s implementation of IEEE Std 488.1-1984 Chapter 1 Getting Started with the HP E1366A/E1367A RF Multiplexers 15