3 - 64 USING THE COMBISCOPE INSTRUMENTS
PROGRAM EXAMPLE:
Read and print the DC and frequency characteristic of the actual signal using the
MEAS1 and MEAS2 functions. The program stops to let you make the requested
MEAS selections.
DIM response AS STRING
*
30
CALL Send(0, 8, "DISPlay:MENU MEASure", 1) ’
’
’
*****
Enable MEAS1 & MEAS2 and select MEAS1-DC and MEAS2-frequency
.
’
PRINT ">>> Press the LOCAL key, set MEAS1 function on, and select
MEAS1-volt-dc."
PRINT ">>> Set MEAS2 function on and select MEAS2-time-freq."
PRINT ">>> Press any key on the controller keyboard when finished."
WHILE INKEY$ = "": WEND
CALL Send(0, 8, "DISPlay:WINDow:TEXT1:DATA?", 1) ’
CALL Receive(0, 8, response$, 256) ’
PRINT "Measured volt-dc = "; LEFT$(response$, IBCNT% - 1)
CALL Send(0, 8, "DISPlay:WINDow:TEXT2:DATA?", 1) ’
CALL Receive(0, 8, response$, 256) ’
PRINT "Measured time-freq = "; LEFT$(response$, IBCNT% - 1)