Can I Copy My "niconfig.daq" File from One Computer to Another? Primary Software: Utility Software>>Measurement & Automation ExplorerPrimary Software Version: 3.1 Primary Software Fixed Version: N/A Secondary Software: Driver Software>>NI-DAQ, Driver Software>>NI-DAQmx
Problem: I used Measurement & Automation Explorer (MAX) to configure my data acquisition (DAQ) boards and to create some virtual channels. I wanted to use the same configuration on a different computer, so I was going to copy the "niconfig.daq" file from the original computer to the second computer. Will this work? Solution: Yes, you can copy the "niconfig.daq" file between multiple computers. However, there are some issues you need to be aware of first. The niconfig.daq contains Traditional NI-DAQ information only. If you are using NI-DAQmx you should use the import/export wizards. (see link Transferring DAQmx Configuration between Remote Systems) For PCI devices, the configuration file maintains a record that a specific device has a particular device number (for instance, 1) and is on a particular PCI bus and slot in your computer (for example, bus 0 and slot 0xF), and that the virtual channels are associated with that device number. When you copy the configuration file to another computer, if that computer has the same type of device, and that device is in a slot with the same PCI bus and slot ID as on the original computer, the device in the configuration file will match up with the physical device and you will not have to make any changes to the configuration file. However, in practice it usually doesn't happen this way. Most of the time, the physical device is slightly different, in a different slot, or the computer's logical PCI bus and slot IDs are different. In this case, the device in the configuration file is marked as "not present" and a new device configuration object is created in the configuration file. This newly created device is given the lowest available device number. MAX will then iterate through the virtual channels and try to assign them to a device with the same number to which they were assigned in the first computer. If the device numbers happen to match, the virtual channels will be automatically reconfigured to point to the new devices. Even if the device numbers do not match up, you can still change the device numbers manually within MAX. Once changed, the channels will automatically be reassigned correctly. Other device types match on different criteria, such as serial number for ISAPnP and USB devices, or base address for legacy devices, but the virtual channel behavior is the same. For MAX versions 2.0 and higher, the menu options under Tools»Traditional NI-DAQ Configuration allow you to manipulate your DAQ configuration files. The "Set Active Configuration" option lets you set any DAQ configuration file as the active file. The "Save Configuration As" option lets you save the current configuration file to a new file. The "Create New Configuration" option creates a new configuration file with a name you choose. Refer to the link below for more information. Related Links: KnowledgeBase 28T99DWZ: How Do I Port a DAQ Configuration File With an Executable? KnowledgeBase 39CEFHJ4: Transferring DAQmx Configuration between Remote Systems Attachments:
Report Date: 11/06/2000 Last Updated: 06/23/2004 Document ID: 235D880H |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
