LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

1abvi3w

Solved!
Go to solution

1. Run my source code is normal.

2. The error is pop up like as the attached while openning the exe.

3. In my PC I have installed serial LabVIEW development version like 2012(32bit),2014(32bit),2016(64bit),2018(32bit).

Qustion: Is this error caused by the multi LabVIEW version at the same time?If so, how to fix this problem because I must keep these version at the same time.

 

Download All
0 Kudos
Message 1 of 7
(927 Views)

The exe is built by LabVIEW 2014 and run the source code is normal.

0 Kudos
Message 2 of 7
(922 Views)

What is your Windows and NI-VISA version?

Based on the appearance of the error dialog, I guess you are using Win 10.

The first supported LabVIEW version in Windows 10 is 2015 SP1. NI Product Compatibility for Microsoft Windows 10

Besides, most NI drivers are only backward compatible with 4 versions of LabVIEW. Based on the green NI logo, I believe that you have a driver version of at least 20.0. NI-VISA 20.0 is only compatible with LabVIEW 2017 to 2020.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 3 of 7
(869 Views)

0. Yes, my OS is win10 64bit.
1. Run this EXE normally without any error on other PC installed only LabVIEW2014 runtime.
2. I have another version LV2021-bit64,the VISA Version in the following screenshot from my PC should be installed when I install LV2021.
3. So I must install at least two OS to install these different LV version and drivers?Maybe I can uninstall LV2016 and 2018, but I must keep 2012,2014 and 2021.
4. How about the error with Intialize keyboard.vi? This problem presents frequently.Sometimes, I copy the lvinput.dll from LV2018 and replaced the same dll in LV2014, the error is solved, but mostly it's not work.

VISA Version.PNG

0 Kudos
Message 4 of 7
(845 Views)
Solution
Accepted by topic author changelopnur

Since LabVIEW 2014 is not supported in Win10, it might still work but is not guaranteed to work properly. NI didn't test and valid unsupported software.

You would need two different OS, Win7 for LV2012, 2014, and Win10 for LV2018, 2021.

Please note that EXE built using LV in Win7 is not guaranteed to work in Win10 as well.

-------------------------------------------------------
Control Lead | Intelline Inc
Message 5 of 7
(839 Views)

The VISA version difference is most likely a red herring . VISA is the one driver from NI that has almost 0 chance to cause problems if you use the latest VISA version with a very old LabVIEW version. For other software drivers from.NI it is very important to make the driver installation not newer than 4 years after the LabVIEW version on the development PC, since you otherwise miss all the driver VIs in your LabVIEW installation. Those VIs are installed by the driver installer and that installer only supports the last 4 LabVIEW versions at the time it was released.

For a built executable it is often possible to install a newer driver BUT that is unsupported since you effectively develop against a different driver version than what you finally use. If NI changed anything on the driver API in terms of parameters between versions, the installed VIs by a particular driver installer are adapted to work with that new driver but will of course possibly not match the driver interface of a different version. The chance for that is small as NI usually does not change driver API signatures just like that, BUT NI reserves the right to do that and explicitly does not guarantee that such changes never will happen and that a particular built application only is fully compatible with the driver version it was built with. Most times it works just fine with a newer driver but if it doesn’t NI can wash their hands in innocence and say: “We never claimed you could do that!”

 

The lvinput.dll crash is a different albeit related problem..This interfaces to Windows API functions and while  Microsoft usually is even more obsessed with backwards compatibility of APIs, for graphics and sound APIs they tend to not only invent a new one every few years but also make modifications to the existing ones sometimes. LvInput in LabVIEW 2015 was modified to work with newer Windows 10 systems but your 2014 version doesn’t know about Windows 10. So the limitations on what Windows version specific LabVIEW versions are compatible with are not always empty fearmongering but have some real substance. Without using the sound VIs your application quite likely would not have such a version problem but with them it has!

 

Rolf Kalbermatter
My Blog
Message 6 of 7
(830 Views)

ZYOng and rolfk,

 

Thank you both very much.👍

0 Kudos
Message 7 of 7
(782 Views)