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

Displays MEASURE menu

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)

Queries for volt-dc

CALL Receive(0,

8, response$, 256)

 

Reads volt-dc value

PRINT "Measured

volt-dc = "; LEFT$(response$,

IBCNT% - 1)

CALL Send(0, 8,

"DISPlay:WINDow:TEXT2:DATA?",

1)

Queries for time-freq

CALL Receive(0,

8, response$, 256)

 

Reads time-freq value

PRINT "Measured

time-freq = "; LEFT$(response$, IBCNT% - 1)

Page 83
Image 83
Fluke PM-3394B, PM-3380B, PM-3390B, PM-3370B, PM-3384B user manual Call Send0, 8, DISPlayMENU MEASure