08-21-2023 01:36 AM - edited 08-21-2023 02:26 AM
Hello,
I would like to install NI-VISA on Ubuntu 22.04.3 LTS as a back-end for a GPIB-USB-HS from National Instruments. After installing NI-VISA for Jammy (normal version not stream) and after a restart installing pyvisa the python execution crashes when trying to access the adapter. The crash report shows: Sorry, the application python3.10 has stopped unexpectedly, Title: python3.10 crashed with SIGABRT. The python window shows:
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyvisa >>> rm = pyvisa.ResourceManager() libnipalu.so failed to initialize Verify that nipalk.ko is built and loaded. Aborted (core dumped)
Someone has a hint how I could fix this?
I saw the following links:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DuP7CAK&l=de-DE
https://stackoverflow.com/questions/51646804/libnipalu-so-failed-to-initialize-error-for-all-ni-rela...
Kind regards,
Lamnidae
#edit:
After a software update triggert by the ubuntu software updater the errors are gone. But the instruments connected to the GPIB-USB-HS adapter are not listet:
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyvisa
>>> rm = pyvisa.ResourceManager()
>>> rm.list_resources()
('ASRL1::INSTR', 'ASRL5::INSTR')
>>> quit()
Where the ASRL1 and ASRL5 is should be an instrument with GPIB.