Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the best way to perform DAQ in larger system?

Solved!
Go to solution

I have a relatively simple PXI hardware setup requiring real-time software to perform the DAQ and provide the feedback to the user.  Somewhere on the order of 150 discrete outputs, 55 discrete inputs, some analog, etc.  My question is this:  Does anyone know of a whitepaper, etc. that describes the best way to setup the DAQ?  For example, is it better to put all discrete outputs on a single task and manage the states in memory (150 Boolean elements) before writing them all to DAQmx, or is there a benefit in execution time/memory to open a task for each channel and handle each signal individually.  Will the driver even let me do that?

 

Synchronization is not a concern, but driver hangs are, so I'd like to get the best performance out of DAQmx. 

 

Has anyone explored this?

 

Dan

0 Kudos
Message 1 of 2
(2,770 Views)
Solution
Accepted by topic author thisisnotadream

Hi Dan,

      In order to optimize your application, you'll want to create as few tasks as possible.  When you create a task, you're applying all of the settings of that task (which would be like making 150 calls to the hardware).  As far as whitepapers go- some of your concerns are addressed toware the bottom of this FAQ document.  Hope this helps, let me know if you need something more specific.  Have a great day!

 

0 Kudos
Message 2 of 2
(2,750 Views)