Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-VISA ver 17 Install Ubuntu 16.04

Tryng to instalkl NI-VISA on a ubuntu 16.04

But get following error when tring to install with 

sudo bash INSTALL --nodeps 

 

 

 

Installing NI-VISA for Linux version 17.0.0f1...
Pre Installation .
Post Installation .
Pre Installation ..............................................................................
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
Preparing... ################################# [100%]
Updating / installing...
1:ni-pxipf-errors-17.0.0.49152-0+f0################################# [ 2%]
2:ni-kal-17.0.0.49152-0+f0 ################################# [ 4%]
3:nissli-17.0.0-f0 ################################# [ 5%]
4:nirocoerri-17.0.0-f1 ################################# [ 7%]
5:ni-orb-errors-17.0.0.49152-0+f0 ################################# [ 9%]
6:ni-mxdf-errors-17.0.0.49152-0+f0 ################################# [ 11%]
7:ni-mdbg-errors-17.0.0.49152-0+f0 ################################# [ 13%]
8:ni-apal-errors-17.0.0.49152-0+f0 ################################# [ 14%]
9:ni-pal-errors-17.0.0.49152-0+f0 ################################# [ 16%]
10:ni-pal-nikalmod-17.0.0.49152-0+f0################################# [ 18%]
/var/tmp/rpm-tmp.bglXbL: 4: /var/tmp/rpm-tmp.bglXbL: /sbin/chkconfig: Permission denied
warning: %post(ni-pal-nikalmod-17.0.0.49152-0+f0.x86_64) scriptlet failed, exit status 126
11:ni-pal-17.0.0.49152-0+f0 ################################# [ 20%]
12:ni-orb-nikalmod-17.0.0.49152-0+f0################################# [ 21%]
13:ni-orb-17.0.0.49152-0+f0 ################################# [ 23%]
14:ni-mdbg-nikalmod-17.0.0.49152-0+f################################# [ 25%]
15:ni-mdbg-17.0.0.49152-0+f0 ################################# [ 27%]
16:ni-mxdf-nikalmod-17.0.0.49152-0+f################################# [ 29%]
17:nidimki-17.0.0-f0 ################################# [ 30%]
18:ni-pxirm-nikalmod-17.0.0.49155-0+################################# [ 32%]
19:nisslcerts-17.0.0-3.0 ################################# [ 34%]
20:nicurli-17.0.0-f0 ################################# [ 36%]
21:nimdnsresponder-17.0.0-f0 ################################# [ 38%]
/etc/init.d/nimdnsd: 66: /etc/init.d/nimdnsd: /usr/local/natinst/nimdnsresponder/bin/nimdnsResponder: not found
22:nisyscfgi-17.0.0-f0 ################################# [ 39%]
23:labview-2015-rte-32bit-15.0.1-8 ################################# [ 41%]
24:nidimi-17.0.0-f0 ################################# [ 43%]
25:ni-visa-sysapi-17.0.0.49152-0+f0 ################################# [ 45%]
26:ni-mxdf-17.0.0.49152-0+f0 ################################# [ 46%]
27:libnipxiepmu15-17.0.0.49155-0+f3 ################################# [ 48%]
28:nipalki-17.0.0.49152-0+f0 ################################# [ 50%]
29:nivisak-17.0.0-f0 ################################# [ 52%]
30:nivisa-17.0.0-f0 ################################# [ 54%]
/etc/init.d/nilxid: 66: /etc/init.d/nilxid: /usr/local/vxipnp/bin/niLxiDiscovery: not found
31:nitargetcfgi-3.0.0-f1 ################################# [ 55%]
32:nisvcloc-17.0.0-1 ################################# [ 57%]
33:nispyi-2.8.1-f0 ################################# [ 59%]
34:nispylogsupp-17.0.0-f0 ################################# [ 61%]
35:ni-pxirm-resources-17.0.0.49155-0################################# [ 63%]
36:ni-pxirm-17.0.0.49155-0+f3 ################################# [ 64%]
warning: %post(ni-pxirm-17.0.0.49155-0+f3.x86_64) scriptlet failed, exit status 1
37:libnipxisvc2-17.0.0.49155-0+f3 ################################# [ 66%]
38:labview-2015-rte-15.0.1-8 ################################# [ 68%]
39:niiotracei-17.0.0-f0 ################################# [ 70%]
/var/tmp/rpm-tmp.bWbA2D: 296: [: -a: unexpected operator
40:nipxipfi-17.0.0.49155-0+f3 ################################# [ 71%]
41:libnipxisvc2-17.0.0.49155-0+f3 ################################# [ 73%]
42:nisyscfgi-17.0.0-f0 ################################# [ 75%]
43:nivisa-17.0.0-f0 ################################# [ 77%]
44:nivisa-config-17.0.0-f0 ################################# [ 79%]
45:nivisa-devel-17.0.0-f0 ################################# [ 80%]
46:nivisaserver-17.0.0-f0 ################################# [ 82%]
47:nidimi-17.0.0-f0 ################################# [ 84%]
48:ni-visa-sysapi-17.0.0.49152-0+f0 ################################# [ 86%]
49:nicurli-17.0.0-f0 ################################# [ 88%]
50:nipxipfki-17.0.0.49155-0+f3 ################################# [ 89%]
51:ni-mxdf-17.0.0.49152-0+f0 ################################# [ 91%]
52:ni-mdbg-17.0.0.49152-0+f0 ################################# [ 93%]
53:ni-orb-17.0.0.49152-0+f0 ################################# [ 95%]
54:ni-pal-17.0.0.49152-0+f0 ################################# [ 96%]
55:nissli-17.0.0-f0 ################################# [ 98%]
56:nispylogsupp-17.0.0-f0 ################################# [100%]
cat: /etc/natinst/linux/linux.dir: No such file or directory
Post Installation ..............................................................................
Updating modversions database to include newly installed drivers...

FOR PATENTS COVERING NATIONAL INSTRUMENTS PRODUCTS, REFER TO
THE PATENTS.txt FILE ON /media/efri/NIVISA1700L AND/OR
www.ni.com/patents

NI-VISA for Linux Installation completed successfully.

 

If i anyway try to initialize from py-visa i got following:

 

libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers

 

 

Any suggestions

0 Kudos
Message 1 of 4
(5,181 Views)

Hi Esben,

 

The following forum post might be of use; it's installing NI-VISA on an earlier version of Ubuntu:

 

https://forums.ni.com/t5/Linux-Users/Install-NI-Visa-and-PyVisa-Ubuntu-14-04/gpm-p/3419588

 

Jack

0 Kudos
Message 2 of 4
(5,144 Views)

Hej Jack

it was this post I used in my try as well.

And this was the result from it you see in my post.

0 Kudos
Message 3 of 4
(5,138 Views)

Hi.  Has anyone been able to download a version of NI-VISA that works on Ubuntu 16.04?

 

Thanks,

Jose

0 Kudos
Message 4 of 4
(2,336 Views)