Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing Nidaq32.dll in two exe file

I need to run two exe applicatuions at a time which is using Nidaq32.dll. But its showing error like "Nidaq32.dll file not found"
I hope i will get response for this query as soon as possible.
 
 
 
 thanks in advance  
0 Kudos
Message 1 of 2
(7,006 Views)

Hi,

 

Thank you for posting to the NI forums.  Which version of Traditional DAQ are you using?  Does the error occur when you run a single executable or just when you run one executable?  What programming language are you using?

 

Traditional DAQ is multithread-safe, which means that two threads can use the driver.  However, the driver itself is not multithreaded.  Therefore, two threads can use the same piece of code of the driver (for instance, acquiring analog inputs), but the second thread must wait for the first to finish.

 

DAQmx on the other hand is multithreaded, which means that two threads can use the same portion of the driver – however, the threads must be related to separate devices.

 

Please post back with more information about your application.  In the mean time, I’ve placed a link below from another related discussion forum.

 

Installing NI-DAQ 7.5 driver causes error "nidaq32.dll not found" error in old VB6 code

 

I hope this helps.

 

Ed W.

Applications Engineer

National Instruments

0 Kudos
Message 2 of 2
(6,990 Views)