Solution
If the code being used has worked previously with no changes being made, it is possible there is a corruption in your LabVIEW Development or Run-time software. Please refer to
this page to repair or reinstall your software.
This error is thrown because an editing method cannot be called on a VI while the VI is running or is reserved for running. An editing method is one that can only be called in the development environment of LabVIEW, and not the run-time environment.
For example, the
Make Current Values Default method is an example of an editing method, and the
Reinitialize All to Default method is an example of a non-editing method. Several of the settings found in
VI Server have the effect of an editing method.
To resolve this error, you must ensure that the VI is not running and is not reserved for running before trying to programmatically change its default values.