Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Binary to ASCII conversion missing data


bonilt Jul 12, 2011 03:24 PM

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!


aps Jul 12, 2011 03:28 PM

We need to know how you were doing the conversion and how you collected the public data files, to help you with this.


bonilt Jul 12, 2011 03:32 PM

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.


aps Jul 12, 2011 03:41 PM

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?


bonilt Jul 12, 2011 03:44 PM

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.


bonilt Jul 12, 2011 03:47 PM

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.


aps Jul 12, 2011 04:02 PM

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.

Log in or register to post/reply in the forum.