05-24-2012 03:24 AM
Hello,
I hope sombody can help me with my problem.
I have created an application with the Application-Builder. The app is working and communicates with the hardware, but only on the PC, on which Labview is installed. On other PCs, the app is running, but don't communicate with the hardware. I have installed all drivers and I can commuicate with the hardware by using the Meassurement and Automation explorer. I have installed the drivers with the NI-DVD.
I have tried diffrent ways to install the runtime-engine and the drivers, but nothing worked.
Thanks a lot for your help.
best regards
Florian
Solved! Go to Solution.
05-24-2012 03:27 AM
Did you create an installer for the application that you have developed? When you do that you can include the drivers required in that and can install the application.
05-24-2012 03:33 AM
If MAX can control each peace of hardware, your application has a very good chance to execute without errors. Do you have an error code or an error message provided by your application?
05-24-2012 04:40 AM
Hello,
thx for your fast answer. Yes, I tried it both ways, at first I installed the runtime engine from the DVD and then I created an installer for the application. I couldn't include the drivers in the installer, because therefore i need an additional DVD. Do you think the problem are the drivers? Because with MAX I can communicate with the hardware.
05-24-2012 04:44 AM
thx for your answer, yes I have integraded an error code in LabView. But if I started the application, nothing hapens. The application is running but the communication with the hardware doesn't work. I can't understand my problem, because the application is running on my Labview-PC without any problems.
05-24-2012 04:46 AM
It may be due to the toolkits and the way the code flows. Did you try creating the installer from the PC where the code was working perfectly. Else do one thing enable the debugging while building the exe and check that in the PC where it is not working.
05-24-2012 05:21 AM
@P Anand wrote:
It may be due to the toolkits and the way the code flows. Did you try creating the installer from the PC where the code was working perfectly. Else do one thing enable the debugging while building the exe and check that in the PC where it is not working.
Good point. Florian, you know how to debug with LabVIEW? If not, see here.
05-24-2012 08:22 AM
thx again,
now i have tried it with enabling the debuging while building the exe. But with no succes.
Yes I try creating the installer from the PC where the code was working perfectly.
05-24-2012 08:46 AM
Did you see any error (e.g. by probing wires) when debugging the application with LabVIEW from your PC?
05-25-2012 03:52 AM
Since you where able to control your Hardware Devices with MAX, my first guess would be that Hardware / Channel Descriptors used in the Application are not correct. I suggest using Controls instead of Constants for Channel Selection.