comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Matlab to IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Matlab to IDL [message #36712 is a reply to message #36627] Mon, 13 October 2003 10:01 Go to previous messageGo to previous message
dino.nicola is currently offline  dino.nicola
Messages: 7
Registered: October 2003
Junior Member
Finally I could solve the problem! Here is the code working good:

file='c:\pcon_1.sdt'
rad=fltarr(1024,512)
openr,lun,file,/get_lun,/swap_endian
point_lun,lun,0
readu,lun,rad
close,lun
window,xs=1024,ys=512
device,decomposed=0
loadct,0
tvscl,rad
end


So the big question was the /SWAP_ENDIAN ( either
/SWAP_LITTLE_ENDIAN) keyword. I'm running IDL on a PC with Windows
2000 but I don't know what kind of system the data are coming from.
Thanks a lot, I really appreciate your help! Dino
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLWAVE Mac OS X
Next Topic: Tutorial: Using idl in java applications

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 23:34:43 PDT 2025

Total time taken to generate the page: 0.32086 seconds