|| 3 out of 5
How Can I Move DAQmx Items from MAX into My LabVIEW Project Explorer?
Primary Software Version:
Primary Software Fixed Version:
Certain DAQmx items, including tasks, channels, and scales can be included as part of a LabVIEW project file (*.lvproj) so that the project can be moved from system to system without having to transfer the Measurement & Automation Explorer (MAX) configuration as well. If I already have such items defined in MAX, how can I move them into my LabVIEW project without having to re-create them from scratch?
To move already existing items from MAX into LabVIEW, you must:
- Open MAX and select File»Export
.ini in the File type drop down list
- Click next
- Check all items you wish to transfer
- Click export
- In LabVIEW Project Explorer, right-click My Computer and select Import»Import NI-DAQmx Configuration.
- Select the
.ini file and click import
Hardware items are included in the
file even if you don't check them in the export wizard. As of LabVIEW 8.6, these items are not currently supported in the project explorer, so if you attempt to import the
file you will receive the following error:
Error -201074 occurred at _DAQmxImportConfig.vi
Measurements: Import operation supports tasks, channels, and scales only, but a hardware object was found in the file.
Remove the hardware objects from the input file.
To rectify this, you will need to open the
file in a text editor (such as MS-Notepad) and delete any section that contains unsupported items (For example: sections beginning with [DAQmxCDAQChassis], [DAQmxCDAQModule], etc.). Once this has been done, you should be able to import the
file into project explorer.
Related Links: KnowledgeBase 2GJJ9SY1: Saving the System Configuration in Measurement & Automation Explorer (MAX)