Comments (4)
直接用 pyvisa 时出错吗?
from qulab.
OSError Traceback (most recent call last)
<ipython-input-29-55d91e4424a2> in <module>()
1 import visa
----> 2 rm = visa.ResourceManager()
3 rm.list_resources()
b:\winpython-64bit-3.6.3.0qt5\python-3.6.3.amd64\lib\site-packages\pyvisa\highlevel.py in __new__(cls, visa_library)
1497 def __new__(cls, visa_library=''):
1498 if not isinstance(visa_library, VisaLibraryBase):
-> 1499 visa_library = open_visa_library(visa_library)
1500
1501 if visa_library.resource_manager is not None:
b:\winpython-64bit-3.6.3.0qt5\python-3.6.3.amd64\lib\site-packages\pyvisa\highlevel.py in open_visa_library(specification)
1469
1470 try:
-> 1471 return cls(argument)
1472 except Exception as e:
1473 logger.debug('Could not open VISA wrapper %s: %s\n%s', cls, str(argument), e)
b:\winpython-64bit-3.6.3.0qt5\python-3.6.3.amd64\lib\site-packages\pyvisa\highlevel.py in __new__(cls, library_path)
95 errs.append(str(e))
96 else:
---> 97 raise OSError('Could not open VISA library:\n' + '\n'.join(errs))
98
99 if (cls, library_path) in cls._registry:
OSError: Could not open VISA library:
from qulab.
打开Visa错误
from qulab.
我这边的环境变量,你参考一下
NIEXTCCOMPILERSUPP=C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;
VXIPNPPATH=C:\Program Files (x86)\IVI Foundation\VISA\
VXIPNPPATH64=C:\Program Files\IVI Foundation\VISA\
from qulab.
Related Issues (20)
- Support MiddleLayer
- listDrivers() err HOT 5
- driver 33120A 导入后出现错误 HOT 6
- get_Frequency HOT 6
- RPC support iterator, generator and context manager
- test broken
- an app err HOT 2
- Please test the new driver of network analyzer
- Add driver for WX2184
- Raise warning when call `make_image_in_process` in the first time
- make_figure_for_app and display err HOT 1
- APP execute error
- install error
- an error about Driver-AlazarTech_Digitizer HOT 3
- Display used time on Application UI
- ATS9360 Driver error HOT 1
- a small problem in new version 0.3.6! HOT 1
- error about 'lab.drivers' HOT 1
- Initial Update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qulab.