09-17-2008 01:55 PM
I have a problem trying to figure out how to store data that I receive from a temperature and oxygen sensor on the rs232 port.
The data I receive is a ascii string, I have seperated the strings and numbers, by using "scan from string", and now I need to store the different values and also display them in a graph or something.
I have manage to write to a text file and read from it, but dont feel this is the best way. This is a sensor thats going to be logging for quite some time.
At the moment I'm looking into TDMS file, but not sure about that either, have also thought about using a sql database??
So I need some help figureing out the best solution for me. And it must be easy to create reports and graphs.
And I'm not experienced in labview, so I'm trying to keep it simple. I use Labview 8.6 🙂
09-22-2008 07:10 AM
09-24-2008 07:45 AM
a little bit more detailed..lets see, the string from the sensor is like this "MEASUREMENT 3835 619 Oxygen: 213.07 Saturation: 104.49 Temperature: 28.08"
So I need to store the numbers 213.07 , 104.49 and 28.08 . And I've manage to take these numbers out from the string. So now I need to store and display these data.
The sensor is going to be logging every 5 second, but I need only to store every 4-5 minutes. The sensor is also going to be logging for years. And I need a 2D graph that shows a time line and the values at that time. I also want to scale the timeline to see hours, days, weeks..
So I'm looking for the best way to store these data, TDMS, MySQL, ACCESS, TEXT or something else??
09-24-2008 11:40 AM