Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

MISSING: NiDAQ MX C API

Well, yes.  Now we come to the nub of the problem, when I try to browse (from within VB6) to that file location, it does not show up.  Yet, if I use the Windows Explorer to browse to the file location it is clearly there.  (please see attached, slide 2)  Is there some sort of registration process that needs to occurr before the file becomes visible from within VB6?

0 Kudos
Message 11 of 12
(2,919 Views)
Hello JasonAtSeagate,

  1. Did you install DAQmx or just copy the tlb? You will need the rest of the DAQmx driver and not just nidaqmx.tlb.  For example, nicaiu.dll.
  2. The applications is probably redirecting itself to sysWOW64 when looking for the DLL since it is a 32-bit application. Here is an MSDN article on redirection in XP.
  3. Review http://ae.natinst.com/public.nsf/web/searchinternal/735848148b5b4964862571f5004692c7?OpenDocument. In particular look through the link at the bottom to the help document. This article shows the path to the VB 6 help for DAQmx. Start»Programs»National Instruments»NI-DAQ»Text-Based Code Support»NI-DAQmx C API Visual Basic 6.0 Help. In that help there are a few sections that are important.
    a. Overview>>What's Installed
    b. Overview>>Getting Started
    c. nidaqmx.tlb in Visual Basic 6.0>>Adding a Reference to nidaqmx.tlb
    d. Frequently Asked Questions>>Why Should I use a type library instead of a .bas file?
  4. Also review http://ae.natinst.com/public.nsf/web/searchinternal/19315efa249522a58625724a0066ed42?OpenDocument.

Let me know if you have questions.

Regards,

Shawn S. | NIC
Instrument Driver/IVI PSE
National Instruments
0 Kudos
Message 12 of 12
(2,889 Views)