Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
3 ratings:
 3 out of 5     Rate this Document

IVI Engine No Longer Exports Configuration Functions

Primary Software: Instrument Drivers/IVI>>IVI Engine Package
Primary 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:


ConfigStoreExample.zip


Report Date: 04/29/2003
Last Updated: 03/26/2008
Document ID: 2WSCEH2J

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