Random Ramblings on LabVIEW Design

Community Browser
Labels
cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW OpenSUSE Leap 15.5 on a little PC

swatts
Active Participant

Hello LabVIEW/Linux Lovers

 

As previously mentioned in this series of articles I will be installing the distro, LabVIEW 2024Q1 and NI-VISA on a Lenovo SFF (Lenovo Thinkcentre M72e Tiny i3-3220T 8GB RAM 120GB SSD. 2.80GHz).

 

The Intel i3-3220T has a PassMark average score of 1933 which is approximately twice as fast as the LattePanda V1.

 

I won't go through the install process as it is essentially similar to the LattePanda, but this time I chose the KDE desktop and it is NICE!

 

I used ScreenConnect to get the images as my TeamViewer license was causing me issues and interestingly ScreenConnect only showed the screen when logged into the root desktop, on the general login it was just a black screen.

 

I also chose LabVIEW 2024Q1 as it matches well with OpenSUSE Leap 15.5.

 

swatts_0-1707594292596.png

 

Testing with CTI Pico Hardware

How does LabVIEW feel? It feels fine, built the HandsOn emulator into an exe in less than 15 seconds, moving a largish event structures around was fine, user interface moves around screen nicely.

How does the User interface function? Responsive.

How does the hardware function?

 

One thing I wanted to get my head around was the issue with non-root logins and the discovery of serial ports. Adrian furnished me with a solution.

 

What we wanted to see was this.

swatts_1-1707594654645.png

But at first all we saw was lots of question marks and these incremented every time you hit refresh. (root was OK, the cti login wasn't)

This was also observed in the HW Config utility and in a third party utility called cutecom.

As with all things Linux it was to do with permissions and when the login was added to the dialout group and the system restarted all became good.

 

So we could check what groups the user is in by (my user is called "cti" on this system)

 

groups cti  <-- this displays all the groups that cti is part of.

swatts_1-1707596235262.png

 

sudo gpasswd --add cti dialout <-- this adds cti to the dialout group

 

swatts_0-1707596177730.png

After a reboot everything worked as expected. LabVIEW works very nicely on the KDE desktop.

 

Next article I will be doing some very interesting with the on-board arduino on the LattePanda V1 (if I can get it working)

 

Lots of Linux love

Steve


Opportunity to learn from experienced developers / entrepeneurs (Fab,Joerg and Brian amongst them):
DSH Pragmatic Software Development Workshop


Random Ramblings Index
My Profile