Name: SQLite API
Submitter: ShaunR
Submitted: 05 Oct 2010
File Updated: 05 Jan 2011
Category: Database & File IO
LabVIEW Version: 2009
License Type: Other (included with download)
SQLIte API
This LAVA Code Repository Download is no longer distributed or supported by LAVA.
Please follow this link for further support.
Description:
This is a Labview API wrapper for the SQLite dll.
From the authors of SQLite:
"SQLite is a in-process library that implements a self-contained,
serverless, zero-configuration, transactional SQL database engine.
The code for SQLite is in the public domain and is thus free for use
for any purpose, commercial or private".
More information can be found on the SQLite website http://www.sqlite.org.
The LabView API contains all the basic SQLite features but it is not a full implementation.
However, it is comprehensive enough to satisfy most application requirements for
a databse enabled application and the featurelist will grow with each new release.
Currently supported features include:
Creating, deleting, listing and renaming tables and columns.
Selecting, inserting, updating and deleting records.
Retrieving SQLite system informaion.
"Onlne" database backup.
"On Insert", "On Delete" and "On Update" Triggers.
File Import.
Query Saving.
Installation:
Unzip to a directory of your choice.
Install the pallet menu file (.mnu) provided.
Required Packages:
Labview (Win x32, x64,) 9.0 or greater.
SQLite DLL (Included).
Supported Environments.
Windows x32, x64
Known Issues.
Cannot use semicolons ";" in values when using "Query Transaction" polymorphic instance.
Workaround: Replace semicolons with another character (e.g. tilda "~") or use the standard "Query" or "Query By Ref" VIs.
Versioning:
Current version 1.2.1
New Feature: Added "Conflict Clause" to SQLite_Insert and SQLite_Insert Table.vi (allow replace, fail ect)
Performance: Changed "SQLite_Prepare.vi" and "SQLite_Bind.vi" to pass data as a U8 array rather than string.
Performance: Changed "Insert" (SQLite_Insert Row.vi) to use "Insert Table". (All inserts now use prepared statements.
Performance: Changed some low level VIs to re-entrant for better concurrency.
Bug Fix: Changed all polymorphic API VIs to show instance icon.
(some context help for VI was not being displayed when set to polymorphic VIs' icon)
Bug Fix: Exposed "Distinct" boolean on "SQLite_Select.vi". (No terminal on compane).
Bug Fix: Replaced some cursor "Unset Busy" with "Set Busy" in SQLite DB Manager.
Bug Fix: Changed "SQLite_Bind.vi" to force sqlite dll to use local copy of data.
(Fixes reported bug in LVx32 insering the same data in multiple columns).
Changes: Changed icon on "Insert Table" to make more visually discerning from "Insert".
Version 1.2.0.0
See changelog.txt.
Special Thanks to
Gepponline
MattW
Contact:
PM ShaunR on lavag.org (http://www.lavag.org)
This LAVA Code Repository Download is no longer distributed or supported by LAVA.
Please follow this link for further support.