Error Messages; Programming Examples - ILX Lightwave MPS-8033 Series User Manual

Precision fiber optic sources
Table of Contents

Advertisement

C O M M A N D R E F E R E N C E
4
C H A P T E R

Programming Examples

Error Messages

Error messages may appear on the display when error conditions occur in the 8033.
In remote operation, the current error list can be read by issuing the "ERR?" query. When this is
done, a string will be returned containing the previously unread error messages (up to ten) which are
currently in the error message queue. When the error queue is active, bit #7 of the Status Byte will
be set to one.
Appendix A contains an explanation of the error messages which may be reported by the 8033 on
the display or via remote operation.
Programming Examples
This section provides two simple examples of programming the 8033 over the GPIB.
Both examples are written in QuickBASIC for driving the National Instruments NI−488.2 GPIB card.
The first is an example of a "driver" for GPIB communications with the 8033. The second is an
example of how to enable the 8033 laser source and wait for the laser turn on sequence to
complete. These examples are not complete, and therefore cannot be used by themselves. They
do, however, illustrate the simplicity of programming the 8033. The initialization of some variables
and files have been purposely omitted.
72
!
MPS-8033
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertisement

Table of Contents
loading

Table of Contents