Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

trying to run NI-DAQmx examples in VB express 2005

Hi,
 
I'm making my first steps in Ni-DAQmx programming. I'm using VB express 2005 (since I'm also not an expert in VB).
In order to understand the NI-DQAmx programming, the first step was to understand the provided examples.
I'm checking the WriteDigChan example.
The first issue is that the VB express 2005 will perform the "upgrade" of the program from VB 6 to VB express 2005.
After adding the reference "NI DAQmx C API" to the project and "NIDAQmxErrorCheck.bas" module (as well explained in the "NI-DAQmx Support in Visual Basic 6.0" support document, I try to build the program, and I have the following error in several lines:
" DAQmx is not a member of 'NIDAQmxCAPI' "
 
What is missing ?
 
In the help of this error, it says:
"
In Visual Basic 6.0, all methods of a COM object were supported whether they were exposed as methods on a class or methods on a module. Most COM objects only expose class methods; however, some objects such as the DirectX library also expose module methods.

In Visual Basic 2005, only the methods on a class are exposed to COM interop; Visual Basic 6.0 code that accesses methods on a module cannot be upgraded "

When I go to the object browser, I can not find any of the "task" configurations that is explained in the "NI-DAQmx C reference help". Why ?

Thanks,

 

0 Kudos
Message 1 of 1
(2,901 Views)