05-20-2021 05:03 PM
Hello,
I have successfully installed NI-DAQmx on a Windows 7 64-bit machine. I can control a PCI-6503 from the test panel in NI-max. So far so good...
I have a VB program that I was using on a Windows 2000 machine, using a PDIO-24 card, that made calls to nidaq32.bas.
When I try to run the VB program on the Windows 7 machine, using the PCI-6503, I get an error.
When I try the Dig_Prt_Config command I get an error:
(10040) Module could not be loaded.
What should I do to troubleshoot this?
Thanks,
Geoff
05-20-2021 07:05 PM
What you should do is don't. Don't troubleshoot. There will be no solution that uses your old VB program as-is nor the nidaq32.bas API file it relies on.
DAQmx is a different driver than the old NI-DAQ, and there is no one-for-one mapping between NI-DAQ function calls and DAQmx function calls. When you move to DAQmx, you *must* rewrite the parts of the code that use the driver API.
-Kevin P
05-21-2021 10:37 AM
I see there are downloads available of "Traditional" Ni-DAQ. Is that usable without modification?
I apologize for my lack of understanding the inner workings, but I originally put this system together many years ago and have not had to touch it.
05-21-2021 11:13 AM
No, traditional NI-DAQ is not supported for Win7 64-bit (or any other 64-bit OS). More info here.
You might be able to get it going on a PC with a 32-bit Windows OS, but you definitely shouldn't rely on that for the long run. Maybe just long enough to buy yourself time to redo the code with DAQmx.
I don't love being forced into upgrades either, but the longer you wait the less likely you'll be able to cobble together a transition system.
-Kevin P
05-21-2021 01:08 PM
Thanks, I'll give it a try on a 32-bit machine. If it works it will get me up and running while I re-write dozens if scripts.
05-21-2021 04:41 PM
OK, I've been round & round about this...
Is there a download site for Traditional (Legacy) Ni-DAQ 7.5? I believe that is compatible with Windows 7 32-bit.
The only thing I can find labelled 7.5 is DAQmx.
05-21-2021 06:07 PM
Disregard last message...
Found it here:
Index of /support/daq/pc/ni-daq/traditional/7.5-Beta