LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

when DAQmx tasks are created, does the choice of Device matter later on....

Hi,

If I created a DAQmx task with Device A but later on switch to Device B, but only the configdata file generated by MAX was updated, is this enough or there is something buried in the task VI I saved that will create problems?



hellolv
0 Kudos
Message 1 of 3
(2,642 Views)
Hi,

I am not sure I get your point... If you have 2 devices I suggest you create 2 DAQmx tasks, each one with its own settings.
Or if device A and B are for instance DI devices, you can create only 1 tasks that reads all the channels (channels of device A AND B).

If you describe a bit more what you are trying to do and what devices you have, we'll able to provide more appropriate advice.

Hope this helps.




We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 3
(2,635 Views)

I think this is what you are trying to get out.  If you create a task then in the task it is tied to Dev1/aio let's say.  Now you install a new device.  It will more than likely be called Dev2.  In order to use the new device without changing the task you will need to rename it to be Dev1.  If the original device is still in the system then you will need to call it something else first. 

If you remove the original board and install a new one I believe the task will be broken, but if you double click on it it will let you repair it by pointing at the correct device.  Hope this answers your question.

 

StuartG

0 Kudos
Message 3 of 3
(2,628 Views)