
Lake Shore Model 325 Temperature Controller User’s Manual
Remote Operation
6-17
VB_Serial_1.bmp
6.2.6
Changing Baud Rate
To use the Serial Interface, you must first set the baud rate. Press
Interface
key to display the following screen.
Select-With-°®
Baud--9600
Press the
s
or
t
key to cycle through the choices of 9600, 19200, 38400, 57600 baud. Press the
Enter
key to accept the
new number.
6.2.7
Serial Interface Example Program
A Visual Basic program is included to illustrate the serial communication functions of the instrument. Refer to
Section 6.2.7.1 for instructions on how to setup the program. The Visual Basic code is provided in Table 6-8.
A description of program operation is provided in Section 6.2.7.2. While the hardware and software required to produce
and implement these programs not included with the instrument, the concepts illustrated apply to most applications.
6.2.7.1
Visual Basic Serial Interface Program Setup
The serial interface program works with Visual Basic 6.0 (VB6) on an IBM PC (or compatible) with a Pentium-class
processor. A Pentium 90 or higher is recommended, running Windows 95 or better, with a serial interface. It uses the
COM1 communications port at 9600 baud. Use the following procedure to develop the serial interface program in Visual
Basic.
1. Start VB6.
2. Choose Standard EXE and select Open.
3. Resize form window to desired size.
4. On the Project Menu, click Components to bring up a list of additional controls available in VB6.
5. Scroll through the controls and select Microsoft Comm Control 6.0. Select OK. In the toolbar at the left of the
screen, the Comm Control will have appeared as a telephone icon.
6. Select the Comm control and add it to the form.
7. Add controls to form:
a. Add three Label controls to the form.
b. Add two TextBox controls to the form.
c. Add one CommandButton control to the form.
d. Add one Timer control to the form.
8. On the View Menu, select Properties Window.
9. In the Properties
window, use the
dropdown list to
select between the
different controls
of the current
project.
10. Set the properties
of the controls as
defined in
Table 6-7.
11. Save the program.
Содержание 325
Страница 4: ...Lake Shore Model 325 Temperature Controller User s Manual...
Страница 6: ......
Страница 22: ...Lake Shore Model 325 Temperature Controller User s Manual 1 10 Introduction This Page Intentionally Left Blank...
Страница 47: ...Lake Shore Model 325 Temperature Controller User s Manual 3 11 This Page Intentionally Left Blank...
Страница 48: ...Lake Shore Model 325 Temperature Controller User s Manual 3 12 This Page Intentionally Left Blank...
Страница 76: ...Lake Shore Model 325 Temperature Controller User s Manual 4 28 Operation This Page Intentionally Left Blank...
Страница 122: ...Lake Shore Model 325 Temperature Controller User s Manual 6 36 Remote Operation This Page Intentionally Left Blank...
Страница 128: ...Lake Shore Model 325 Temperature Controller User s Manual 7 6 Options and Accessories...