I'm sure this is obvious to many, but wasn't to me, so I thought to add a bread crumb to the trail.
I built a machine with a PCI-6221, removed that card and installed a PCI-6224. The device name assigned to the card was 'dev2' as 'dev1' had been previously assigned. Wishing to maintain a common configuration across several machines, I needed to rename the PCI-6224 to 'dev1'.
nidaqmxconfig --export NIconf.txt
vi NIconf.txt // change 'dev2' to 'dev1'nidaqmxconfig --import NIconf.txt --eraseconfigI then ran the test panel and confirmed 'dev2' was no 'dev1'. Hope this helps.