06-06-2016 10:19 AM
A colleague of mine created an executable with LabVIEW 2011 that uploads measurements to a database. It runs on a laptop with Windows 7 but it won't run on a Windows 10 laptop. I can edit the original VIs in LabVIEW 2015, but creating a new executable in LabVIEW 2015 does not solve the problem. It will run in Windows 7 Compatability Mode on the Windows 10 laptop, but I would like to not have to select that option every time I install the executable on a new laptop. Any suggestions?
06-06-2016 10:28 AM
Why does creating an executable in LabVIEW 2015 not solve the problem?
LabVIEW 2011 came out long before Windows 10, so it is no surprise it is not compatible. LV 2015 is the firest version that is compatible with Windows 10.
06-06-2016 11:08 AM
And what is the problem with your executable?
Do you get any errors?
Is ti not writing to the database?
Can't it connect to the database?
You do not describe your problem with the exe and LabVIEW 2015, so it is impossible for us to help you in the right direction.
06-06-2016 11:31 AM
The executable that I created in LV 2015 has the same issue as the original LV 2011 version; data won't upload. It recognizes the hardware but then gets stuck trying to upload the data. The error message says that the connection timed out.
06-06-2016 11:34 AM
All drivers are installed?
The PC is allowed to connect to the Database?
The program has the right access rights to go on the net?
06-06-2016 11:49 AM
Yes, all drivers are installed, the PC is allowed to connect, and the program has the correct access rights.
06-06-2016 12:01 PM
What data are you uploading?
Do you have a debuggable executable? Put in extra indicators are around the parts of code that handle the data. My first suspicion is that it is something different about your Win10 PC, perhaps a different file path.
06-06-2016 04:28 PM
But compatibility mode can not not solve path problem, can it?
May be it is database engine not compatible with win10, and when exe loads its dll in compatibility mode it does what it should.
06-07-2016 04:33 AM
Do the program run in development mode on 2015/w10?
/Y