Omega CYD211 User Manual page 48

Single input temperature monitor
Table of Contents

Advertisement

4.1.6.2
Quick Basic Serial Interface Program Setup
The serial interface program (Table 4-4) works with QuickBasic 4.0/4.5 or
Qbasic on an IBM PC (or compatible) running DOS or in a DOS window
with a serial interface. It uses the COM1 communication port at 9600 Baud.
Use the following procedure to develop the Serial Interface Program in
Quick Basic.
1. Start the Basic program.
2. Enter the program exactly as presented in Table 4-4.
3. Adjust the COM port in the program as necessary.
4. Lengthen the "TIMEOUT" count if necessary.
5. Save the program.
6. Run the program.
7. Type a command query as described in Paragraph 4.1.6.3.
8. Type "EXIT" to quit the program.
4.1.6.3
Program Operation
Once either program is running, try the following commands and observe
the response of the instrument. Input from the user is shown in bold and
terminators are added by the program. The word [term] indicates the
required terminators included with the response.
ENTER COMMAND? *IDN?
RESPONSE: LSCI,MODEL211,2110000,032502[term]
ENTER COMMAND? KRDG?
RESPONSE: +12.345[term]
ENTER COMMAND? INTYPE 0
ENTER COMMAND? INTYPE?
RESPONSE: 0[term]
ENTER COMMAND? INTYPE 0;INTYPE?
RESPONSE: 0[term]
4-10
Omega Model CYD211 User's Manual
Identification query. Instrument will return a string
identifying itself.
Kelvin reading query. Instrument will return a string
with the present Kelvin reading.
Input type command. Instrument will change the
input type to silicon diode. No response will be sent.
Input type query. Instrument will return a string with
the present input type setting.
type query. Instrument will change the input type to
silicon diode then return a string with the present
input type setting.
Input type command followed by input
Remote Operation

Advertisement

Table of Contents
loading

Table of Contents