Saves a copy of the VI that is readable by LabVIEW version 8.0 and later. If you save a password-protected VI for a previous LabVIEW version, you must enter the password. You can enter the password programmatically as an input on the Open VI Reference function.

This method is similar to the LabVIEW Version option on the Save for Previous Version dialog box.

Parameters

Name Data type Required Description
Path to Saved File cpath.png Yes

Path to where you want to save the VI.

Warnings istr.png No

Warnings that occurred while saving the VI.

Target Version cstr.png No

Version of LabVIEW for which you want to save. Wire the version number, such as 8.6 or 9.0, to the Version input. The default is the immediately previous version.

Remarks

The following table lists the characteristics of this method.

Short Name Save.For Previous
Data type No return value
Available in Run-Time Engine No
Available in Real-Time Operating System No
Settable when the VI is running Yes
Loads the front panel into memory No
Need to authenticate before use No
Loads the block diagram into memory No
Remote access allowed Yes
Must wait until user interface is idle Yes
Available with control VIs Yes
Available with global VIs Yes
Available with strict type definitions No
Available with polymorphic VIs Yes