LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading multiple cDAQ9213's

Hello all,

 

My project is to create a graphical representation of temperature points inside of a box.

So far I have 4xcDAQ9213's wired up and functioning properly.

The part where I'm kind of stuck is finding an efficient way to set up all these channels(64).

I could set them up 1 by 1, but this is rather time consuming and I have a hunch there is a better way.

 

I want to be able to display each individual channel on the front panel to mimic real TC points inside the box showing their temperature in real time.

So far this is the code I have, there is a lot of useless reduntant bits please ignore those if you can. Thank you

Spaghetti bowl.PNG

0 Kudos
Message 1 of 4
(1,974 Views)

You need to go to the main LabVIEW forum page and look at the links near the top under LabVIEW training resources.  You will want to setup a task in MAX that contains the channels.

Or:

http://www.ni.com/product-documentation/5434/en/  Getting started with DAQmx

0 Kudos
Message 2 of 4
(1,969 Views)

Those tutorials are good for setting up a channel start to finish. Which I can do, but that's not my issue.

Finding a way to capture 64 channels and display them all at the same time on the front panel without having to cut and paste the same pile of code over and over is my issue.

So far non of the tutorials have aided me in this process.

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

The link below should help.  You need to create virtual channels in MAX and then you put those channels into a task.  Then you read the task in your program which will return the data for all the channels in the task.

http://www.ni.com/tutorial/5375/en/

 

You can also search the MAX help file for Creating tasks and channels.

0 Kudos
Message 4 of 4
(1,933 Views)