How Do I Port My IVI Logical Names to Another Computer?Hardware: PXI/CompactPCI>>Controllers
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 below). Can I do this for my IVI configuration? Solution: There is no menu item in MAX that allows you to import/export IVI configuration data. However, this can be accomplished manually. Whenever you create or modify IVI Driver Sessions and Logical Names in MAX and click Save, you are saving this data to an XML file on your system. The file is called IVIConfigurationStore.xml and is located in your C:\Program Files\IVI\Data directory. In order to export this file, you can simply navigate to this location and then copy the IVIConfigurationStore.xml file. After moving this file to your deployment machine, in order to import the IVI configuration information, you will need to replace your target machine's existing IVIConfigurationStore.xml with the one from your development machine. This can be done in two ways. First, you can manually navigate to C:\Program Files\IVI\Data. Here, you can either rename the current IVIConfigurationStore.xml and then paste the copied file, or you can simply paste the copied file and then, when prompted, choose to replace the file already existing with that name. The target machine's IVI Configuration will now have been replaced with that of the development machine, and as such contain all of the logical names and driver sessions. The second method can be performed in MAX. Open MAX and select IVI Drivers from the Configuration tree to the left. You can then click Open IVI Configuration to import your IVI Configuration xml. Opening the IVI configuration file on the target machine updates the Current IVI Configuration Store location. You will now need to use the Save IVI Configuration As button in order to permanently save the IVI configuration data on the target machine. When selecting where to save the IVI configuration on the computer, you can navigate to the Master IVI Configuration file's location C:\Program Files\IVI\Data and save the Configuration file under the name of the Master: IviConfigurationStore.xml. You will be asked if you would like to replace the file already in existence with that name, and you will need to select Yes. This will replace the Master Configuration xml file with the updated Current configuration so that, upon reopening MAX, the imported information remains present. You must restart MAX and LabVIEW for these changes to take effect. 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: 06/10/2009 Document ID: 3D1HFMFQ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
