LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

update version

Solved!
Go to solution

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?

0 Kudos
Message 1 of 17
(2,045 Views)

Do you get any error?

0 Kudos
Message 2 of 17
(2,041 Views)
Solution
Accepted by topic author husamyahya77

i faced same problem ...what should i do please?

0 Kudos
Message 3 of 17
(2,025 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 17
(2,028 Views)

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

0 Kudos
Message 5 of 17
(1,998 Views)

@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?

0 Kudos
Message 6 of 17
(1,975 Views)

@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.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 17
(1,948 Views)

So you want to open the LV2017 project with LV2019 and the VIs/project don't opens?

yes exactly.

0 Kudos
Message 8 of 17
(1,906 Views)

can I send my project to re-update it or repair it if possible?

0 Kudos
Message 9 of 17
(1,899 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 17
(1,893 Views)