12-19-2017 08:15 AM - edited 12-19-2017 08:32 AM
Hi.
Recently, in our testbenches, we had to replace our "old" windows7 computers containing a LV2012 interface and its source code.
After the very end of the installation I realized that the RS232 communication with differents devices (hand barcode scanner, PCBs) didn't work anymore. I discovered it by compiling the old LV2012 source code to LV2015 and it worked again.
compiling with LV2012 + Visa 2015 don't work either.
problem: we absolutely need to keep the LV2012. Is there a way to make it work?
thanks in advance for your suggestions.
12-19-2017 08:30 AM - last edited on 11-18-2024 01:17 PM by Content Cleaner
VISA 15.5 should work with LabVIEW 2012. Are you sure you installed NI-VISA 15 and not a newer version?
NI-VISA and LabVIEW Version Compatibility
12-19-2017 08:33 AM
We have several LV2011 applications using serial VISA. Despite the fact that NI does not guarantee compatibility, they still seamlessly work under Win10. There may be differences in the way you use VISA functions, but I think it's unlikely; serial VISA is not complicated stuff.
What is the version of VISA you are installing? Do you install VISA separately or by means of an installer generated by Application Builder?
12-19-2017 10:08 AM - edited 12-19-2017 10:15 AM
hi, thanks for your fast reply!
the previous configuration
-Windows 7 + LV2012 +VISA 5.2.0
the new config:
-Windows10
the configs tested in the target PC (creation of an installer containing only LV and VISA runtimes):
-deployment from LV2012 and visa 2012 selected: No RS connexion
-deployment from LV2015 and visa 2015 selected: Connexion OK
-deployment from LV2012 and visa 2015 selected: No RS connexion
-deployment from LV2015 and visa uninstalled and unselected: No RS connexion
-deployment from LV2015 AND visa 2012 selected: No RS connexion
the red configuration is the one I want to use because I can't separate LV2012 with the bench.
you will find joined the RS232 source code of the 2 device that don't work:
-biberon (openMeterCommunication.llb/MeterRequestRespond.vi)
-douchette
Do you have any suggestion?
12-19-2017 10:21 AM - last edited on 11-18-2024 01:17 PM by Content Cleaner
NI-VISA and Operating System Compatibility
NI-VISA and LabVIEW Version Compatibility
Install VISA 15.0 or 15.5 like Crossrulz said.
12-19-2017 10:24 AM
Sorry, I cannot open your code because of my older LV version.
It's difficult to say what it's going wrong, unless we have a more detailed idea of what's happening.
Does any call to VISA functions generate an error? O you simply cannot read from the instrument (timeout error) ?
12-20-2017 02:26 AM - last edited on 11-18-2024 01:18 PM by Content Cleaner
Hi Pierre,
I am afraid that you shall have to move your application to LabVIEW 2015 SP1 or reinstall your computer with Windows 7.
Please find in the document bellow the compatibility of NI's products with Windows 10 :
National Instruments Product Compatibility for Microsoft Windows 10
Thanks
M-Junior
12-20-2017 02:40 AM
Hi jun
as I said below LV2012 don't seem to work with visa 2015, contrary to the RavensFan's table indications.
anyway 'm screwed :'(
12-20-2017 02:57 AM
Can we help you in anyway?
Moving a code from LabVIEW 2012 to LabVIEW 2015 souldn't be too hard, what is preventing you from doint it?
Otherwise, Windows 7 is far from obsolescence I assume so why not downgrading to it?
Thanks
Junior
12-20-2017 03:30 AM
Jun
It's because of the LV2012 licence that is in the target.
I suppose it's not possible to install newer LV versions without buying another licence
do you confirm?
I cannot downgrade the new OS to an older one because of an intern IT service policy.