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

How Do I Convert Code From One Version of LabVIEW to Another Programmatically?

Primary Software: LabVIEW Modules>>Real-Time Module
Primary Software Version: 5.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Modules>>Real-Time Module

Problem:
How Do I Convert Code From One Version of LabVIEW to Another Programmatically?


Solution:
The method to programmatically convert code to previous versions involves using an Invoke Node with the method Save For Previous. When used in conjunction with the Open VI Reference, the referenced VI is saved to the version selected on the node input Version.



The options given with what versions you can save back are the same as in the KnowledgeBase article 203EDCXC: Can I Save VIs in My Current LabVIEW Version for Use in a Previous Version? This KnowledgeBase article also explains how to manually save back to previous versions.

For information on what versions of LabVIEW can open previous versions of LabVIEW code, remember that LabVIEW 8.2 can open code written in LabVIEW 4 and later. LabVIEW 8.6 can open code written in LabVIEW 8.2 and later. If you have code written in a version of LabVIEW earlier than LabVIEW 4 you will require the LabVIEW Conversion Kit. Please contact your local sales office to receive this kit.

Note: To convert large LLBs code can be written to search a directory for all files with a certain extension (.vi), of which references can be obtained to pass to this node.

Related Links:
KnowledgeBase 203EDCXC: Can I Save VIs in My Current LabVIEW Version for Use in a Previous Version?

Attachments:





Report Date: 10/23/2008
Last Updated: 12/04/2008
Document ID: 4QM8RLCX

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