Home »
Public Forums »
archive »
Re: reading 12 bit data
Re: reading 12 bit data [message #32697] |
Tue, 29 October 2002 17:13 |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
Check out extract_oddword.pro which is available on RSI's user contrib
library webpage under the utilities section.
http://www.rsinc.com/codebank/search.asp?search=category& ;product=IDL&catid=2
9
If it doesn't do the trick it should at least get you started.
-Rick
"Thomas S. Spisz" <thomas.spisz@jhuapl.edu> wrote
>
> have you ever tried to read 12 bit data in IDL? I have always avoided
> this situation, telling people to save 12 bit data as a 16 bit int.
> Unfortunately, I am in a situation now where I have to read 12 bit data
> fields. I know I can probably brute force it by reading byte by byte,
> and then doing some math. I just don't want to go there if I don't have
> to. If you happen to have written something to read 12 bit data fields,
> I would greatly appreciate it.
> thanks,
> --tom spisz
|
|
|
Current Time: Sat Oct 11 12:20:20 PDT 2025
Total time taken to generate the page: 0.56089 seconds