ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
07-14-2010 11:42 AM
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!!
07-14-2010 11:48 AM
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.
07-15-2010 02:46 AM
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
07-15-2010 10:41 AM
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¿?