LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview crashes because of a conflict between IMAQ and a dll

I am using a NI-IMAQ PCI 1422 acquisition card, and I'm controlling my camera with an I2C controller. The manufacturers provide a number of VIs to control their device, and these VIs work fine on their own, but when I integrate them with the acquisition VI, it crashes everytime it enters their function in their dll.
When I first execute a VI with the I2C only, it works, and then I can use it in conjunction with the acquisition, but when I don't do that after opening labview, the two won't work together.

I'm thinking that there is a conflict between the two I/O interfaces, but I can't figure out exactly what it is. The problem is that I don't have access to their code.

Does anyone have an idea
to go around this issue ?
Thanks,
Fred

P.S.: Here is a little VI showing one of their functions along with the labview 7 high Level grab VI, and the dll, for anyone who has IMAQ and would like to try
Download All
0 Kudos
Message 1 of 2
(2,548 Views)
It may be that the 12C VI is not properly closing out the session, but it is impossible to know since we cannot access the dll. Can you contact the company and find out more about what their VI is doing?

It may be that you just have to stick with running their VI separately.

Good luck!
0 Kudos
Message 2 of 2
(2,548 Views)