Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error using lvdaq.dll

Hello,

We have a "large" labview program that we wrote and sell commercially (called DMC). It works fine in our first computer (Win XP), using a PCI-6036E DAQ card. Then, I installed a PCI-6032E DAQ card in a second computer running Win XP. When I run DMC on this second computer it immediately gets errors. There are various errors, depending on which subvi being accessed. But, the errors are all a result of the library lvdaq.dll being called with a "Call Library Function Node". In each incident, if the "Call Library Function Node" doesn't output zero as one of the parameters, an error occurs. I don't know much about lvdaq.dll, it is being called inside Labview VI's. But, I just broke it down to the cause of the error.

So, it runs fine on the first computer and not on the second. I looked in MAX and the device names are identical for the DAQ cards.

How can I begin to fix this problem?

Thank you,
-Andy
0 Kudos
Message 1 of 5
(5,796 Views)

Andy,

On the 2nd computer are you logged into the machine as an Administrator? There is a chance that the errors you are seeing are related to not having write permissions to the C:\Program Files\National Instruments\LabVIEW7.1\vi.lib directory.

If that doesn't do the trick for you could you maybe give some of the more commonly received error codes and error messages? That might help to narrow the search and find a solution.

Finally, there is a chance that the drivers were somehow corrupt on the 2nd computer. If that is the case you will want to uninstall the drivers, download the latest version of NI-DAQ (NI-DAQ 7.4), and install the latest version on your machine.

The main difference between the 2 boards appears to be that the PCI-6032E only samples up to 100kS/s whereas the PCI-6036E samples at up to 200kS/s. You may want to double check that you are asking the PCI-6032E to do operations that are within its specs.

0 Kudos
Message 2 of 5
(5,775 Views)
Hello,
Thank you for your quick response. I eventually found the problem thanks to your suggestions. I put the PCI-6036E card in the 2nd computer and the software works! So, we just ordered another 6036 DAQ card. I still am not sure why the 6032 card does not work with the software. We have used this same software with that card before (on an older computer).

-Andy
0 Kudos
Message 3 of 5
(5,761 Views)

One of the potential causes of an error with the lvdaq.dll is a corrupt installation of the drivers. I was hesitant to recommend an uninstall/reinstall at the time because I thought it might be more aggressive of a solution than you needed.

However, since you were able to get it working in another computer, then that seems to confirm that something might have become corrupted with the installation of NI-DAQ. If you want to get it working on the original computer then I would recommend going to Start » Control Panel » Add or Remove Programs » National Instruments Software » Change and remove NI-DAQ and Traditional NI-DAQ.

Ultimately though, I'm glad to hear that you found a workable solution.

0 Kudos
Message 4 of 5
(5,750 Views)
Hello!
I have the same problem with 2 differents daqcard: One work but the other that is a different model have error like:
Error -10008 occurred at DIO Port Write
Possible reason(s):
NI-DAQ LV:  Le groupe n'est pas valide.(French: The group is invalide)
One computer work with lvdaq.dll on labview and the others work with a file name nidaq32.dll but on a VBA code
I have to change the program in VBA to the program using labview and lvdaq.dll on the second computer
If somebody found a "Real" Solution  please Help me!
Thank
 
 
Stintense
0 Kudos
Message 5 of 5
(5,598 Views)