For each device, MAX will use an unique device number.
This is no problem with fixed measurement equipments.
With USB devices this may become a problem.
On a school, a student will work with different combinations of computer and device.
If the student wants to use his program with a different device, he will get an error.
Even if the device is the same type, but has a different serial number.
To solve it, the student needs to open all DAQ routines and to alter the device number.
Or he needs to change the DAQ assistant routine into a VI and change the constant device number by a routine as shown in DAQmx device to use.vi.
This same problem occurs when using NI-IMAQdx devices.
Solution:
Make it possible to select a device by type instead of a device by number.