Linux Users

Highlighted

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
(3,815 Views)
11 REPLIES 11

Re: Arduino Uno with Labview running on Linux

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
(3,810 Views)

Re: Arduino Uno with Labview running on Linux

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
(3,801 Views)

Re: Arduino Uno with Labview running on Linux

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
(3,797 Views)

Re: Arduino Uno with Labview running on Linux

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
(3,792 Views)

Re: Arduino Uno with Labview running on Linux

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
(3,788 Views)

Re: Arduino Uno with Labview running on Linux

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
(3,782 Views)

Re: Arduino Uno with Labview running on Linux

how did you install visa 17 on ubuntu..

 

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

 

 

tks

0 Kudos
Message 8 of 12
(3,781 Views)

Re: Arduino Uno with Labview running on Linux

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
(3,772 Views)

Re: Arduino Uno with Labview running on Linux

ubuntu 14.04 right?

 

 

0 Kudos
Message 10 of 12
(3,769 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.