01-28-2015 06:05 PM
Hello NI Forums! Please bear with me as I am new to NI products as well as this forum. Hope I'm posting in the correct board. I am an electronic technician with over 30 years experience in a variety of hardware and software who is trying to move an executable from an older Windows XP computer to a new Win 8 machine.
First, I just moved the .exe file itself. When executed, it produces an error dialog: "Unable to locate the LabVIEW Run-Time engine" "This executable requires a version 2011 (or compatible) LabVIEW Run-Time Engine."
Next, I ran the driver installation disk that came with the USB-6008 module. Now the executable will start but it doesn't appear to communicate with the USB-6008 because it doesn't operate the digital I/O.
I can run NI MAX and see the USB module as well as test the analog and digital I/O so I know the hardware is working.
I have been surfing the knowledge base and have found references to .dll & .vi type support files but have no idea which ones to look for and where they might be.
Can this move be accomplished without having to recompile the exe? I have no access to the source files.
Thanks!
Solved! Go to Solution.
01-28-2015 06:21 PM
After using the Application Builder to create the .exe, use the application builder to create an installer. Be sure that is chooses the run-time engine and the daqmx drivers as Additional Installers.
01-28-2015 06:22 PM
01-28-2015 07:44 PM
I am trying to assist a friend who wants to update a simple game machine with a new pc. He contacted the OEM and they do not offer any support, thus no access to source files (or an App Builder unless it's included in the driver download we installed). Yes, everything was moved manually.
Following up on the device name theory, is it possible I could rename the new PC the same as the old one and possibly get lucky?
Thanks!
01-28-2015 07:57 PM
It is certainly possible. I would try it.
01-28-2015 08:10 PM
01-28-2015 08:19 PM
01-28-2015 08:36 PM
When I read his message, I assumed that he meant rename the tasks in the new PC to be the same as old PC. I hope he didn't mean the name of the PC itself because that seems to ridiculous to believe.
01-28-2015 08:55 PM - edited 01-28-2015 08:56 PM
@RavensFan wrote:
When I read his message, I assumed that he meant rename the tasks in the new PC to be the same as old PC. I hope he didn't mean the name of the PC itself because that seems to ridiculous to believe.
one of the reasons I include my task scale and channel information in my project. Then when the executable builds the task configuration is with in the file structure of the exe
Project Explorer can export and import those configurations to and from Max
and almost certainly anything that was built for Windows XP is not going to include driver support for Windows 8
01-29-2015 08:02 AM
Again, thanks for all the advise, information ( and patience). I actually was referring to the module name as seen in MAX. That wasn't made clear. I was at the end of a very long day. But i have seen instances where the PC name is part of a network address, I just didn't know if that applied here.
Regarding dated drivers, I downloaded the current offering of RTE 2011 (what ithe app asking for) which includes win 8 drivers. That appears to have satisfied the initial failure of the app to run (no error message, app opens and does it's splash - then nothing else).
The device name for the USB-6008 module is dev1 on both PCs. I will go back today to look for support files I may have missed.
Regarding tasks and such running in MAX, when I opened MAX it appears this was the first time it had been used as I had to agree to the limited evaluation license on start-up. It starts up with an empty project and there are no projects available to load.
I assume it's not possible to decompile an executable to make the adjustments for the new host computer?