Page 1 of 1

Delete database and read external memory

Posted: Tue Jun 11, 2013 2:39 am
by automatix
Hello to our forum.
I have a data logging with ix T4A which is store automatic every 8 hours to
an external 8gb ssd my logs to csv format.
My first problem is that i dont know how delete the internal stored database.I dont know if i must delete the file "database" or must do something else.
My second problem is that i need to have a numeric in my main menu,to read the external memory and know how much used and free memory i have.
I didnt find a system tag for that purpose.
Thank you very much.

Re: Delete database and read external memory

Posted: Tue Jun 11, 2013 8:27 am
by mark.monroe
You can use SQL to delete the rows in the database after you export them to your USB stick. Here is a forum post that contains a script that shows you how to run a SQL statement against the database.

Here is a forum post on some C# code that you can use to get the space of the USB drive.

You can use the Process.Start("Explorer.exe", "") C# function to start a Windows Explorer and look at the unit's file system.