LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DQMH Modules sharing Resources

I’ve got a test system that has two transducers that I need to read continuously via analog input using a single cDAQ card. I’d like to use DQMH to write a separate module for each transducer, so that it’s easier to reuse the code for future test systems that only use one of the two transducers. But my understanding is, I can’t have multiple DAQmx analog input tasks running simultaneously if they use the same hardware resource. 

Is there a way around this, such that I could keep the modules running simultaneously yet independently? If not, my best guess is that I’d need to either (1) consolidate them to a single module, or (2) create a third, generalized module that handles both analog input tasks together and broadcasts the data separately to the two transducer modules. Neither of these seems awesome for code reuse, but maybe that’s just an inevitable problem for this situation.

0 Kudos
Message 1 of 1
(174 Views)