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

Home » Public Forums » archive » Re: can PV-Wave 'Restore' IDL Save XDR variables?
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
Re: can PV-Wave 'Restore' IDL Save XDR variables? [message #8452] Mon, 17 March 1997 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Scott Smyth <smyth@apex.eas.gatech.edu> writes:

> I use IDL and store data in XDR format using IDL's
> save routine. However, I would like to pass my data
> on to others who use PV-Wave. Does PV-Wave have a function
> to restore, /XDR data similar to IDL?

PV-Wave has a similar function, but the chance of it restoring
an IDL SAVE file are slim and none. (IDL SAVE files don't even
bridge different versions of IDL!)

If it's just data you want to save (not the name of the variable, etc.),
then you are much better off to open an XDR data file, write the
variable into it, and send that to your friends. This file they *will*
be able to open and read. Your code will look like this:

OPENR, unit, 'mydata.dat', /XDR, /Get_Lun
WRITEU, unit, variable
FREE_LUN, unit

Cheers!

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
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: Sharing Variables within a Widget
Next Topic: "center-of-gravity" function (2D dist)

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

Current Time: Wed Oct 08 17:23:58 PDT 2025

Total time taken to generate the page: 0.00512 seconds