Fluke CombiScope PM3370B User Manual page 86

Autoranging instrument
Hide thumbs Also See for CombiScope PM3370B:
Table of Contents

Advertisement

USING THE COMBISCOPE INSTRUMENTS
read
DSO
response
data
1)
send
HCOPy:DATA?
CONTROLLER
Figure 3.22
PROGRAM EXAMPLE:
Select one of the supported GPIB plotters, set its address at 22 and connect the
plotter via IEEE to the controller. Create a screen picture on the DSO that you
want to plot and run the following program.
DIM addr(2)
DIM response AS STRING * 15000
CALL IBTMO(0, 13)
CALL Send(0, 8, "HCOPy:DEVice PM8277", 1)
CALL Send(0, 8, "HCOPY:DATA?", 1)
CALL Receive(0, 8, response$, 256)
length = IBCNT%
PRINT "Number of hardcopy bytes ="; length
' *****
'The first 2 characters of the response block data are #0 (preamble for indefinite length).
'They must not be sent to the plotter; so, send characters 3 until 3+length-2.
' *****
CALL Send(0, 22, MID$(response$, 3, length - 2), 0)
CALL Send(0, 22, "", 1)
send
plot/print
data
2)
3)
data
buffer
Hardcopy of screen on printer/plotter
PLOTTER
1) Send the query
2) Read the block response
PRINTER
3) Send the print/plot data part
ST7219
HCOPy:DATA? via the GPIB.
data via the GPIB.
to the printer/plotter.
'Dimensions address array.
'Dimensions response string.
'Timeout at 10 seconds.
'Selects the PM8277 plotter
'Requests for hardcopy data.
'Reads the hardcopy data.
'IBCNT = number of read bytes
'No End detection
'End of data block
3 - 67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents