
SD000153 Rev. J May 2000
Sample Driver Application: Electrical Equivalent of Driver.............................................17
Powering Up the Switch................................................................................................18
Using and Selecting a Channel.....................................................................................18
Setting the GPIB Address .............................................................................................19
Setting the Interface Command Set for SC and SX Switches.......................................19
Controlling the Drivers...................................................................................................19
Controlling the Switch Locally .......................................................................................20
Controlling the Switch Remotely by GPIB Interface ......................................................20
Controlling the Switch Remotely by RS232 Interface....................................................20
Calibrating the Switch....................................................................................................21
Maintaining the Switch ..................................................................................................21
Programming Guide................................................................................................................23
GPIB Pin Assignment....................................................................................................23
Setting the GPIB Address .............................................................................................23
GPIB Interface Functions..............................................................................................24
RS232
Pin Assignment .................................................................................................24
RS232 Interface Specifications.....................................................................................24
RS232 Driver
Pin Assignment.......................................................................................25
Operation and Query Commands .................................................................................25
Command Parser Rules.....................................................................................25
Operation Commands........................................................................................26
Query Commands..............................................................................................27
Status Reporting and Service Request Control.............................................................29
Condition Register .............................................................................................29
Status Register ..................................................................................................29
SRQ Mask Register ...........................................................................................30
GPIB Programming Examples.......................................................................................30
Sending Commands ..........................................................................................31
Serial Polling the Status Register ......................................................................31
Generating a Service Request Interrupt ............................................................32
Learn Query (LRN?) ..........................................................................................32
RS232 Programming Examples ....................................................................................32
Sending Commands ..........................................................................................33
Querying Status.................................................................................................33
Reading the Status Register..............................................................................33
Setting the Interface Command Set..............................................................................33
SC Series Switch Command Set (SCXXX-0XXX Models) .................................34
SX Series Switch Command Set.......................................................................34