01-11-2006 11:34 AM
01-11-2006 11:51 AM
01-11-2006 12:42 PM
Hi Stefan, Thanks for the confirmation of my suspicion. My primary reason is that my present project is using a USB-6016 OEM, which makes it very portable. The device name appears to be linked to s/n of the hw. So if I connect one unit to my PC, and manually rename the device name (as NI-Max defaults it to Dev1) to e.g. FRED. If I unplug it and try connecting different 6016, I need to go into NI-MAX, delete the first one, and rename DEV1 to FRED again. I'm trying to automate production test, where they have one PC and many units to verify, so this process is repeated over and over again. If I could write a util to perform the rename, that would be so much more efficient.
Secondly, it makes end customer live easier, if I could config via a utility app, as opposed to instruction them to run NI-MAX, navigate the tree, make the change. Especially, if they have mulitple units, and as swapping them around.
Roman.....
01-12-2006 09:48 AM
07-16-2013 10:00 PM - edited 07-16-2013 10:02 PM
To Stefank,
If not for the selection of the task control by manually, what other ways are there to select the device of the same model automatically, without any user intervention, not to mention renaming the devices?
Cheers
Clement
07-18-2013
04:48 PM
- last edited on
08-06-2025
02:52 PM
by
Content Cleaner
The information in this thread is a bit outdated (it's from 2006).
There now exists a System Configuration API which may be used to programmatically rename devices.
However, depending on your application you may prefer to programmatically determine assigned hardware names and use these instead rather than renaming the devices (I did this just the other day for an Ethernet cDAQ configuration). There a number of DAQmx properties available to you to help with this endeavor (Product type, serial number, etc.). This functionality is part of DAQmx and can be used without requiring the System Configuration API.
Best Regards,
09-20-2013 08:15 AM
did you find any solution for your query?
i am also looking for same information, how to change DAQmx device name programatically?
Looking forward for some help.
Regards
Pramod
09-20-2013
11:00 AM
- last edited on
08-06-2025
02:52 PM
by
Content Cleaner