Chapter 4 Remote Operation and Programming
Batch Processing for the Program Commands
64 Operating and Programming Manual
106 Complete=1
107 END IF
108 END WHILE
109 END IF
110 END IF
111 END WHILE
112 !
113 GOTO Exit
114 !
115 Hang: ! I/O has timed out.
116 BEEP
117 Reply$="I/O timeout, no reply from serial port."
118 !
119 Exit: !
120 OFF DELAY
121 RETURN Reply$
122 FNEND
123 !
124 !====================================================================
125 !
Program Output
The program output is shown below. Notice that the 5071A echoes the
commands or queries it receives. After echoing a command, it returns a
prompt. After echoing a query, it returns the result of the query and a prompt.
Serial interface at Select Code 9 set up: 9600, 8, None
*CLS
scpi >
SYST:REM ON
scpi >
DISP:ENAB ON
scpi >
PTIME:TIME 13,09,24
scpi >
SYST:REM OFF
scpi >
DIAG:VOLT:EMUL?
+1.310+003
scpi >
ROSC:CONT?
-4.17E-002
scpi >