LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2021 VISA Error

Solved!
Go to solution

After updating from LabVIEW 2015 to 2021, I'm having issues related to VISA when running VIs that communicate with Keysight 8164B measurement systems. I attached the error message I keep getting (Hex 0xBFFF009E). 

 

I tried to re-install LabVIEW a couple times (with and without the IVI Shared Components). Then after installation I tried to repair different components from the NI Package Manager: NI-VISA, NI-VISA Runtime, NI-488.2, etc. Usually after changing something I can run the program a couple times without a problem, but after restarting the system I get the VISA error. I can run other VIs that don't use VISA. I tried to install the Keysight 8164B drivers which were not installed before, this added an hp816x folder in C:\Program Files (x86)\IVI Foundation\VISA\WinNT but I get the same problem. I can always find the instrument in NI-MAX and communicate with it. The problem occurs when I open the VISA Test Panel or I run a VI with a VISA session. Also I noticed in NI-MAX under the VISA Properties tab of my instrument (see attached) that I can't download instrument drivers using LabVIEW IDFinder because it shows "LabVIEW Not Detected" although LabVIEW is installed and running. 

 

Is there an issue with LabVIEW 2021 related to VISA? Maybe it's specific to using VISA sessions with a GPIB connection? Any suggestions if everything related to IVI should be installed with LabVIEW? I wish NI would allow us to install previous versions of LabVIEW with an active license. I spent too much time on this problem so I might just try to go back to LabVIEW 2015 by installing from my old CDs. 

Download All
0 Kudos
Message 1 of 13
(3,161 Views)

What version of NI-VISA do you have? You can find it in Measurement and Automation Explorer under software.

 

https://www.ni.com/en-us/support/documentation/compatibility/16/ni-visa-and-labview-version-compatib... 

0 Kudos
Message 2 of 13
(3,144 Views)

It's the latest version 21.5

0 Kudos
Message 3 of 13
(3,123 Views)
0 Kudos
Message 4 of 13
(3,119 Views)

Yes, I found that troubleshooter page and tried those steps. 

 

The Visa32.dll file was only under C:\WINDOWS\sysWOW64 after installation. My system is Win10 64-bit so this might be normal. However, I found that the file is also under C:\Windows\System32 on another computer with Win10 64-bit but with LabVIEW 2015 installed. I tried to copy that file to the same folder on my problem computer, but it doesn't help. 

 

Right now I can't set VISA as primary because the VISA Conflict Manager isn't working (see attached). I think this is because I didn't install the IVI Shared Components when I re-installed LabVIEW. I first thought the issue was a conflict with the IVI VISA drivers. 

0 Kudos
Message 5 of 13
(3,107 Views)

Hi, 

I cant find the labview library for the device (Keysight 8164B) anywhere, all links are broken. could you please share it with me? 

0 Kudos
Message 6 of 13
(2,873 Views)

Hi Tamir,

 

did you look for that device in the IDNet?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 13
(2,865 Views)
0 Kudos
Message 8 of 13
(2,854 Views)

Hi Tamir,

 

this link directs you to the Agilent website - as is noted by "3rd party driver NOT supported by NI"!

You need to blame Agilent for changing their website - and you need to ask Agilent for providing a (new) LabVIEW driver…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 13
(2,835 Views)

It seems impossible to find anything on Agilents website that references any of the 6163, 6164 or 6166 devices. Looks like they completely forgot about that product range and don't want to deal with it anymore. Not even Lightwave meter or similar gives any useful link.

 

But, since the measurement division of HP/Agilent is now rather under the Keysight brand, it might be interesting to search there, and low and behold:

 

https://www.keysight.com/nl/en/products/photonic-products/optical-component-test-products/lightwave-...

 

Their IO Libraries Suite seems to be the software you would want to download and install as it is "supposed" to support 3rd party software including LabVIEW.

There is not an issue with LabVIEW and VSA at all. VISA is integrated in LabVIEW since almost its inception more than 25 years ago and the interface is as stable as you can find an interface.

 

What is usually the problem is that Keysight wants to install its own VISA software and requires in its own setup software some special setting to enable some sort of side by side mode with NI VISA.

 

Rolf Kalbermatter
My Blog
Message 10 of 13
(2,828 Views)