HP 82479A Owner's Manual page 203

Data acquisition pac
Table of Contents

Advertisement

ALTERNATIVE PERIPHERAL OPTIONS
This appendix describes the use of user-written subprograms to control alternate output devices for strip
chart and system monitor applications. Subprograms are also described for ZTE IF, MOMHI TOR, or LIONS
setups without an HP 3421A Data Acquisition/Control Unit connected to the HP-71, or with the
HP 3421 A on the second or third loop.
The = THIF, FEFIET and MOMI TOR programs were written primarily for use with the ThinkJet
printer and the HP 92198A Mountain Computer HP-IL 80-Column Video Interface. There is a provision
in each program which allows the use of a different device for output.
An alternate output device may
be specified by intercepting calls to either the FF IMT=ET or MIMSET subprograms in the UTILITY
file. These subprograms return the location and/or operating characteristics of the ThinkJet printer or
the video interface.
The HP-71 scans user memory before looking in plug-in ROM modules when scanning for the
FEIMTSET or MOMSET subprograms. This gives a "hook" to create a custom display monitor interface.
If no subprograms are found with these names, the file lITIL ITY in the Data Acquisition Pac contains
subprograms which will be executed to prepare the peripherals.
F.1 SPECIFYING ALTERNATE PRINTERS
The ZTE IF program assumes that the printer device is the HP 2225B ThinkJet printer. A provision in
the software allows the use of alternate printers such as the HP 2631 for strip chart output.
When THEIF begins to run, the subprogram FF IMTZET is called which returns the escape sequences
for the various print options that are used.
The syntax for the subprogram is as follows:
sl? FEIMTZETC escapes array 3
The escapes array is a string array that contains the escape sequences which control the print options
such as print size, lines per inch, etc.
The array contains 6 elements, numbered 0 to 5S. The contents of
each element as defined by FE IMHTSET in the file ITIL ITY are set as specified below for the ThinkJet
printer. A \E indicates the Escape character (ASCII 27).
Element
Description
ThinkJet
0
Start STRIP/REPORT chart
\EE
1
Normal print mode
\E&kOS
2
Compressed print mode
\E&k2S
3
Enhanced print mode
\E&k3S
4
Enable perf skip, 8 lines/inch
\E&1118D
5
Form feed character#
6
Exit STRIP/REPORT chart
\EE
* This should be used only if perf skip is not enabled (don't do both).

Advertisement

Table of Contents
loading

Table of Contents