User`s guide
4-40
Programming
Programming Examples
8 devices-under-test.
440 to 450 Create the GPIB commands to select the input and output
switch positions to measure the current device-under-test.
For example, if
Current_dut=3
then
In_switch$
and
Out_switch$
would equal
"ROUTE:LAYER1:CHANNEL
B3"
. Note that since the switches are 1x8, it is not
necessary to specify the position of the A ports.
500 to 550 Use the *WAI command to ensure both switches have
settled.
570 to 610 Read the optical power from the optical multimeter. If this
power is less than
Min_power
then print appropriate error
message to screen.
630 Increment
Meas_count
.
640 Return to calling line.
660 to 690
End_prog
subroutine. Turn off time-initiated branching
and end program.