10-23-2012 03:21 PM
Hello,
I am writing a C#.NET application that makes use of the NI-VISA 5.1.1 driver for GPIB communication. The application installs and executes fine on my development machine. When installed and run on a production workstation, however, the following message is returned "A code library required by VISA could not be located or loaded. VISA error code -1073807202 (0xBFFF009E), ErrorLibraryNotFound, A code library required by VISA could not be located or loaded. VISA error code -1073807202 (0xBFFF009E), ErrorLibraryNotFound."
I have reviewed the related KnowledgeBase article for this error as well as related postings in the discussion forum, but none of the proposed solutions seem to work. I have uninstalled/reinstalled the NI-VISA 5.1.1 driver several times and verified that Visa32.dll is in the correct folder, but to no avail.
Given how general the error message, I'm not sure where to go with this problem and would appreciate any guidance you may be able to provide.
Thanks!
Chris
10-23-2012 04:48 PM
I realized after posting this question that I neglected to install the GPIB drivers (i.e. NI-488.2). Please disregard my previous post.
Thanks,
Chris
10-25-2017 08:32 AM
Hello! I had the same problem, but the solutions presented on this forum didn't help. Here is my solution.
I checked my code with code generated by Keysight Command Expert. The problem was that I installed 2 version of VISA, one from the Keysight one from the National Instruments. I used the library from NI that is located here C:\Program Files (x86)\IVI Foundation\VISA\WinNT, but I had to use this C:\Program Files (x86)\IVI Foundation\VISA\WinNT\ktvisa.