Lake Shore Model 460 Gaussmeter User’s Manual
4-10
Remote Operation
4.1.4.3
IEEE-488 Interface Board Installation for Quick Basic Program
This procedure works on an IBM PC (or compatible) running DOS or in a DOS window. This
example uses the National Instruments GPIB-PCII/IIA card.
1. Install GPIB-PCII/IIA card using National Instruments instructions.
2. Install NI-488.2 software (for DOS). Version 2.1.1 was used for the example.
3. Verify that config.sys contains the command: device = \gpib-pc\gpib.com
.
4. Reboot the computer.
5. Run IBTEST to test software configuration. Do not install the instrument before running
IBTEST.
6. Run IBCONF to configure the GPIB – PCII/IIA board and dev 12. Set the EOS byte to 0AH and
Enable Repeat Addressing to Yes. See Figure 4-3. IBCONF modifies gpib.com.
7. Connect the instrument to the interface board and power up the instrument. Verify the address
is 12 and terminators are CR LF.
4.1.4.4
Quick Basic Program
The IEEE-488 interface program in Table 4-3 works with QuickBasic 4.0/4.5 or Qbasic on an IBM
PC (or compatible) running DOS or in a DOS window. It assumes your IEEE-488 (GPIB) card is
installed and operating correctly (refer to Paragraph 4.1.4.3). Use the following procedure to
develop the Serial Interface Program in Quick Basic.
1. Copy c:\gpib-pc\Qbasic\qbib.obj to the QuickBasic directory (QB4).
2. Change to the QuickBasic directory and type: link /q qbib.obj,,,bqlb4x.lib; where x = 0 for QB4.0
and 5 for QB4.5 This one-time only command produces the library file qbib.qlb. The procedure
is found in the National Instruments QuickBasic readme file Readme.qb.
3. Start QuickBasic. Type: qb /l qbib.qlb. Start QuickBasic in this way each time the IEEE interface
is used to link in the library file.
4. Create the IEEE example interface program in QuickBasic. Enter the program exactly as
presented in Table 4-3. Name the file “ieeeexam.bas” and save.
5. Run the program.
6. Type a command query as described in Paragraph 4.1.4.5.
7. Type “EXIT” to quit the program.
Summary of Contents for 460
Page 4: ......
Page 7: ...Lake Shore Model 460 Gaussmeter User s Manual ...
Page 8: ......
Page 108: ......