NI VISA for BeagleBone Green

114 views
Skip to first unread message

shant...@gmail.com

unread,
Dec 12, 2015, 11:16:22 AM12/12/15
to BeagleBoard
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?

Robert Nelson

unread,
Dec 12, 2015, 1:43:00 PM12/12/15
to Beagle Board, shant...@gmail.com

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,

shant...@gmail.com

unread,
Dec 15, 2015, 2:35:45 PM12/15/15
to BeagleBoard, shant...@gmail.com
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?

Robert Nelson

unread,
Dec 15, 2015, 2:48:09 PM12/15/15
to Beagle Board, Aleshandre Diaz
On Tue, Dec 15, 2015 at 12:25 PM, <shant...@gmail.com> wrote:
> 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
https://github.com/RobertCNelson/linux-stable-rcn-ee
source-3.8.13-bone79 --depth=1

Regards,

--
Robert Nelson
https://rcn-ee.com/

shant...@gmail.com

unread,
Dec 16, 2015, 9:39:33 AM12/16/15
to BeagleBoard, shant...@gmail.com
Aaahhhhh, the first one did the trick!!  thank you much!

malkowki

unread,
Jun 1, 2017, 9:24:30 AM6/1/17
to BeagleBoard, shant...@gmail.com
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,

Robert Nelson

unread,
Jun 1, 2017, 9:45:35 AM6/1/17
to Beagle Board, Beninio Mbila
On Thu, Jun 1, 2017 at 8:24 AM, malkowki <bmb.tec...@gmail.com> wrote:
> 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.

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

malkowki

unread,
Jun 2, 2017, 4:32:35 AM6/2/17
to BeagleBoard, shant...@gmail.com

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?
Reply all
Reply to author
Forward
0 new messages