LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Find (Labview 7.1) doesn't work in VISTA

An app that works in XP doesn't find any VISA ports at all in Vista Business. I tried just the VISA find VI. It returns the ports in XP but not in Vista.

Error code in Vista is 42. Description is useless (VISA Find error).
0 Kudos
Message 1 of 8
(3,290 Views)
 

Did you upgrade your version of VISA? All drivers had to be rewritten for VISTA. Get the latest at https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html

0 Kudos
Message 2 of 8
(3,282 Views)

I'm trying to get an Old piece of code running on a Vista Machine.  It was developed with LV7.1 and Visa 3.Something...I think.  Can I just load the newer version of Visa on to the Vista machine?  Or will i need to find and rebuild the Labview project?

Thanks in advance?

Derek

0 Kudos
Message 3 of 8
(3,106 Views)
You may simply upgrade VISA, it should work.
I was able to run a LV 7.1, VISA 3.1 serial application on Vista, but I ought to tweak Vista in such a way that the user became an XP-administrator-like Smiley Sad.
I didn't try every possible user configuration, though; i simply stopped when I got my application running. The application did not use VISA Find.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 4 of 8
(3,102 Views)
What version of LabVIEW are you using?  You need at least 8.2.1 to have Vista compatibility.  Older version may appear to work, but will have quirks and crashes.
0 Kudos
Message 5 of 8
(3,069 Views)
The appliaction was built with 7.1, I've updated the drivers and the code's running and functioning ok.
 
Only 'quirk' I've noticed is that the relaive physical size of the arrays has changed so a few free labels don't quite line up but I can live with that.  Other than that it seems ok.
 
Thanks everyone for taking the time to post... appreciated 🐵
0 Kudos
Message 6 of 8
(3,066 Views)
That's good to hear.  The label issue is caused by the default Vista fonts being different than the default XP fonts.  If you care to take the trouble, you can determine what fonts you were using on XP, then set your desktop to use them on Vista.
0 Kudos
Message 7 of 8
(3,044 Views)

Oh... good thanks for that.

Not really an issue for me at the moment but I'll keep it in mind.

Thank you

0 Kudos
Message 8 of 8
(3,040 Views)