APPLICATION PROGRAM EXAMPLES
A.4 Making a Hardcopy of the Screen
In the following example a hardcopy of the screen picture is made as follows:
1) Enter the hardcopy of the screen in HPGL data format.
2) Send the entered data buffer to a HPGL plotter connected via the IEEE bus.
Application summary:
CombiScope
instrument
•
Connect the HPGL plotter to the computer via the GPIB interface.
•
Turn off the power of the HPGL plotter to prevent the plotter from starting to
plot during the data transport from the CombiScope instrument to the
computer.
•
Create the picture (waveforms + text) on the screen that you want to hardcopy
to the plotter. The CombiScope instrument must be in its digital mode (DSO).
•
Select the hardcopy HPGL format by sending:
•
Enter the hardcopy HPGL data by sending:
and by reading the response data, i.e.: #0<hardcopy data>.
•
Stop program execution to let you turn on the power of the HPGL plotter.
•
Finally send the HPGL <hardcopy data> to the HPGL plotter. As a result the
picture of the screen is plotted on the plotter paper.
Application program:
Note:
The program is supplied on floppy under file name EXAPPA4.BAS.
IEEE
computer
IEEE
plotter
HCOPy:DEVice HPGL
HCOPy:DATA?
A - 9