Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Program hangs when using 2 USB-6008 DAQ's for analog input

I am attempting to utilize two USB-6008 multi function Daqs to obtain continuous simple analog input waveforms. My initial program worked with 1 USB-6008 but hangs after a few sample cycles when I have two USB-6008's providing input. I have attempted creating a simple VI with just the 2 USB-6008's with only graphical indicators and still have the same results (using 4 analog inputs RSE from each DAQ). The only way in which I can get them to function is to use on demand sampling, which is not as desireable for my application. This strikes me as a buffering problem but I am unsure as I recieve no errors, the computer just hangs perpetually. Any guidance on where my error may be or how to resolve this problem would be greatly appreciated.
0 Kudos
Message 1 of 3
(3,208 Views)

Post your VI or atleast the Block diagram of it.

A hint: since you say continous acqiusition for both cards, Keep the acquisition code of each card in a seperate while loop( have 2 seperate acquisition loops in the same VI)

Message 2 of 3
(3,191 Views)

Well, your hint was the Key and there is no need for a posting of the VI. I had placed the boards into individual while loops, but their respective signals were routed outside of the while loop to different tasks. I placed all of the associated code for each of the aquisition units into the same loop and the aquisition unit and everything runs beautifully now. Thank you for the Hint!!

0 Kudos
Message 3 of 3
(3,183 Views)