Example Code

Access IVI Virtual and Physical Names Programmatically using the IVIConfigServer API in CVI

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabWindows/CVI

Code and Documents

Attachment

Description

Overview

This example demonstrates the use of the IVIConfigServer API to access the IVI configuration store in CVI.

 

Description

The IVI Configuration Store can be accessed programmatically by using the IVIConfigServer API. The IVI Configuration Store contains current Logical names, driver sessions, and IVI settings.

 

Steps to Implement Code

  1. Install the IVI Compliance Package if it is not installed.  It can be found here:
    https://www.ni.com/en-us/support/downloads/drivers/download.ivi-compliance-package.html
  2. Include the iviconfigserver.h file in your program:
    #include <Iviconfigserver.h>
  3. Add the IviConfigServer.lib to your project (otherwise you will see link errors)
    configstore1.png

Requrements

Software

LabWindows/CVI

IVI Compliance Package (see previous section for link)

 

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

Al B.
Staff Software Engineer - TestStand
CTA/CLD

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
RICHC314
Member
Member
on
Contributors