270M
Rapid Scanning Imaging Spectrograph
Appendix
E:
SPEX.SYS Device Driver, Version 1.1
Instructions for use with the 270M Spectrometer:
If your 270M has the parallel interface, as opposed
to
the optional SPEX232 or
SPEX488 interfaces, and you wish to write a programmed routine
to
run the 270M, this
section applies
to
you.
This section covers the usage and protocol for the
SPEX.SYS
device driver
commands,
in
the context of its use with a 270M. The commands discussed directly
control the spectrometer. You have total flexibility to create elegant, efficient programs.
This method of interfacing requires considerable programming skill, and
is
therefore
generally recommended only for the professional programmer. Teaching the skill of
programming is beyond the scope of this document.
To facilitate control of the 270M from your
DOS
computer via a parallel
(LPl)
port, a
Graphical Monochromator Interface software (GMI} and a cable (Spex #35816} were
shipped with your 270M from the factory. The best way to become familiar with control
of your 270M is
to
install and run the
GMI.
Then test
all
of
the drives and accessories
that are in your spectrometer. Satisfy yourself that the interface and mechanisms are
working properly before trying to use the device driver with your own program.
The GMI uses the device driver
SPEX.SYS
which is included on the GMI diskette. The
device driver provides functions that allow you
to
control the actions of the 270M and
its accessorles by writing ASCII strings
to
"SPEXOOOO"
(as if it were a file name}.
58
Revised
November
24,
1992
/
;
Leica Microsystems, Inc.'s Ex. 1033