Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
6 ratings:
 3.66 out of 5     Rate this Document

Importing and Exporting IVI Settings in Measurement & Automation Explorer (MAX)

Primary Software: Instrument Drivers/IVI>>IVI Compliance Package
Primary Software Version: 4.5
Primary Software Fixed Version: N/A
Secondary Software: Utility Software>>Measurement & Automation Explorer, Instrument Drivers/IVI>>IVI Class Driver, Instrument Drivers/IVI>>IVI Engine Package, Instrument Drivers/IVI>>IVI Specific Driver, Instrument Drivers/IVI>>IVI Driver Templates

Problem:
I would like to port my IVI Logical Names, Driver Sessions, and other configuration data to another computer so that this information will appear in Measurement & Automation Explorer (MAX). I know that I can export my DAQ hardware configuration by going to File » Export in MAX (see link at the end of this document).  Can I also import and/or export my IVI settings from MAX?

Solution:
Yes, you may import and/or export IVI configuration settings within MAX from one machine to another using one of the following methods:

Exporting IVI Configuration Settings
Method 1:
  1. Select File » Export from the pull-down menu.
  2. In the National Instruments Configuration Export Wizard dialog box, select the location where you wish to save your file. If you do not use the default file name, you must type a name that ends with the appropriate extension. The recommended file type is the NI Configuration Export File (.nce) as it allows you to export complete configurations that do not need to be edited outside of MAX. Select Next.
  3. Select IVI and any other settings you wish to export. You can select each item individually or you can select items by clicking the Check All or Check By Product button.
  4. Select Export.
  5. A pane displays a report on the status of the export. This report may be edited and saved, but this is not required.
  6. Click Finish.
Method 2:
  1. Navigate to the IVI data directory: 
    • Windows XP: C:\Documents and Settings\All Users\Application Data\IVI Foundation\IVI
    • Windows Vista/7: C:\ProgramData\IVI Foundation\IVI

  2. Copy the IVIConfigurationStore.xml file, which stores all of the IVI configuration settings on the machine, from this directory to the target machine.
Method 3:
  1. Within MAX, select IVI Drivers from the Configuration tree on the left
  2. Click the Save IVI Configuration As button on the right-hand pane, thus saving your IVI configuration settings to the file you specify.

Importing IVI Configuration Settings
Method 1:
  1. Select File » Import from the pull-down menu.
  2. Type or browse the path to the directory containing the.nce file. Select Next.
  3. An abbreviated configuration tree displays all devices, channels, and tasks saved in the configuration file. Check the checkbox next to each item you wish to import.
  4. Click Import
  5. A pane displays a report on the status of the export. This report may be edited and saved, but this is not required.
  6. Click Finish.
Method 2:
  1. Close MAX
  2. Navigate to the IVI data directory:
    • Windows XP: C:\Documents and Settings\All Users\Application Data\IVI Foundation\IVI
    • Windows Vista/7: C:\ProgramData\IVI Foundation\IVI

  3. Overwrite the IVIConfigurationStore.xml file stored in this directory with the IVIConfigurationStore.xml file previously exported using one of the above methods
Simply opening a configuration and saving will temporarily import  the configuration into MAX. The configuration will not be save upon a restart.  Please see the KB: 4U2HRO9G, "Why is my Imported IVI Switch Configuration Gone After Reopening Max (Error -1074130429)?"

Note: Your target machine must have the IVI Compliance Package, VISA, and all of the necessary IVI specific drivers installed.


Related Links:
KnowledgeBase 2GJJ9SY1. Saving the System Configuration in Measurement & Automation Explorer (MAX)
KnowledgeBase 4U2HRO9G: Why is my Imported IVI Switch Configuration Gone After Reopening MAX (Error -1074130429)?
KnowledgeBase 4JUE3UW1: IVI Application Deployment Process

Attachments:





Report Date: 09/02/2004
Last Updated: 03/08/2013
Document ID: 3D1HFMFQ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit