About This File
Introductory video now available on YouTube: Intro to SQLite in LabVIEW
SQLite3 is a very light-weight, server-less, database-in-a-file library. See www.SQLite.org. This package is a wrapper of the SQLite3 C library and follows it closely.
There are basically two use modes: (1) calling "Execute SQL" on a Connection to run SQL scripts (and optionally return 2D arrays of strings from an SQL statement that returns results); and (2) "Preparing" a single SQL statement and executing it step-by-step explicitly. The advantage of the later is the ability to "Bind" parameters to the statement, and get the column data back in the desired datatype. The "Bind" and "Get Column" VIs are set as properties of the "SQL Statement" object, for convenience in working with large numbers of them.
See the original conversation on this here.
Hosted on the NI LabVIEW Tools Network.
JDP Science Tools group on NI.com.
***Requires VIPM 2017 or later for install.***
What's New in Version 1.0.1 See changelog
- — Changed from a zip distribution to a VI Package Manager package (installing in VI.lib/drjdpowell/SQLite LabVIEW)
- — added “Text Encoding” property to allow binding or extracting columns as UTF-8, UTF-16 or system text encoding
- — SQL and other control strings now converted from system to UTF-8 encoding before being passed to SQLite.
- — some speed improvements in some VIs