[Ham-Mac] Question for Mac programmers

Hans-Christian Becker hans.c.becker at fki.uu.se
Fri Jan 28 16:33:53 EST 2005


On Jan 28, 2005, at 10:18 PM, Sergei Ludanov wrote:

> I am hoping that someone knowledgeable will answer the question or 
> give an idea. I have a file created by PC program. Data is stored on 
> the file as int, float, double and so on. As PC and Mac use different 
> byte ordering reading it directly does not do any good. Looking 
> through Apple's docs I found the way to convert integers both short 
> and long but I am confused about floats. Can anyone help?

Some (many?) data analysis programs read IEEE floats more-or-less out 
of the box. If the floats are stored in a standard format, it should be 
possible to read the data using either an existing program or a 
home-written one. I do not have any links to the actual format, but I 
think Google will help. Some experimenting with the byte ordering may 
be necessay, but you already know that...
The software I have used to read binary (float) files is Igor Pro 
(<http://www.wavemetrics.com>). Let me know if you want me to try 
anything for you.
Hans

-- 
Dr. Hans-Christian Becker
'96 VN750 SM5TLH KG6POK
Uppsala, Sweden
I am trying to organize the great sock drawer of my mind.



More information about the Ham-Mac mailing list