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

Home » Public Forums » archive » write 2D matrix
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
write 2D matrix [message #40301] Tue, 03 August 2004 21:12 Go to next message
Tmorri is currently offline  Tmorri
Messages: 10
Registered: April 2004
Junior Member
Hi, can anyone tell me how to write a 2D array (1080x540)into an IDL
variable in my hard disk?

Thanks,

Tmorri
Re: write 2D matrix [message #40450 is a reply to message #40301] Tue, 03 August 2004 21:21 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Tmorri writes:

> Hi, can anyone tell me how to write a 2D array (1080x540)into an IDL
> variable in my hard disk?

Say what!?

How about:

SAVE, array

Or:

OpenW, lun, 'myarray.dat', /Get_Lun
WriteU, lun, array
Free_Lun, lun

Or, if you are going the other way (I can't really
tell):

OpenR, lun, 'whateveritscalled.dat', /Get_Lun
array = BytArr(1080,540)
ReadU, lun, array
Free_Lun, lun

That about covers the usual suspects. Any of those
do it for you?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: tvrd(true = 1) Odd behavior in Windows versus Linux
Next Topic: $t1 Almost FREE MONEY !! $t1

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

Current Time: Wed Oct 08 18:41:46 PDT 2025

Total time taken to generate the page: 0.00567 seconds