
Lake Shore Model 325 Temperature Controller User’s Manual
6-10
Remote Operation
6.1.5
IEEE Interface Example Program
A Visual Basic program is included to illustrate the IEEE-488 communication functions of the instrument. Instructions
for setting up the IEEE-488 board is included in Section 6.1.5.1. Refer to Section 6.1.5.2 for instructions on how to setup
the program. The Visual Basic code is provided in Table 6-2. A description of program operation is provided in
Section 6.1.5.3. While the hardware and software required to produce and implement these programs is not included with
the instrument, the concepts illustrated apply to most applications.
6.1.5.1
IEEE-488 Interface Board Installation for Visual Basic Program
This procedure works for plug and play General Purpose Interface Board (GPIB) hardware and software for
Windows 98/95. This example uses the AT-GPIB/TNT GPIB card.
1. Install the GPIB plug and play software and hardware using National Instruments instructions.
2. Verify that the following files have been installed to the Windows System folder:
a. gpib-32.dll
b. gpib.dll
c. gpib32ft.dll
Files b and c will support 16-bit Windows GPIB applications if any are being used.
3. Locate the following files and make note of their location. These files will be used during the development process
of a Visual Basic program.
a. Niglobal.bas
b. Vbib-32.bas
NOTE
:
If the files in Steps 2 and 3 are not installed on your computer, they may be copied from your
National Instruments setup disks or they may be downloaded from www.ni.com.
4. Configure the GPIB by selecting the System icon in the Windows 98/95 Control Panel located under Settings on the
Start Menu. Configure the GPIB Settings as shown in Figure 6-5. Configure the DEV12 Device Template as shown
in Figure 6-6. Be sure to check the Readdress box.
6.1.5.2
Visual Basic IEEE-488 Interface Program Setup
This IEEE-488 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. It assumes your IEEE-488
(GPIB) card is installed and operating correctly (refer to Section 6.1.5.1). Use the following procedure to develop the
IEEE-488 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, select Add Module, select the Existing tab, then navigate to the location on your computer to
add the following files: Niglobal.bas and Vbib-32.bas.
5. 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.
6. On the View Menu, select Properties Window.
Содержание 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...