LabVIEW Public Beta Program in 2023

cancel
Showing results for 
Search instead for 
Did you mean: 

Linux (Debian) installation

(No bug)

 

I installed the Beta on a fresh new VMware VM with Linux Mint 21.1 64-bit.  I have to admit that this was the smoothest installation as compared to all previous installations (and attempts to install) LabVIEW on an Ubuntu variant.  Job well done NI.  One comment, below:

 

I followed the instructions provided on the NI website, but adjusted for this installation:\.  From the website:

 

  • Download the  .zip file for the LabVIEW version and edition (Community, Full, Pro.) you wish to install.
  • Open the .zip file the extract the package file (.rpm or .deb) for your Linux distribution and version. 
  • Install the package (e.g., For Ubuntu use: sudo apt install ni-labview-2023-pro_23.1.0.49229-0+f77-ubuntu2004_all.deb)  OR rather this command in this case:  sudo apt install ni-labview-2023-pro_23.2.0.71-0+d71-ubuntu2204_all.deb

Instead of using the sudo apt install command, I simply double clicked the deb file "ni-labview-2023-pro_23.2.0.71-0+d71-ubuntu2204_all.deb".    ( Q:  Should both approaches be acceptable?  )

 

The rest of the instructions were as described on the web page here:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGwsCAG&l=en-CA

 

 

 

 

Message 1 of 7
(4,022 Views)

Is there a Database Connectivity Toolkit available for LabVIEW Linux?  Or is it planned?

 

According to the KB, this is not yet supported.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019S69SAE&l=en-CA

 

I will try the SQLite Library from JDP Science (although set for Windows).  I may also try to port the DCT to see how it works in Linux.

0 Kudos
Message 2 of 7
(4,020 Views)

I highly doubt the Database Toolkit will work on Linux, as it uses ActiveX to establish the ODBC connection.

Message 3 of 7
(3,989 Views)

Good point...  I may need to create my own modules.  Database and Linux often go hand-in-hand.

0 Kudos
Message 4 of 7
(3,974 Views)

@Darren wrote:

I highly doubt the Database Toolkit will work on Linux, as it uses ActiveX to establish the ODBC connection.


There are ADO .Net variants around but they suffer the same problem of only working on Windows.

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 7
(3,926 Views)

I decided to implement database VI's and create a library.  It is for Postgresql.  I may create a Linux package available to everyone.

0 Kudos
Message 6 of 7
(3,773 Views)

I believe there already was a PostgreSQL library somewhere. Actually more than one.

 

One approach is trying to implement the TCP/IP byte stream protocol directly in LabVIEW. This is very elegant as it makes the library platform independent but a lot of work to implement, as one has to reimplement the byte stream protocol in LabVIEW and also has to deal with possible changes in the future to that protocol.

Examples:

https://www.ni.com/nl-nl/shop/product/neodb-for-postgresql.html

 

The other uses pre-existing shared libraries (*.dll on Windows, *.so on Linux). One example is this:

https://lavag.org/topic/21263-postgresql-library/

 

Rolf Kalbermatter
My Blog
0 Kudos
Message 7 of 7
(2,381 Views)