NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member B
Member
B
Posts: 12
0 Kudos

[Q] Creating an IVI driver *.bas file

The VXIPNP specs require a *.bas file to accompany an IVI driver for the
WinNT framework. We're using LabWindows/CVI to create our IVI drivers.
But so far we haven't been able to create the *.bas file. I got far
enough to get an error message that "cvirte.h" has types that VB can't
deal with. But it's the IVI wizard - not I - who's including that file.

Has anyone succeeded in creating the *.bas file, and if so then how?

(My call to National tech support didn't help. The tech I dealt with
simply couldn't seem to grasp that the *.bas file is a 'requirement'.
He (correctly, I assume) states that it's not needed since VB can now
interrogate a DLL. But that doesn't do anything towards complying with
the VXIPNP requi
rement for a *.bas file.)

TIA for any help ...



B
--
ande at san dot rr dot com
Active Participant
SachaE
Posts: 870
0 Kudos

Re: [Q] Creating an IVI driver *.bas file

Double-click on the ".h" file in the project window to open it. Select Options » Generate Visual Basic Include. Take note of the DLL name in the "Confirm DLL Base Name" windows before you click OK, as you will need to know this file name in a future step. This will create the ".bas" module that will be included in the Visual Basic project.

Hope that helps

S.
// it takes almost no time to rate an answer :smileywink:
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page