05-22-2023 06:57 AM
I have accidentally updated certain VIs within a project to the 2023 version of labview, now when I try to build on our development machine, it fails to build, is there a way to roll everything back to the correct version quickly, or is it just a case of going through each VI one by one and saving for previous version?
05-22-2023 07:06 AM - edited 05-22-2023 07:08 AM
File->Save For Previous Version
Or just go back to your Source Control repository and check out a version before you accidentally saved in the wrong version.
05-22-2023 07:16 AM
@crossrulz wrote:
File->Save For Previous Version
Or just go back to your Source Control repository and check out a version before you accidentally saved in the wrong version.
File->Save For Previous Version
Tried this, still get the conflicts
Or just go back to your Source Control repository and check out a version before you accidentally saved in the wrong version.
It's been done in error whilst trying to implement this.
05-22-2023 09:37 AM
@LVIEWPQ wrote:
File->Save For Previous VersionTried this, still get the conflicts.
I assume you did than in the project, not individual VIs. Are there any dependencies that cannot be directly determined, e.g. files that are only called by reference based on file name?
If you "save for previous", LabVIEW will never overwrite the file in the original location, but place the down-converted VIs in a new folder. Maybe your toplevel is still finding the 2023 version instead?
05-22-2023 10:12 AM
@altenbach wrote:
@LVIEWPQ wrote:
File->Save For Previous VersionTried this, still get the conflicts.I assume you did than in the project, not individual VIs. Are there any dependencies that cannot be directly determined, e.g. files that are only called by reference based on file name?
If you "save for previous", LabVIEW will never overwrite the file in the original location, but place the down-converted VIs in a new folder. Maybe your toplevel is still finding the 2023 version instead?
That's exactly the issue, it appears to have converted the file in the original location to 2023, but if I replace the file there everything works again.
So opening in a new version, it updated everything, must have saved without realising.
05-22-2023 12:52 PM
It may depend on what and "how much" got converted to LabVIEW 2023. You can do the following to find out, and in the Best of All Possible Worlds, the fix is not too difficult.
Alternatively, restore from Version Control which you saved just before you saved for LabVIEW 2023.
Sadly, I forgot to do the above a fes weeks ago, and went through this Procedure recently. Worked like a charm.
Bob Schor