Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

Troubleshooting GPIB-USB-B Interface with Pyvisa

$
0
0

I'm trying to get a NI GPIB-USB-B interface to communicate with a lockin amplifer. I'm using an Apple Macbook Pro with Big Sur OS and the new M1 processor. 

 

Whenever I open NI-Max, the software immediately closes. I haven't found a clear answer regarding whether or not my OS and/or processor is supported. Does anyone know if this is the case? 

Also, incase it helps, I printed the log that pyvisa outputs and it's the following: 

 

2021-04-12 11:25:49,726 - pyvisa - DEBUG - No visa library specified, trying to find alternatives.

2021-04-12 11:25:49,727 - pyvisa - DEBUG - Environment variable PYVISA_LIBRARY is unset.

2021-04-12 11:25:49,732 - pyvisa - DEBUG - Not loading dll_extra_paths because we are not on Windows or Python < 3.8

2021-04-12 11:25:49,733 - pyvisa - DEBUG - Automatically found library files: ['/Library/Frameworks/visa.framework/visa', None, None, None, None]

2021-04-12 11:25:49,733 - pyvisa - DEBUG - No user defined library files

2021-04-12 11:25:49,733 - pyvisa - DEBUG - The IVI implementation available

2021-04-12 11:25:49,733 - pyvisa - DEBUG - Not loading dll_extra_paths because we are not on Windows or Python < 3.8

2021-04-12 11:25:49,733 - pyvisa - DEBUG - Automatically found library files: ['/Library/Frameworks/visa.framework/visa', None, None, None, None]

2021-04-12 11:25:49,734 - pyvisa - DEBUG - No user defined library files

2021-04-12 11:25:49,736 - pyvisa - DEBUG - Library signatures: 90 ok, 0 failed

2021-04-12 11:25:49,736 - pyvisa - DEBUG - Created library wrapper for /Library/Frameworks/visa.framework/visa

Error Domain=KMErrorDomain Code=71 "Incompatible architecture: Cannot find arm64e in fat binary

Incompatible architecture: Cannot find arm64e in fat binary

Incompatible architecture: Cannot find arm64e in fat binary" UserInfo={NSLocalizedDescription=Incompatible architecture: Cannot find arm64e in fat binary

Incompatible architecture: Cannot find arm64e in fat binary

Incompatible architecture: Cannot find arm64e in fat binary}

 

Any help would be greatly appreciated. 

 

Thanks


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>