Page 1 of 1

Data logger capacity status

Posted: Mon Apr 06, 2015 3:27 am
by sixbells
Hello,

Is there a way of finding out the current (or last logged) data logger line number, by script or otherwise e.g. the current (or last logged) "Id" that appears in the first column in the csv file?

There are 2 reasons:

1. To warn the user when the data logger is nearly full, or when old values will start to be over written

2. To warn the user how long the USB database backup process will take prior to backup. Backup can easily be a few minutes for large databases, this can give the impression that the process has hung / has failed

Thanks - Matt

Re: Data logger capacity status

Posted: Fri Jan 24, 2020 2:04 pm
by Russ C.
You can use custom SQL commands to query the DataLogger table for its row count

Attached is a example project that uses custom SQL code to query the Database