Just to throw another idea out there. You can use System Configuration API to query the devices that are DAQmx based installed on the system. You can get Hardware type / Device Model from then query the device (resource) name from there. I have used this before to find a certain model of hardware in my system and then pass that resource name to my code, in this case your DAQ assistant.
This way it's doesn't matter if the device name changes you just always look for a specific hardware model. Just my $0.02. There are a good number of System Configuration API examples in the Example Finder.
Aaron W.
National Instruments
CLA, CTA and CPI