NI VISA for BeagleBone Green

Hi Community,
Just wondering if anyone has had success installing the NI VISA driver to their BBG. I copied NI-VISA-5.4.1 to my BBG, but i get this error:

  • Kernel source does not appear to be installed for the 3.8.13-bone71.1 kernel.
  • Installation of the kernel-source package for kernel 3.8.13-bone71.1 is
  • required to continue this installation.

I’ve been searching in many places how one would install this kernal-source package, but i’ve come up dry.

Anyone have a clue?

Use this image and reflash your green.

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2015-11-03

The green kernel changes where added to the main bb.org branch, so the header are available via apt.

Regards,

Thank you Robert, much appreciated. I was able to flash my green with this image. Then i typed “uname -r” and received “3.8.13-bone79”, so indeed it did load this version of Kernel. Then i tried loading NI-VISA again and I receive almost the same message:

  • Kernel source does not appear to be installed for the 3.8.13-bone79 kernel.
  • Installation of the kernel-source package for kernel 3.8.13-bone79 is
  • required to continue this installation.

Looks like i need the Kernel source. So, in trying to do that i used “apt-get source linux-image-$(uname -r)”, which gave me error: “E: You must put some ‘source’ URIs in your sources.list”. So opening /etc/apt/sources.list I started un-commenting the lines at the end which indicate “Kernel source”…

…am i on the right track?

Thank you Robert, much appreciated. I was able to flash my green with this
image. Then i typed "uname -r" and received "3.8.13-bone79", so indeed it
did load this version of Kernel. Then i tried loading NI-VISA again and I
receive almost the same message:

* Kernel source does not appear to be installed for the 3.8.13-bone79
kernel.
* Installation of the kernel-source package for kernel 3.8.13-bone79 is
* required to continue this installation.

humm.. kernel source...

Try first:

sudo apt-get install linux-headers-`uname -r`

Looks like i need the Kernel source. So, in trying to do that i used
"apt-get source linux-image-$(uname -r)", which gave me error: "E: You must
put some 'source' URIs in your sources.list". So opening
/etc/apt/sources.list I started un-commenting the lines at the end which
indicate "Kernel source"...

Otherwise, just do:

git clone -b 3.8.13-bone79

source-3.8.13-bone79 --depth=1

Regards,

Aaahhhhh, the first one did the trick!! thank you much!

Hi Shant,

can you tell me how did you install the NI-VISA-5.4.1 package, is there anty git repository to clone this driver?

I will much appreciate your help.

Regards,

https://www.labviewmakerhub.com/doku.php?id=libraries:linx:start

Regards,

Hi Robert,

your link is talking about LINX SW, I couldn’t find any topic about NI-VISA.
what was your advise point to this link?

I just want to install NI-VISA on beaglebone black rev c because I want to use Pyvisa and I get the following error , see attached picture.
any advise?