LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6008 How to move an executable to a different computer.

Solved!
Go to solution

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!

0 Kudos
Message 1 of 20
(4,004 Views)

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.

0 Kudos
Message 2 of 20
(4,000 Views)
The correct way is to build an installer. This would include the runtime engine, the DAQmx driver, and the MAX hardware configuration. Since it seems you manually installed the runtime and driver, I'm going to guess that the device name in the exe does not match what is on the new pc. Who created the exe and why don't you have access to the source files?
0 Kudos
Message 3 of 20
(3,999 Views)

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!

0 Kudos
Message 4 of 20
(3,966 Views)

It is certainly possible.  I would try it.

0 Kudos
Message 5 of 20
(3,960 Views)
The name I referred to is the name of the DAQ device. The name of the pc is irrelevant. The old pc should show the device name in its version of MAX. You should also check to make sure the version of DAQmx is the same.
0 Kudos
Message 6 of 20
(3,954 Views)
I should also add that MAX can contain task information that is necessary for correct running. It could be as simple as a task name or more complicated such as scaling and sample rates. This is something that you can export from the original pc.
0 Kudos
Message 7 of 20
(3,946 Views)

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.

0 Kudos
Message 8 of 20
(3,932 Views)

@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


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 20
(3,923 Views)

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?

 

 

0 Kudos
Message 10 of 20
(3,880 Views)