LabVIEW Interface Generator for LabWindows™/CVI™ Instrument Drivers Readme for Windows

July 2004

This file contains important information about the LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers.

Installing the LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers replaces the CVI Function Panel Converter dialog box and the Update VXIPNP Drivers dialog box. Uninstalling the LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers restores the CVI Function Panel Converter dialog box and the Update VXIPNP Drivers dialog box.

Creating VIs with the Default Configuration for VXIplug&play and IVI-C Instrument Drivers

Complete the following steps to create VIs for a VXIplug&play or IVI-C instrument driver by specifying only the function panel (.fp) file.

  1. Select Tools»Instrumentation»Create VI Interface to CVI Instrument Driver to launch the Create VI Interface to CVI Instrument Driver dialog box.
  2. Select the Basic button and click the Next button.
  3. Click the Browse button, navigate to the .fp file for the instrument driver to convert, and click the OK button.
Note  If the instrument driver is an IVI driver or a VXIplug&play driver, the .h file must be in the same directory as the .fp file or in the IVI or VXIplug&play include directory. If the instrument driver is an IVI driver, the .sub file must be in the same directory as the .fp file.
  1. Click the Next button.
  2. Review the summary of conversion tasks and click the Next button to convert the instrument driver to VIs.
  3. (Optional) Click the View the Report button to view the conversion report.
  4. (Optional) Click the View VI Tree button to view the generated VI Tree VI that illustrates the functional structure of the instrument driver.
  5. Click the Done button to exit the wizard.


Creating VIs with the Advanced Configuration for VXIplug&play and IVI-C Instrument Drivers

Complete the following steps to create VIs from a VXIplug&play or IVI-C instrument driver to VIs and specify advanced options.

  1. Select Tools»Instrumentation»Create VI Interface to CVI Instrument Driver to launch the Create VI Interface to CVI Instrument Driver dialog box.
  2. Select the Advanced button and click the Next button.
  3. Select advanced conversion options for the instrument driver VIs, such as generating Property Node help for IVI drivers or storing the instrument driver VIs in a .llb file. Press the <Ctrl-H> keys to view descriptions of each option.
  4. Click the Next button.
  5. Click the Browse button, navigate to the .fp file for the instrument driver to convert, and click the OK button.
  6. Select the directory where you want LabVIEW to create the generated VIs or .llb file and click the Next button. By default, LabVIEW saves the generated VIs in the LabVIEW/instr.lib directory of the currently running version of LabVIEW.
  7. Verify the Class Group, Driver Prefix, and Shared Library or DLL values and edit if necessary.
  8. (Optional) Click the Edit Icon button to change the appearance of the icon for the generated VIs.
  9. (Optional) Select which VIs to generate and rename VIs and palettes.
    1. Place or remove checkmarks in the checkboxes next to the VI names in the list to specify whether to generate the VI.
    2. Select a VI or top-level item and click the Edit Name button to edit the VI or top-level item name. The top level item name is the filename of the generated .mnu file.
    3. Click the Next button.
  10. If you placed checkmarks in the Generate Property Node help (.rc file) or Convert help text for VI library checkboxes when setting advanced conversion options, review the help text search and replace tasks and accept or reject the changes.
    1. Click in table cell to edit or add a new conversion task.
    2. Click in the Change column and select Always, Never, or Prompt to always replace, disable, or be prompted to accept or skip the selected search and replace task.
    3. (Optional) Place a checkmark in the Show Prompts checkbox if you want to be prompted to accept or skip each change to the help text.
    4. Click the Next button.
    5. If you placed a checkmark in the Show Prompts checkbox in the previous step, click the Accept or Skip button to accept or skip the proposed change. Click the Accept All or Skip All button to accept or skip all remaining instances of the proposed change. You can edit the help text directly by clicking inside either text box.
    6. Click the Next button.
  11. Review the summary of conversion tasks and click the Next button to convert the instrument driver to VIs.
  12. (Optional) Click the View the Report button to view the conversion report.
  13. (Optional) Click the View VI Tree button to view the generated VI Tree VI that illustrates the functional structure of the instrument driver.
  14. Click the Done button to exit the wizard.


Create VI Interface to CVI Instrument Driver Dialog Box

Select Tools»Instrumentation»Create VI Interface to CVI Instrument Driver to display this dialog box.

Use this dialog box to select a function panel (.fp file) for an instrument driver to convert to a VI, specify the destination directory, set options, and complete the conversion. Linux You can use the VIs LabVIEW generates if you developed the instrument driver you are using with the VIs on Linux.

Note  National Instruments created and optimized this dialog box primarily for use with IVI drivers developed using the Create IVI Instrument Driver wizard in LabWindows/CVI. Conversion might not work for VXIpnp instrument drivers that do not meet VXIp&p standards.

Refer to the Using External Code in LabVIEW manual for more information about using external code in LabVIEW. Access a PDF version of the Using External Code in LabVIEW manual and all other LabVIEW manuals by selecting Help»Search the LabVIEW Bookshelf.

Note  All LabWindows/CVI .dll files require run-time support. You must install the LabWindows/CVI Run-Time Engine to use VIs that LabVIEW creates. The standard LabVIEW installation includes the LabWindows/CVI Run-Time Engine.

This dialog box includes the following components:

Note  To run the VIs LabVIEW creates for VXIplug&play drivers, you must have NI-VISA installed. To run the VIs LabVIEW creates for IVI drivers, you must have the IVI Compliance Package installed. Both NI-VISA and the IVI Compliance Package are available on the NI Device Driver CD that is included with your LabVIEW purchase. If the driver LabVIEW created VIs from requires other support files, those support files must be installed on the computer on which you run the VIs.


Edit Instrument Driver VI Icon

Click the Edit Icon button in the Create VI Interface to CVI Instrument Driver dialog box to display this dialog box. You can only use the icon editing tools on the left side of the dialog box to edit the top of the icon that contains the instrument driver prefix.

This dialog box includes the following components:

Refer to the LabVIEW Help for descriptions the Icon Editor drawing tools in this dialog box.

Xerces License

This product includes software developed by the Apache Software Foundation (http://www.apache.org/).

The end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software developed by the Apache Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear.

Please consult Xerces License.txt for more information.


© 2004 National Instruments Corporation. All rights reserved.