Visual basic – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual
Page 223

10D. Getting Started
II. SOFTWARE GUIDES - 10. Driver488/W31
II-208
Personal488 User’s Manual, Rev. 3.0
#include “iot_main.h”
#include “iotmc60w.h”
These lines must be included at the top of your program before any calls to the Driver488/W31
subroutine functions are made. Notice that the header file
iot_main.h
must be in the module
containing your
main()
function and may not appear in any other modules.
For Borland C Users:
•
All programs need to include the following header files to run with Driver488/W31:
iot_main.h
iotbc20w.h
•
These header files must be included in your test program. To do so, insert the following lines:
#include “iot_main.h”
#include “iotbc20w.h”
These lines must be included at the top of your program before any calls to the Drvier488/W31
subroutine functions are made. Notice that the header file
iot_main.h
must be in the module
containing your
main()
function and may not appear in any other modules.
This file must be included in your test program’s makefile or link process. Due to the complexity
of makefiles, this discussion will not attempt to build a makefile but does include sample makefiles
for each of the examples used within the next Sub-Chapter “C Languages” in this Chapter.
For Borland C Users:
•
All programs need to include the following library in the link process to run with Driver488/W31:
drvr488.lib
This file must be included in your test program’s project file or link process. Due to the
complexity of project files, this discussion will not attempt to build a project file but does include
sample project files for each of the examples used within the next Sub-Chapter “C Languages” in
this Chapter.
Visual Basic
To successfully operate Driver488/W31, a text file must be included in the user’s application program.
The required library can be found in the language-specific subdirectory at the end of the path
\IEEE488\WINAPI
, if installed under the default conditions.
Required Files
In order to have access to all the Driver488/W31 functions, you must include the following file:
IOTVB10.TXT
You can accomplish this through the Add File item under the File menu. Type
*.TXT
into the
selection field to find the file in your project.
Certain functions provided by Driver488/W31 require that data structures be passed in a particular
format which is not easily generated from a VB application. Conversion functions are provided in:
IOTVB10.BAS
This file should be included in the Project Window. Using the VB File menu, select the item Add File
and select
IOTVB10.BAS
. At this point, all Driver488/W31 functions should be accessible.
Required Libraries
For Microsoft C & Quick C Users:
•
All programs need to include the following library in the link process to run with Driver488/W31:
drvr488.lib