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

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.
RIP an inspiration; A true Folk's Guy

Replies are listed 'Best First'.
Re^6: Help Please: FCS Binary 2 ASCII conversion
by david_lyon (Sexton) on Apr 13, 2010 at 03:50 UTC

    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.
        sorry about missing the code tags "\$BEGINANALYSIS" => 0, "\$BEGINDATA" => 1794, "\$BEGINSTEXT" => 0, "\$BYTEORD" => "4,3,2,1", "\$DATATYPE" => "F", "\$ENDANALYSIS" => 0, "\$ENDDATA" => "441793 ", "\$ENDSTEXT" => 0, "\$FIL" => "4031.fcs", "\$INST" => " ", "\$MODE" => "L", I am running Linux memory 1.9 GiB 2 CPU Intel(R) core(TM)2 Duo CPU