Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-VISA in openSUSE Tumbleweed (kernel 4.7)

Hi all,

I managed to get NI-VISA 16.0.0 working in openSUSE Tumbleweed with linux kernel 4.7 so I thought I'd share. The INSTALL script on the ISO image will run withotu errors, however, when you attempt to run updateNIDrivers the process fails at compiling nikal.c (in /var/lib/nikal/<kernel version>/nikal/) because it uses functions and macros which no longer exist. The attached patch for nikal.c fixes compiler's complaints.

After patching, re-run updateNIDrivers and the INSTALL script (this I do not understand why) and then it should work. Sometimes, however, nipal (/etc/init.d/nipal) needs to be started manually.

Disclaimer: I know nothing about driver development so the patch possibly breaks things. Nevertheless, it works and there are no complaints in dmesg.

Hope it helps,

Emil

0 Kudos
Message 1 of 1
(3,073 Views)