Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I run more than 1 task on a NI DAQmx 9188 chassis?

Hi,

 

I can't seem to run more than one task at a time.  This occurs using MAX and my LabVIEW stand alone app.  Do I need to stop a task and start a new one?  This seems slow and it makes it hard for me to get this working with the way my software currently works.

 

I'm trying this just on one 9214 TC module.

 

I'm using LabVIEW 2011 and DAQmx 9.4

 

Thanks,
Albert

0 Kudos
Message 1 of 4
(3,061 Views)

Hey Albertm,

       This issue you're running into has to do with resource reservation. When you start a task it reserves that resource and once reserved that device cannot be called by another task. The way to code this so that you can access multiple sensors at the same time is to add multiple channels to the same task. That way you're only reserving the device once while still acquiring data from all of the channels that you originally had in individual tasks. Hope this helps!

 

--Ryan S.

0 Kudos
Message 2 of 4
(3,023 Views)

Is there a way to make one task that can acquire analog and digital readings?  I can't seem to figure that out.

 

Thanks,
Albert

0 Kudos
Message 3 of 4
(3,003 Views)

No. You use two separate tasks.

0 Kudos
Message 4 of 4
(2,998 Views)