Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

finding Device indentifier

Hi All;
I'm trying to write software in an enviroment where the cards are alway being moved around.
In the program daqmxbase_listdevices the cards are enumerated ( eg NI 6031E: "Dev2") how do I get the same info?
I looked but I couldn't find the source for the program.
Pat
0 Kudos
Message 1 of 8
(4,254 Views)
Hi Pat,

I'm not sure I fully understand your question, but what it sounds like is that your devices are constantly changing and therefore the device names (eg Dev1, Dev2, etc...) are also changing. At any point you can find out the name of each device by going to Measurement and Automation Explorer, aka MAX, (which should have been installed with your DAQ drivers). Once you have MAX open, on the left hand side you should see a configuration box. Inside this box you should see My System and Remote System, each with a + sign next to it. Expand the My System tab, then expand the Devices and Interfaces tab - under this tab you should see Traditional NI-DAQ devices and NI-DAQmx Devices. When you expand either one of these tabs you should see a list of all your devices and their names (Dev1, Dev2...). You can press F5 to refresh this page.

I hope this is what you were looking for. If this is not, please reply with more information. Have a great day!

Jennifer
Message 2 of 8
(4,242 Views)


@PatFord wrote:
Hi All;
I'm trying to write software in an enviroment where the cards are alway being moved around.
In the program daqmxbase_listdevices the cards are enumerated ( eg NI 6031E: "Dev2") how do I get the same info?
I looked but I couldn't find the source for the program.
Pat





I'm using nidaqmx-base in Linux, so I need to get the info and parse it using C. All this has to be automatic, and happen at runtime.
Pat
0 Kudos
Message 3 of 8
(4,244 Views)
Ah, ha!

You need the Properties available in the full NI-DAQmx. These include DAQmxGetSysDevNames(), and other properties will give you model names, etc.

Unfortunately, these Properties are not available in NI-DAQmx Base via the C APIs. See my thread in
http://forums.ni.com/ni/board/message?board.id=250&message.id=9447#M9447 in this forum; title is DAQmx Base Properties.
John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com
0 Kudos
Message 4 of 8
(4,234 Views)


@wm John Weeks wrote:
Ah, ha!

You need the Properties available in the full NI-DAQmx. These include DAQmxGetSysDevNames(), and other properties will give you model names, etc.

Unfortunately, these Properties are not available in NI-DAQmx Base via the C APIs. See my thread in
http://forums.ni.com/ni/board/message?board.id=250&message.id=9447#M9447 in this forum; title is DAQmx Base Properties.




**bleep**! I read that tread just a little while ago, and had a sinking feeling! Is there any plans to fix this oversight??
Pat
0 Kudos
Message 5 of 8
(4,229 Views)
At this point in time, there are no plans to provide that support in NI-DAQmx Base. This driver is designed to provide a subset of the functionality available with NI-DAQmx for the sake of simplicity and therefore rapid development. However, we are certainly open to suggestions and encourage you to provide feedback on our products. You can formally submit feedback/suggestions regarding our products at the following page. Click on the "feedback" link under Product Feedback.

http://sine.ni.com/apps/we/nicc.call_me?p_action=country&p_lang_id=US
0 Kudos
Message 6 of 8
(4,165 Views)
Does anyone know why the DAQmxGetSysDevNames function would not work on a laptop system with a DAQ-DIO-24 PC card (pcmcia) adapter? (I have a separate thread on this issue too, search for DAQmxGetSysDevNames)

I can get DAQmxGetSysDevNames to work with PCI adapters, but not with the PC Card adapter for the notebook.


Thank you very much in advance for any information.

-Brandon
0 Kudos
Message 7 of 8
(4,059 Views)
Hello Brandon,

Another engineer already responded to your original post and I believe he is currently working on your issue. Please don't post the same question on different threads, this delays the process in getting back to your question.

Thanks,

LA
0 Kudos
Message 8 of 8
(4,039 Views)