Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Revision Query VI in Instrument Driver Templates

Primary Software: Instrument Drivers/IVI>>IVI Driver Templates
Primary Software Version: 2.0
Primary Software Fixed Version:
Secondary Software: LabVIEW Development Systems>>LabVIEW Base Package

Problem: The LabVIEW Library Version Property is not supported by the run-time engine, which means that the Revision Query VI does not work properly in the run-time engine.  The Revision Query VI in the templates was changed to check if the driver was being run in a built application and if so, would pass a constant value as the revision number.

Solution: In LabVIEW 8.5, Get Project Library Version VI was added to LabVIEW 8.5\vi.lib\Utility, and it is supported by the run-time engine.  Due to backward compatibility, this new VI has not been used in the template VIs.

If you are developing a LabVIEW Plug and Play Instrument Driver for LabVIEW 8.5 and later, it is recommended that you do the following:
  1. Remove the code wired to the selector terminal of the outer case structure
  2. Remove the outer case structure and its True case
  3. Replace the Library Version Property Node with Get Project Library Version VI from LabVIEW 8.5\vi.lib\Utility
  4. Remove the Library Reference that was used by the Library Version Property Node and remove the Close Reference Function that closed the Library Reference


Related Links: Instrument Driver Network
Instrument Driver Development Tools and Resources

Attachments:





Report Date: 08/14/2007
Last Updated: 08/16/2007
Document ID: 4CD9IEW1

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