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

Home » Public Forums » archive » Re: Read data as array structure
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: Read data as array structure [message #79197] Fri, 03 February 2012 04:04
Tasos is currently offline  Tasos
Messages: 4
Registered: February 2012
Junior Member
On Feb 3, 12:15 pm, Anton Reva <reva.anto...@gmail.com> wrote:
> I think it possible, but i don't know how. Usually I save the template in sav-file, and then skip the interactive genereation of template on the further runs of the programm

This worked. Thanks a lot for your help!
Re: Read data as array structure [message #79198 is a reply to message #79197] Fri, 03 February 2012 03:15 Go to previous message
Anton Reva is currently offline  Anton Reva
Messages: 4
Registered: February 2012
Junior Member
I think it possible, but i don't know how. Usually I save the template in sav-file, and then skip the interactive genereation of template on the further runs of the programm
Re: Read data as array structure [message #79199 is a reply to message #79198] Fri, 03 February 2012 02:55 Go to previous message
Tasos is currently offline  Tasos
Messages: 4
Registered: February 2012
Junior Member
On Feb 3, 11:05 am, Anton Reva <reva.anto...@gmail.com> wrote:
> Try READ_ASCII. THis procedure reads data from file to a structure. I think this is what you want.

Thanks for the answer. I tried the READ_ASCII procedure but the it
can't recognise the STRING variable. This is what I get...

{ NaN 0.386216 1286.08
NaN 0.391236 1080.36 }

Using an ASCII_TEMPLATE solves this problem by defining the data
types. However, when I use the structure data (created above) as a
template doesn't work.

So is there a way to somehow define this template not interactively?

Thanks!
Tas
Re: Read data as array structure [message #79200 is a reply to message #79199] Fri, 03 February 2012 02:05 Go to previous message
Anton Reva is currently offline  Anton Reva
Messages: 4
Registered: February 2012
Junior Member
Try READ_ASCII. THis procedure reads data from file to a structure. I think this is what you want.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: close journal file read-only
Next Topic: Weird Axis Reversal with cgPlot

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

Current Time: Wed Oct 08 13:36:32 PDT 2025

Total time taken to generate the page: 0.00711 seconds