in reply to Re^3: Help Please: FCS Binary 2 ASCII conversion
in thread Help Please: FCS Binary 2 ASCII conversion

Thank you so much for your help I appreciate it very much. It now works for CC4_067_BM.fcs but still doesnt give the correct results for FloatData4031.fcs I have no idea how to fix that, apologizes for the inconvenience.
  • Comment on Re^4: Help Please: FCS Binary 2 ASCII conversion

Replies are listed 'Best First'.
Re^5: Help Please: FCS Binary 2 ASCII conversion
by BrowserUk (Patriarch) on Apr 13, 2010 at 03:23 UTC
    but still doesnt give the correct results for FloatData4031.fcs

    Could you be a little more specific? How are the values wrong?

    Ie. Post a few (one or two) lines of the output + what they should be. And don't forget the <code></code> tags this time.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      at the beginning the results are correct then towards the end the results are wrong eg: the last results are: "-2.52964307903735e-29 3.69734402349445e+19 -2.80729058346108e-35 126837727232 -3.24638382888599e+26 6248.572265625 2916415963136 126304272384 1.26817648901879e-26" while in the file FloatData4031.csv at the end of the file should be: "2736.80,54985.20,13191.12,1128.60,31017.60,197.64,19.44,1706.65,5477.33,-36.52,94.62 2736.90,39273.60,5982.12,86.40,4153.68,32.40,-8.64,526.44,1362.11,-14.11,45.65 2736.90,63292.80,10270.80,1210.68,32983.20,158.76,34.56,1642.45,4472.60,68.06,83.00 2737.00,31156.80,5778.00,1323.00,33670.08,110.16,7.56,949.09,1186.63,-31.54,73.04 "

      Thank so much again for your kind help.

        Again, you forgot the <code></code> tags. Once more and I stop reading your posts.

        What output does the program list for "\$BYTEORD" => ??? on your machine?

        What hardware are you running on?


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.