Jump to content
Gan Uesli Starling

Retarget app from LVRTE 2009 to 2017 without *.lv source?

Recommended Posts

We have a gage supplied by a company that shipped it with a *.exe application targeted for LVRTE 2009. I need to retarget it for 2017, but don't have the source code. The supplier had said they'd gladly supply me with a copy of the *.LV source, but they have looked and cannot find their own copy in-house.

History of Need: Our global corporate mother ship's IT department, in their infinite wisdom, is mandating an upgrade from Win7 to Win10. That with yet even further constraints. They enforce a list of "approved versions" of "approved applications". And for LVRTE, they are insisting upon 2017, with 2009 being a red light.

So, then, my query. Is converting an app without the source for a higher LVRTE doable at all? File is attached.

If it is doable, instructions on how?

Concentricity-Gage.exe

Share this post


Link to post
Share on other sites

No you can't do what you are asking.  There are a few things you might want to know, but none will totally fix your situation.

Starting in LabVIEW 2017 there is a forward compatible runtime engine.  Meaning binaries build in LabVIEW 2017 can be ran in the 2018 or newer runtime engine.  When you build a EXE there is an option to force it to run in that one version of LabVIEW, or the newest one installed.  Then if you wanted to run a new version all you'd need to do is install the new RTE and it would run in that.  Obviously that is a relatively new feature and not going to be useful for you now.

Also there is the fact that LabVIEW 2009 while not official supported in Windows 10 will most likely run just fine.  I've installed LabVIEW 7.1 in Windows 7 and had no issues, other than tracking down old drivers to support it.  So you might be able to convince your IT team that the 2009 RTE should be used.  Without the source that really is the only way to run that EXE.  The binary is compiled for that RTE and can't be recompiled for another target or platform unless you have the source.

  • Thanks 1

Share this post


Link to post
Share on other sites

@hooovahh is right, this is not doable. Your executable doesn't contain the source code and without the source code you cannot compile the application. If the source code is lost, you can either re-program the application (probably very costly) or convince your IT department to allow installing the LV2009 RTE for this particular executable.

That said, it is possible to copy the executable and the entire RTE to the target computer manually, for example as part of the "installer" for your executable (IT department mustn't know 😉). We have done so in the past (for the same reasons) and it works like a charm. Of course, this only works for utility applications. It doesn't work if your application depends on other drivers like VISA and the like. If this is not a problem for you, just copy the RTE folder from the NI installation directory ".\Shared\LabVIEW Run-Time\2009", put your executable inside and be happy. I just ran your application on a clean Windows 10 virtual machine and it starts without errors and terminates after a few seconds. It's worth a try in my opinion.

Edited by LogMAN
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By Dawid
      I'm trying to execute LPR.exe command to print some labels on a printer. However as its normal, problems occur. I could not find answer on any topic conneced with "sytem exec". I already tried all described methods (I think so). That's why I'm asking very kindly for any help.
      When trying to execute or call the LPR.exe from System exec VI, I'm receiving error:
      "'C:\Windows\System32\lpr.exe' is not recognized as an internal or external command, operable program or batch file."
      Generally I would like to call function: "lpr -S 192.168.1.5 -P lp C:\test\do_druku.txt" which works from command window without any problem.
       

      print.vi

    • By 0_o
      Hi,
      When I try to install LabVIEW 8.5.1 runtime or visa 4.1 on an Intel NUC with CPU i5 7260U I get:
      Microsoft Visual C++ Runtime Library
      Runtime Error!
      Program ........\LV RunTime 8.5.1\setup.exe
      This application has requested the Runtime to terminate it in 
      an unusual way.
      Please contact the application's support team for more 
      information.
       
      Just in case I installed Visual C++ 2005 redistribution and checked under add remove programs that the Windows feature of allowing version under .net 3.5 to run was enabled.
      This is not an ARM based processor so why does LabVIEW has a problem installing on the NUC?
    • By Huqs
      Hello Labview Users, 
      I happen to have thousands of csv data file that I work with. The only way I recognize them is putting their characteristics in the file name. Which brings the problem of making the names too long and Microsoft doesn't like to accept long name. So I wanted to build a database for all my files. I am in the preliminary stage of building it ( I have attached the file and some of you may have seen it before). 
      What I want to do is, have all my files in the database with random names and list them based on their characteristics. I want to do that in my application in the place of 'file' box. So that I can click on the file and run it (double-click on the file in application to make them work in active file). based on the parameters listed on the database I want to filter them to find any specific file. How the interface of database should look like is shown blow (Image) . 
      It doesn't have to be a real database, just a directory application. I am trying to make it without the database toolkit.  If anyone can help me out and guide me out or guide me in the right direction then that would be great. Thanks. 

      Multicolumn list box v1.5.vi
    • By PatCarbo
      Hi!
      I am looking for a Senior Software Developer to work on our LabVIEW based sensors and applications.
      I am also looking for Senior Software Developer(s) available for contracts (somewhat local to London) .
      Please note that this is about product development in LabVIEW (as opposed to test development).
      More info here: https://silixa.com/about-us/careers/
    • By ASalcedo
      Hello to all.
      I have a 32 bit application created with application builder 32 bits Labview 2015 SP1.
      It runs in 64 bits OS but sometime it is slow.
      So I think that one solution could be to create a 64 bits application.
      is it going to improve from 32 bits to 64 bits?
      I am using Vision adquisition software toolkit and its run-time vision.
      Thanks a lot.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.