05-02-2023 12:30 PM
(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:
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
05-02-2023 12:35 PM - edited 05-02-2023 12:39 PM
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.
05-02-2023 03:04 PM
I highly doubt the Database Toolkit will work on Linux, as it uses ActiveX to establish the ODBC connection.
05-02-2023 09:17 PM
Good point... I may need to create my own modules. Database and Linux often go hand-in-hand.
05-04-2023 03:38 PM
05-29-2023 12:12 PM
I decided to implement database VI's and create a library. It is for Postgresql. I may create a Linux package available to everyone.
02-29-2024 02:54 AM - edited 02-29-2024 03:00 AM
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/