LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Speed problem when saving data to access using LabSQL

I have an application that needs to save data to an access database. I'm using LabSQL by Jeffrey Travis and it works fine except that the data-saving process is rater slow. I'm saving one value at a time using SQL command INSERT INTO table(col1) VALUES('value'); when I have an array of 100 values that needs to be saved it takes about 20s and that is too long.
Any idea on how to speed up the saving process?
0 Kudos
Message 1 of 2
(2,670 Views)
Hi,

Depending on how your program looks it might be possible to speed it up. Make sure that only the neccessary write to database is inside your loop and keep the initiate and close reference to the database outside. If you post your VI I might be able to check it for you.

Regards

Tony O.
Applications Engineer, National Instruments
0 Kudos
Message 2 of 2
(2,637 Views)