Download Black Box SW176A Technical data

Transcript
87050A Option K22
5350
Hswitch_code$="b4p12"
5360
Pswitch_code$="103"
5370
Example Programs
CASE "13","PORT AUX 2"
5380
Hswitch_code$="b4aux"
5390
Pswitch_code$="104"
5400
CASE "0","TERMINATE","RESET"
5410
Hswitch_code$="bterm"
5420
Pswitch_code$="105"
5430
CASE ELSE
5440
DISP "Unrecognized Switched_port$ parameter;
"""&Switched_port$&""""
5450
STOP
5460
END SELECT
5470
CASE ELSE
5480
DISP "Unrecognized Main_port$ parameter;
"""&Main_port$&""""
5490
STOP
5500
END SELECT
5510
END SELECT
5520
!
5530
IF Controller$="H" THEN
5540
Output_cmd$=TRIM$(Hswitch_code$)
5550
OUTPUT Addr;Output_cmd$
5560
! sent via GPIB
ELSE
5570
Output_cmd$=VAL$(VAL(Pswitch_code$))
5580
OUTPUT Addr;"PARALGPIO;"
5590
OUTPUT Addr;"PARAOUT"&Output_cmd$&";"
! sent via Centronics
! port
5600
END IF
5610
WAIT .1
5620
SUBEND
5630
!*****************************************************
42
User’s and Service Guide