ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to select channels of different boards

Hello,

 

I am acquiring with 2 boards (4 analog +-10V channel per board). I would like to know how to select (with a listbox or something like this) wich channels acquire. For example channels Ai0 and Ai1 for the board 1 / / Channels Ai0, Ai1 and Ai2 on board 2. Somebody can give me some idea¿?

 

Thank's!!

 

 

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

An easy way would be to set up global virtual channels in NI MAX Explorer. You can set all of the channels up here add the scaling and it will not matter how many devices that you are reading from. Then inside you program you can get the analog channels avaliable from the global virtual channels and populate an enumerated or ring control.

Tim
GHSP
0 Kudos
Message 2 of 4
(2,592 Views)

Hi TXL,

 

the best way of doing that is creating several DAQmx tasks in MAX and using them in LabVIEW. Every task must contain the channels of the boards you want to use in your application.

 

The best document of creating task and using them after that in LabVIEW is the following webcast:

 

http://zone.ni.com/devzone/cda/tut/p/id/5374  >> http://www.ni.com/swf/devzone/task/

 

For further information, see Getting Started with NI-DAQmx in the following link:

 

http://zone.ni.com/devzone/cda/tut/p/id/5434

 

I hope this information helps you!

 

Saludos. Jesus

0 Kudos
Message 3 of 4
(2,572 Views)

The information was realy useful. but, there is any option to create a list box to choose the channels you want to use in a concret measurement¿?

0 Kudos
Message 4 of 4
(2,560 Views)