Hello,
I did a binary to ascii conversion of one of my public data table files for purposes of sending it to somebody that does not have loggernet.
The field that I'm specifically interested in is an ASCII string field. So, what I noticed was that in certain timestamps the ASCII file shows an empty string where in the binary file data is shown for that specific timestamp. I looked at the binary file in hex format and the data is there but when converted to the ASCII file, no data is stored, just an empty string.
Any ideas why?
Thanks!
We need to know how you were doing the conversion and how you collected the public data files, to help you with this.
Hi Andrew,
I used the CardConvert to do the conversion from binary to ASCII file. After seeing this, I also used MATLAB to compare the results and the same thing was showing.
Not sure exactly what you mean about how the public data files were collected. We use the LoggerNet schedule collection with a 1 second collection interval.
Thanks.
So did you get Loggernet to store the public table in TOB1 format? If so can you try opening the problem files in the View program of Loggernet to see if you see the same problem and report back which version of Cardconvert and View you are using?
Andrew,
Yes, I have LoggerNet configured to store the data tables in TOB1 format. ViewPro is what I'm using to see the files. So, when I open the TOB1 file, data is shown in the ASCII field and when I open the TOA5 file, no data is shown in the ASCII field, just an empty string.
I'm using ViewPro 4.1 and CardConvert 1.5.
Thanks.
I can send you the binary file and have you convert it to see if you see the same problem. However, it's a 12MB file.
This is strange as View and Cardconvert share some common code for the data conversion code. When you open a TOB1 file in View it converts the data to ASCII behind the scenes.
Can you send me the file by email (in other posts). 12MB should get through. Please give some pointers to the bad values.