IVI Engine No Longer Exports Configuration Functions Primary Software: Instrument Drivers/IVI>>IVI Engine PackagePrimary Software Version: 2.0 Primary Software Fixed Version: N/A Secondary Software: Instrument Drivers/IVI>>IVI Compliance Package
Problem: Prior versions of the IVI Engine included functions for adding and removing configuration items like logical names and hardware resource descriptors at run-time. The conversion to the IVI Foundation-defined IVI Configuration Store made those functions obsolete, and they are no longer exported from the IVI Engine. How can I programmatically access the IVI Configuration Store? Solution: The IVI Engine exports a new function, called Ivi_GetConfigStoreHandle. This function returns a handle the Configuration Store object that the IVI Engine is currently using. This handle can be passed into the IVI Foundation-defined Configuration Server C API to add, remove, or edit configuration store items like logical names and hardware resource descriptors. This API is defined in the IVI-3.5 IVI Configuration Server specification and is installed as part of the NI IVI Compliance Package 2.x. The relevant files are installed in the C:\Program Files\IVI\ directories. These are IviConfigurationServer.h, IviConfigurationServer.lib, and IviConfigurationServerCAPI.dll.Attached is a simple example on how to programmatically access the configuration file. Related Links: KnowledgeBase 340DQVWH: Run-Time Configuration of IVI Instrument Drivers Attachments:
Report Date: 04/29/2003 Last Updated: 03/26/2008 Document ID: 2WSCEH2J |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
