From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create a task to ni cdaq conect by ehternet

hi everybody

 

I am doing a program, that i create a task for a cdaq card but i connected it using USB,

 

now i am going to change the cdaq, to a new cdaq that i connect ussing ehternet, my queston  is, if i want to create a new trask for this card, how can i do??

 

is the same way that if i connect by usb??

 

 

or changes all the programation...?

 

 

thanks!

0 Kudos
Message 1 of 3
(1,935 Views)

Hi Alan,

 

I never created a Task inside the program, I usually create them on MAX, but I believe it is about the same thing. Make sure the cDAQ chassis is recognized in MAX. Once it is found, you can provide each module a name (as in "Dev1" for USB devices), and then I believe you can use this given name to create any task you want.

 

 

0 Kudos
Message 2 of 3
(1,915 Views)

The ethernet cDAQ chasis will be recognized in MAX just like any other DAQ device connected to your computer.

 

(as rodmar said) once it is recognized in MAX, you program it the same as your USB device.  Depending on your module and task you may even be able to keep your code identical and just change the physical channel to your ethernet cDAQ device.

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 3 of 3
(1,908 Views)