Good day to all Lava users
I am New to the envoroment of SQLite and have been experimenting with the tool kit .
I have a few Questions that i hope someone will kindly answer and clarify for me and put me in good sted for the project i am about to commence. i seak answers to
1) at run time does the toolkit Vi's returned errors, if so, what are they?
2) Within the SQLite read loop,is it a good practise to wire the error cluster to the while- loop stop button?
3) i have been comparing a LabVIEW spreadsheet file write \ reads to SQLite file size, times for speeds against similar actions. Firstly,
a) What is the format of the SQLite created file data stored as - ASCII? BINARY?
b) Is any compression used ? or is it something needing enabling?
The reason i ask this If i compare the output files on size they are comparable Spreedsheet 30MB (Write 5423ms Read and filter 21681ms), and SQLite 36MB (Write 7539ms, read/filter 528) - this is for the same write file data set of 200000 rows X 7 elements and read/filter ( block insert using the prepare and commit VI's) .
a) should this be the case that the SQLite file will be larger in physical disk size?
b) and longer to write?
4) i also discovered that when purging data from the SQLite table the file size apperars to remains constant ? Subsequently i have discovered the Vacuum function how is this bet employed?
5) My intension is to use this in an Action / Events tracker in an Application is ther ay recomendations or tricks to ensure optium data capture - especially for those unexpected power/ system crashes?
6) finally during muy programming i have fould that it is possible to accadently lock a SQLite file when capturing and handling an error during the prcessing of an event in an JKI state machine - how do you unlock the SQLite tables?
.
Many thanks
Greg