From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-07-2007 04:24 AM
05-07-2007 04:33 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
05-07-2007 08:05 AM
3 ways to handle this
1. Force the card to be a specific device name "dev1", "dev2" ... Rigid solution places workload on user/ system configurer, but requires no software mods.
2. Use daq channel control, this will self populate with acceptable channels, requires little work but also allows the user to unnecessarily change working channels. If you choose this option use the filtering option to allow for the fewest choices to minimize chance for an invalid config.
3. Scan the system using the DAQmx system property node-> devices property. You can get an array of devices in the system, a little logic will be able to find an appropriate (depending on the ambiguity in the config) device to use.
None of these are fool proof since the permutations of possible devices in a system are endless but you can minimize the possibility.
Paul
05-07-2007 08:03 PM