Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys, I'm new here and I'm trying to read blob data from a SQLite database and I'm not getting it. These data are from a software database that stores measurements performed by a signal acquisition board. Can anyone help me?

I'm using Visual Studio C#.

Thanks.

Claudio

What I have tried:

I don't know where to start. I can open the database and read a byte[] Array, but the next steps I don't know how to do. I have seen many explanations of how to work with binary files and images, but this is not the case.
Posted
Updated 10-Aug-21 20:00pm
Comments
Richard MacCutchan 11-Aug-21 4:08am    
You need to study the documentation for the board in question to find out what format the data is stored in.

1 solution

We can't help you - SQLite and all other databases don't know or care what is in BLOB data, it's just a stream of bytes as far as they are concerned.

And what you do to retrieve it is exactly what you are doing: fetch it as an array of bytes.
After that, it's down to what exactly was received from your signal acquisition board (which we can't see and have no idea about) and how you aggregate it before you store it in the DB (which we also can see and have no idea about!)

Start by looking at two things: the code that stores the data in the BLOB, and the signal acquisition board manual to find out what the data format(s) is / are.

We can't do any of that for you!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900