Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Installing NI-VISA on [K]ubuntu 24.04

I am trying to install NI-VISA on a completely fresh install of Kubuntu 24.04 to control my BCS6401 power supply over USB.

 

I've followed the instructions here, choosing ni-visa at step 6.  Everything seemed to work fine (except sudo dkms autoinstall in step 8 did not print any output, I don't know if it should or not), however in Python, calling pyvisa.ResourceManager() causes the following error:

 

libnipalu.so failed to initialize
Verify that nipalk.ko is built and loaded.
Aborted (core dumped)

 

I found this post which seems to be the same problem, but there are no replies 😞

0 Kudos
Message 1 of 2
(127 Views)

Update: I found this post which starts with the same issue and says they resolved it by running /usr/local/natinst/nikal/binupdateNIDrivers (before having another problem).  However, the directory /nikal does not exist under /usr/local/natinst at all for me.  The only things at that directory are the directories lib64, .nicore, niPythonInterface and share.

0 Kudos
Message 2 of 2
(93 Views)