Saves a VI that is not currently running and synchronizes the VI with the edited version in other application instances before saving.

This method is similar to the Save item on the File menu.

Note If you use this method to save a VI that is currently running, LabVIEW returns error 1507.

Parameters

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

Designate the path of the VI file. The default is to the current location.

Save a Copy cbool.png No

If FALSE, change the location of the VI, including references of callers, before saving. If TRUE, a new copy of the VI is saved to the location. The default is FALSE.

Without Diagram cbool.png No

Save the VI without the block diagram. The default is FALSE.

Remarks

The following table lists the characteristics of this method.

Short Name Save.Instrument
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