Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

nidaq32.bas and Windows 7

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

0 Kudos
Message 1 of 7
(1,531 Views)

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

ALERT! LabVIEW's subscription-only policy coming to an end (finally!). Permanent license pricing remains WIP. Tread carefully.
0 Kudos
Message 2 of 7
(1,498 Views)

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.

0 Kudos
Message 3 of 7
(1,485 Views)

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

 

 

ALERT! LabVIEW's subscription-only policy coming to an end (finally!). Permanent license pricing remains WIP. Tread carefully.
0 Kudos
Message 4 of 7
(1,482 Views)

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.

0 Kudos
Message 5 of 7
(1,477 Views)

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.

0 Kudos
Message 6 of 7
(1,470 Views)

Disregard last message...

 

Found it here: 

Index of /support/daq/pc/ni-daq/traditional/7.5-Beta

0 Kudos
Message 7 of 7
(1,466 Views)