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

Install NIVISA and GPIB on Scientific Linux 7.4 64-bit

$
0
0

-------------------
SYSTEM REQUIREMENTS
-------------------
NI-VISA 15.5 for Linux software requires one of the following distributions:
http://www.ni.com/download/ni-visa-15.5/5848/en/

GPIB-488 2015
http://www.ni.com/download/ni-488.2---linux-15.1.1/5926/en/

Scientific Linux 7.4


------------------------------
INSTALLATION FROM THE INTERNET
------------------------------
You should be logged in as 'root' to perform this installation.

Pre-requiste 32-bit libraries and kernel-source

yum install libXinerama.i686 mesa_libGL.i686 kernel-devel

Install 32-bit version of libstdc++

yum upgrade libstdc++
yum install libstdc++.i686
yum upgrade zlib
yum install zlib.i686

------------------------------
INSTALLATION FIRST NIVISA FROM THE INTERNET
------------------------------
You should be logged in as 'root' to perform this installation.

1) Download the ISO image "NI-VISA-#.#.#.iso" from the ftp site into a
temporary directory.

2) Open a Terminal (command prompt) window.

3) Mount the ISO image. This may be done by typing
"mount -o loop <iso-location>/NI-VISA-#.#.#.iso <mount-location>".

4) Make the mount location your current working directory. This may be done
by typing "cd <mount-location>".

5) Type "./INSTALL" to execute the install script, and follow the instructions
as prompted.

------------------------------
INSTALLATION FIRST NIVISA FROM THE INTERNET
------------------------------

Install gpib driver version 15.1

------------------------------
BUG with NiKal
------------------------------

cd /var/lib/nikal/3.10.0-693.17.1.el7.x86_64/nikal
edit nikal.c
ifdef nNIKAL100_kFourParameterDoMunmap
return do_munmap(mm, addr, len, 1);
#else
return do_munmap(mm, addr, len);
#endif

->

ifdef nNIKAL100_kFourParameterDoMunmap
return do_munmap(mm, addr, len, 1);
#else
return do_munmap(mm, addr, len, NULL);
#endif

------------------------------
Compile kernel driver
------------------------------
updateNIDrivers


------------------------------
Check kernel modules
------------------------------
# lsmod | grep ni
nimxdfk 584221 1
nipxirmk 297697 1
nidimk 376929 2 nipxirmk
nimdbgk 459483 3 nipxirmk,nimxdfk
niorbk 120227 4 nipxirmk,nimdbgk,nimxdfk,nidimk
ni488k 224199 2
nipalk 1231884 12 nipxirmk,NiViPciK,nimdbgk,nimxdfk,ni488k,nidimk,niorbk
nikal 115446 6 nipxirmk,nimdbgk,nimxdfk,nidimk,nipalk,niorbk


Viewing all articles
Browse latest Browse all 5565

Trending Articles



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