03-14-2007 10:24 AM
03-14-2007 01:51 PM
03-15-2007 12:23 PM
03-21-2007 07:04 AM
Hi ,
thanks for ur time. Instead of using one DAQ assistant for each channel i used single DAQ assistant to read all 8 channels and extracted the data as an array. After doing this the DAQ was reading the analog inputs properly.
03-21-2007 07:17 AM
03-21-2007 07:17 AM
03-21-2007 07:28 AM
Hi,
You can only have one input task and one output task configured for a DAQ device at any one time. Each 'DAQ assistant' creates a DAQmx task. So you will not be able to use separate 'DAQ assistants' for different inputs, because doing so effectively creates multiple input tasks.
Let me know if you have any other questions.
Way S.
NI UK Applications Engineer
03-21-2007 08:30 AM
03-21-2007 08:45 AM
Of course hightlight execution works. You are not running both assistants at the same time. I'm sure your other program is enforcing data flow in a way your probably don't understand but they are executing sequentially. Just add all of your channels to the same assistant. There are instructions on how to do it when you start the assistant but all you have to do is hold down the CTL or SHIFT key to select multiple channels. Even if you choose to sequentially start two or more separate assistants, that is a very inefficient method as each time the task for each has to started and stopped.
@Shash.jain wrote:
if that is the case. I am using 8 analog output in the same application and i have used 8 separate DAQ for 8 outputs and they are working fine.and the same attached VI works well if " Highlight execution " button is pressed. Problem occurs only if u run the application.
03-21-2007 10:47 AM