visa.ResourceManager() got function 'viOpen' not found in Windows
See original GitHub issueNow we use pyvisa
to load the visa library in Windows.
But when we call visa.ResourceManager()
or visa.ResourceManager(r'C:\Windows\System32\visa32.dll')
, it throws exception of “AttributeError: function ‘viOpen’ not found”.
Issue Analytics
- State:
- Created 5 years ago
- Comments:25 (13 by maintainers)
Top Results From Across the Web
python - pyvisa, function viOpen not found - Stack Overflow
When I run in 32 bit python, import pyvisa rm = pyvisa.ResourceManager().
Read more >Miscellaneous questions — PyVISA 1.12.1.dev43+g37c774d ...
OSError : Could not open VISA library: function 'viOpen' not found . Starting with Python 3.8, the .dll load behavior has changed...
Read more >viOpen - NI - National Instruments
A code library required by VISA could not be located or loaded. ... The viOpen() operation opens a session to the specified resource....
Read more >Agilent VISA User's Guide for IO Libraries Suite 15.5 - UBC ECE
This function will initialize the default resource manager and return a pointer to that resource manager session. viOpen. This function establishes a ...
Read more >Agilent IO Libraries Installation and Configuration Guide for ...
Agilent Technologies shall not be liable for any errors contained in this ... Since VISA and SICL are different libraries, using VISA functions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That looks like an issue related to the new dll mechanism access on Python 3.8. However I have a windows system running 3.8 and Keysight with no issue. It may still be an installation issue though. If you do not want to re-install you can try to use
os.add_dll_directory
to add the Keyisght directory found under Program files.Happy I could help. I will try to keep in mind that I could clarify the docs.