From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino Uno with Labview running on Linux

Running Labview 17, ni visa 17, on ubuntu 64.  Having problems talking to arduino (Labview interface for Arduino.)  Works fine on my windows virtual machine.  Looks like it is getting hung up on the visa write returning an error.  Has anyone successfully used the LabView interface for arduino on a linux system?

thanks!

0 Kudos
Message 1 of 12
(6,934 Views)

Works fine with Centos 7 64bits.

 

VISA 17 100% fine

Labview 100%

 

Arduino - only arduino with FTDI or CH340 usb/serial

 

 

For atmel chip usb/serial allways fail.

 

Ubuntu - doesn't work for me.

 

Any question let me know.

 

 

 

 

 

 

0 Kudos
Message 2 of 12
(6,929 Views)

Well, i tried on a centos machine and still no luck but i do have an atmel chip.... Bummer.

0 Kudos
Message 3 of 12
(6,920 Views)

I love ubuntu, but centos 7 after fell days show it self a very good OS.

 

Centos little diferent from Ubuntu and the web has less information, but until now for me all is fine.

 

About arduino, I have break my head until discovery about the CH34o usb/serial, but now this is very stable chip, I have excellent results with arduino and centos + labview, much better than Windows (8 or 10).

 

Serial port in linux much more stable than Windows.

 

Please change arduino and you will be happy.

 

 

0 Kudos
Message 4 of 12
(6,916 Views)

How did you set up your permissions on Centos for the VISA devices?

 

Looks like it was a permissions error, i ran as root and now interface is working.

0 Kudos
Message 5 of 12
(6,911 Views)

Well, tried running as root on Ubuntu and it is working there now as well.  So looks like all is good now.  (Just have to run an older kernel on ubuntu so that visa will work.) Running kernel 4.4.0-83

0 Kudos
Message 6 of 12
(6,907 Views)

Centos 7

 

sudo gpasswd -a username wheel

sudo gpasswd -a username dialout

 

username of course your user.

 

than reboot

0 Kudos
Message 7 of 12
(6,901 Views)

how did you install visa 17 on ubuntu..

 

with always frezzer ubuntu..and so many crashs...

 

 

tks

0 Kudos
Message 8 of 12
(6,900 Views)

Had to make sure that i was running an older kernel (4.4.0-83 or earlier works for me).

Convert to debs.

Assuming we are working on a 64 bit linux machine.
//for converting 64 bit rpms simply use
sudo alien --scripts *.rpm

//for converting 32 bit rpms us
sudo alien --scripts -ct *.rpm
sudo alien -c *.tgz

 

install all debs (sudo dpkg -i *.deb)

 

Then run updateNIDrivers.  That worked for me.

0 Kudos
Message 9 of 12
(6,891 Views)

ubuntu 14.04 right?

 

 

0 Kudos
Message 10 of 12
(6,888 Views)