LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Tasks

If I include same channels in two different tasks will my system allot different resources to them, or it will allot same resource due to same channels included in two different tasks created because of which if you initialize both the resources simultaneously it can pose resource related error.

0 Kudos
Message 1 of 4
(194 Views)

Hi sesinfo,

 


@sesinfo wrote:

If I include same channels in two different tasks will my system allot different resources to them, or it will allot same resource due to same channels included in two different tasks created because of which if you initialize both the resources simultaneously it can pose resource related error.


Wouldn't it be much quicker/easier if you would just test/start your two tasks in parallel?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(192 Views)

You can't use a channel in more than one task. You will get Error -50103

Case 3: Using multiple tasks to access the same physical channels on a data acquisition board.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 3 of 4
(156 Views)

@sesinfo wrote:

If I include same channels in two different tasks will my system allot different resources to them, or it will allot same resource due to same channels included in two different tasks created because of which if you initialize both the resources simultaneously it can pose resource related error.


... why include the same channel in more than one DAQmx task?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 4
(152 Views)