05-03-2012 12:05 PM
I have installed the LabVIEW runtime engine on a machine that does not have LabVIEW installed. I then exported my program to a .exe using the project manager. When I went to run the .exe, I get an error message that says "Application failed to start because instrsup.dll was not found" and it suggests re-installing the application (though they don't specify what "the application is," the run-time or the .exe?) may solve the problem. When I click "OK" a second error message pops up that says "An error occurred loading VI 'dat4700outputvalue.vi' LabVIEW load error 3: could not load front panel. "When I click OK on the 2nd error message, the 1st message comes up (with one ofthe other Datron driver .vis), and it cycles between the two until I have said "OK" to each error message about 10 times. After clicking "ok" on the 2 error messages enough, the front panel finally shows up, along with a 3rd error message that says "missing sub.vi dat4700 initialize in VI TVC Cal warmup" along with all of my other drivers for my Datron 4700.
It looks like all of my drivers for my Datron 4700 don't make it into the program for some reason. I have tried re-compiling the program through the project manager and it still doesn't work.
Any ideas? The only other thing I can think to try is just re-installing the run time engine...
05-03-2012 12:13 PM
Did you move the .dll over to the PC?
05-03-2012 12:17 PM
The dat4700_32.dll file is in the "data" folder that is created with the executable, and was moved onto the cpu in question.
05-03-2012 12:17 PM
Hardware drivers are never included in an exe (LabVIEW or otherwise). For example, if you were using an NI DAQ card, you would need to include DAQmx as an additional installer when you create the installer for the exe and run-time engine. If you are using NI-VISA, you would also have to include that as a separate installer. I have no idea what your datron uses but if it requires a windows driver, then you must run the installer for it.
05-03-2012 12:19 PM
And if I run the .exe file on the computer I originally created it on, even if I run it off of the travel USB drive that I am using to move the program across computers, I do not get an error message.
05-03-2012 12:21 PM
The datron "driver" I am using is one I downloaded from the NI driver database, it is a labview driver that does not need a seperate install (except for, you know, putting it in the correct labview folder).
05-03-2012 12:25 PM
You will need to provide the link. The only Datron 4700 in the NI Instrument Driver Network is a LabWindows driver - not LabVIEW at all and your mention of a dll shows that it is not a native LabVIEW driver. Do you know for a fact that the driver does not require anything additional such as the CVI run-time or the IVI Compliance Package?
05-03-2012 12:27 PM
Oh, I remember now, it WAS a CVI/Labwindows driver that I converted to LabVIEW using the conversion tool
05-03-2012 12:33 PM
And the instrsup.dll that is mentioned in the error would need to be installed. See if including that fixes the problem. It will be in the windows/system32 folder.
05-03-2012 12:50 PM
I copy/pasted the instrsup.dll from ym cpu over to the other one, and that got rid of all of the error messages.
However, when I run it, none of my GPIB devices show up in the drop-down lists, even if I click "refresh," though they are visable in MAX. I am currently downloading the VISA installer, so it will go up on the CPU next.