Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use NIDAQ32.dll with more than one application?

We have some third party hardware and software which uses a PCI-6602 board and NIDAQ. I wanted to use some of the functions of the board for something else in a VB 6.0 program, but I always got errors with NIDAQ32.dll not being found if the third party software was running. It worked fine if I closed their software. I talked to NI, and they said you could not access a board with two applications at once. Fine, so I bought a PCI-6601 to put in the system to do my other functions. However, I still get the same error, saying the NIDAQ32.dll can not be found when I try to run my VB program. Anybody have a solution? I really need this to work, or this board is pretty useless to me...

-Matt
0 Kudos
Message 1 of 2
(5,790 Views)
Matt,

You CAN access a board with two applications at once. However, you can not access the same resource on a board with two applications at once. Analog input, analog output, and digital I/O are each their own separate resources. Each individual counter is a separate resource. Since your application works fine with the third-party software closed it sounds like your third-party software is doing something to the NIDAQ32.dll. I recommend contacting the developers of the third-party software and finding out what they are doing with the NIDAQ32.dll and if they even intended other applications to access the DLL at the same time.

Ames
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(5,790 Views)