LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

filter the pull down menu of physical channels control

Hello all,

 

I need help, I'm desperate! Smiley Sad

I'm trying to create a software recording data from an accelerometer by using a NI USB-9234 device. So in order to do that, I linked a physical channels control to DAQmx create channel. The thing is, I want to display in the pull down menu, only the physical channels attached to the NI device specified above. And besides, I'd like this to be done automaticaly, meaning that no matter what is the name of the device (dev1, dev2, dev3...), the pull down menu will display the four physical channels attached to the specified device.

Am I clear ?

 

I know that by right-clicking on the physical channels control, I can filter it but I can't manage to figure it out how to filter by specifiying a device. Maybe by using property nodes...I don't know.

 

If somebody has a solution, that would be much appreciated.

 

Thanks a lot

 

 

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

You can configure IO Name Filtering by choosing the following option in the context menu:

 

IONameFiltering.png

 

But you cannot select a certain device type there, but only certain device names (which is a huge difference).

So the easiest way to accomplish your task is to define a name for your USB-9234 (like MyDevice) and then limit the selection to "MyDevice".

You have to make sure, that each PC using the application as aware of "MyDevice". This setting is done in MAX (Measurement and Automation Explorer) and can be distributed with your application using the Application Builder (or manual export/import within MAX).

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 3
(2,455 Views)

Thanks for your answer...

I'm gonna try this and I get back to you....

 

Smiley Happy

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