comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: can PV-Wave 'Restore' IDL Save XDR variables?

Re: can PV-Wave 'Restore' IDL Save XDR variables?
type: item
description: 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 -----------------------------------------------------------
creator: davidf
date: 1997-03-17T08:00:00-00:00