02-10-2023 08:14 AM
dear sir/madam
i built my experiment in labview version 2017 then I transferred this work to another computer has labview version 2019 ...i tried to open my old work n the new version but I can not open it...what should I do, please?
Solved! Go to Solution.
02-10-2023 08:20 AM
Do you get any error?
02-10-2023 08:37 AM
i faced same problem ...what should i do please?
02-10-2023 08:39 AM
Hi husam,
@husamyahya77 wrote:
.i tried to open my old work n the new version but I can not open it.
So you want to open the LV2017 project with LV2019 and the VIs/project don't opens?
Are you talking about VI(s), a project with several VIs, or an executable? What exactly does not open? Is there any error message?
02-10-2023 09:49 AM
Since "I don't remember when" (but at least the last 10 years), LabVIEW has introduced the concept (and file type) of a LabVIEW Project (the .lvproj file). The idea is that most (all?) of the code you are using in your Top Level VI and the sub-VIs that it calls are identified directly or indirectly in this Project file. In many cases, these VIs are also stored in a Project Folder, which can be very convenient when saving the various iterations of the Project in a Version Control System such as GIT or Subversion. It also makes it convenient to know you are copying all of the necessarily Files and (sub-)Folders you might need when moving your code to another computer.
When you open a VI saved in LabVIEW 2017 in a more recent version of LabVIEW (say, 2019), LabVIEW can use the information in the Project File to find all of the sub-VIs and support VIs that might be in vi.lib or inst.lib, or might be in an installed package such as OpenG. It will also convert the file "internally" to be compatible with the more-recent version of LabVIEW, and also make in incompatible with the earlier version. As long as you don't Save the VI (or the Project File), the code on disk can still be opened in the original LabVIEW version, but after saving, it cannot (so I hope you have backups).
@GerdW asks the key question -- did you move a Project? Here's where having all of the VIs in a Project Folder (along with the .lvproj file) comes in very handy. If you did, then I would expect (from my own experience) that you should be able to open it in a newer Version of LabVIEW with minimal errors. In my experience, errors arise because I forgot to install a package (OpenG), or I forgot to include a Driver (IMAQdx), or I forgot a Toolkit or Module (Report Generation Toolkit). Fix that, try again.
Can you be more specific about the Errors or problems you are facing? Can you tell us how your (lower-case) project is organized? Is it in a LabVIEW Project framework?
Bob Schor
02-10-2023 10:38 AM
@husamyahya77 wrote:i built my experiment in labview version 2017 then I transferred this work to another computer has labview version 2019 ...i tried to open my old work n the new version but I can not open it...what should I do, please?
Since you are talking about an "experiment", there is probably hardware involved. Are all drivers installed?
02-10-2023 05:46 PM
@altenbach wrote:
@husamyahya77 wrote:i built my experiment in labview version 2017 then I transferred this work to another computer has labview version 2019 ...i tried to open my old work n the new version but I can not open it...what should I do, please?
- Define "build" (wrote a VI? made a project? build a standalone executable?)
- Define "experiment" (same points as above).
- Define "transferred" (copied a VI? copied a hierarchy? copied a standalone executable? Run an installer?)
- Define "open" (double-click in explorer? Double-click inside zip file in explorer? Go to menu... open in LabVIEW 2019 and point to a VI or project? Something else?
- Define "cannot open it" (Nothing happens? get an error? computer crashes? VI opens in an offscreen location),
Since you are talking about an "experiment", there is probably hardware involved. Are all drivers installed?
Just to elaborate a bit on the driver comment:
You need to reinstall your drivers every time you install a new version of LabVIEW.
02-11-2023 04:03 AM
So you want to open the LV2017 project with LV2019 and the VIs/project don't opens?
yes exactly.
02-11-2023 04:12 AM
can I send my project to re-update it or repair it if possible?
02-11-2023 04:17 AM - edited 02-11-2023 04:19 AM
Hi husam,
@husamyahya77 wrote:
So you want to open the LV2017 project with LV2019 and the VIs/project don't opens?
yes exactly.
can I send my project to re-update it or repair it if possible?
Why don't you ZIP your whole project folder and attach the ZIP with your next message?
Sidenote:
To "repair" broken code you usually just get an older version of that code from your SCC (Source Code Control) system! Or you grab that backup that you surely make on a regular scheme!?
Don't you have a backup?