Multifunction DAQ

取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 4 条)
3,403 次查看

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 项奖励
2 条消息(共 4 条)
3,365 次查看

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 项奖励
3 条消息(共 4 条)
3,345 次查看

No. You use two separate tasks.

0 项奖励
4 条消息(共 4 条)
3,340 次查看