Seyar
2007-08-31 09:40:10 UTC
Hello all, I'm try to make some acquistion with an PCI 6534 board with Nidaqmx and VB6.
My program works fine in Nidaq traditionnal but I decided to move to Nidaqmx, to uptdate my application.
I need to use the function DAQmxReadDigitalU16 in VB6.
The problem is that this function is not recognized in VB6 !!
all the function used below are recognized :
DAQmxCreateTask
DAQmxStartTask
DAQmxCfgSampClkTiming
and even DAQmxReadDigitalLines ( but I don't need to use this last function in my program)
I noticed that DAQmxReadDigitalU8, DAQmxReadDigitalU16 ,DAQmxReadDigitalU32 and DAQmxReadDigitalScalarU32 are not recognized !!!
I have the reference nidaqmx.tlb used in VB6, and NidaqmxErrorCheck.bas used as a module.
I don't understand where is the problem.
some function like DAQmxReadAnalogF64, used for Analog Input in analog card only, are recognised as well by VB6 (of course not usable with my card).
So where is the problem ?
My program works fine in Nidaq traditionnal but I decided to move to Nidaqmx, to uptdate my application.
I need to use the function DAQmxReadDigitalU16 in VB6.
The problem is that this function is not recognized in VB6 !!
all the function used below are recognized :
DAQmxCreateTask
DAQmxStartTask
DAQmxCfgSampClkTiming
and even DAQmxReadDigitalLines ( but I don't need to use this last function in my program)
I noticed that DAQmxReadDigitalU8, DAQmxReadDigitalU16 ,DAQmxReadDigitalU32 and DAQmxReadDigitalScalarU32 are not recognized !!!
I have the reference nidaqmx.tlb used in VB6, and NidaqmxErrorCheck.bas used as a module.
I don't understand where is the problem.
some function like DAQmxReadAnalogF64, used for Analog Input in analog card only, are recognised as well by VB6 (of course not usable with my card).
So where is the problem ?