Joerg,
LabVIEW and LabWindows/CVI take the configuration from MAX. MAX reads the DAQ configuration from the file niconfig.daq, but if you are using other type of boards, MAX also reads other configuration files.
You can save the niconfig.daq in MAX by going to the menu Tools>>NI-DAQ Configuration>>Save Configuration As. Later on you can load a configuration in MAX by going to the menu Tools>>NI-DAQ Configuration>>Set Active Configuration.
The DAQ configuration file is very useful to store the characteristics of VIRTUAL CHANNELS and SCALES. However, it will not store the logical device number of a board (in MAX, this is the Device Number).
The Device Number of a board is assign by NI-DAQ at start-up and it depends on how the PCI bus is enumerated. The architecture fo the PCI bus changes from manufacturer to manufacturer, so the way the PCI bus will be enumerated will change from one computer to another.
A PXI chassis uses a PCI bus too. For every combination of National Instruments PXI chassis and PXI controllers, we provide a PXI Configuration File (PXISYS.INI) that describes the architecture of the PCI bus. NI-DAQ reads this file and assigns a Device Number that corresponds to the Slot number in the PXI chassis where the DAQ board is installed.
So in the case of a PXI system, if you are interested in having a stable configuration, make sure the appropriate PXISYS.INI file is saved in the System directory of your computer and that the DAQ boards are always installed in the same slot. This way, you can save and load the DAQ configuration (a *.daq file) that you want.
You will find more detailed information in the links below.
Hope this helps,
Claudia Lorente
Applications Engineer
National Instruments
KnowledgeBase 1EGB71UI: What Are PXISYS.INI and CHASSIS.INI?KnowledgeBase 2CFE965P: Slot Detection of PXI ModulesKnowledgeBase 2E1AJUQI: Correlation of PXI DAQ Device Number to PXI Slot NumberKnowledgeBase 2MDFG2WD: Programmatic PXI Slot Detection