LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa (RS232) 2012 incompatible with windows 10

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.

Pierre FCentum TNS, Grenoble
Certified LabVIEW Associated Developer
0 Kudos
Message 1 of 11
(3,759 Views)

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


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 11
(3,750 Views)

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?

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 3 of 11
(3,738 Views)

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?

Pierre FCentum TNS, Grenoble
Certified LabVIEW Associated Developer
Download All
0 Kudos
Message 4 of 11
(3,710 Views)

NI-VISA and Operating System Compatibility

 

NI-VISA and LabVIEW Version Compatibility

 

Install VISA 15.0 or 15.5 like Crossrulz said.

0 Kudos
Message 5 of 11
(3,699 Views)

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) ?

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 6 of 11
(3,697 Views)

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

0 Kudos
Message 7 of 11
(3,672 Views)

Hi jun

 

as I said below LV2012 don't seem to work with visa 2015, contrary to the 's table indications.

 

anyway 'm screwed :'(

Pierre FCentum TNS, Grenoble
Certified LabVIEW Associated Developer
0 Kudos
Message 8 of 11
(3,660 Views)

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

0 Kudos
Message 9 of 11
(3,655 Views)

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.

Pierre FCentum TNS, Grenoble
Certified LabVIEW Associated Developer
0 Kudos
Message 10 of 11
(3,648 Views)