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

Home » Public Forums » archive » Real Number on PVWAVE
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
Real Number on PVWAVE [message #17901] Wed, 17 November 1999 00:00 Go to next message
daniele.monti is currently offline  daniele.monti
Messages: 3
Registered: November 1999
Junior Member
Dear All,
I'm in big trouble with PV_WAVE.
I have to read a very simple file like this:
37122.00002
37122.00004
37122.00006
...
...
...
...
How can I read numbers with more then six or eight digits?
I tried using Double Precision format but I didn't get any positive
result.

Thank you in advance

Daniele
Re: Real Number on PVWAVE [message #17927 is a reply to message #17901] Fri, 19 November 1999 00:00 Go to previous messageGo to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Tim Cross (timc@boulder.vni.com) writes:

> However, most of the PV-WAVE user discussion takes place on the
> VNI Mailing List Forum, to which you can subscribe by sending
> a message to majordomo@boulder.vni.com containing the the
> following in the body of the message:
>
> subscribe pv-wave my@email.address

The trouble with the VNI Mailing List is that you
can go for weeks without hearing from anyone. And just
when you've concluded that PV-Wave emits some kind of
nerve gas that paralyzes people's typing fingers,
you log on one morning to find 75 messages waiting
for you.

I still can't put my finger on the phenomenon
that causes every PV-Wave user with a problem
to *simultaneously* decide to consult someone
else. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Real Number on PVWAVE [message #17928 is a reply to message #17901] Fri, 19 November 1999 00:00 Go to previous messageGo to next message
Tim Cross is currently offline  Tim Cross
Messages: 3
Registered: November 1999
Junior Member
R. Kyle Justice wrote:
>
> ...
>
> I have only used PV-Wave (for about 6 years now). Most
> of the posts to this newsgroup are fairly IDL specific so
> I feel a special need to "defend" PV-Wave when the need
> arises ;-P I fear that our numbers are dwindling!

In fact, our numbers are growing, and at a pretty rapid clip.
However, most of the PV-WAVE user discussion takes place on the
VNI Mailing List Forum, to which you can subscribe by sending
a message to majordomo@boulder.vni.com containing the the
following in the body of the message:

subscribe pv-wave my@email.address

> From what I can tell, the DC_ functions are one of the few
> features in PV-Wave that is "superior" to IDL.

IMHO there are a lot of good reasons to use PV-WAVE. This
is not the place to trot out a list.

> As far as documentation goes, I like PV-Wave's fairly well.
> The only problem is it takes forever to get a new set of hardcopy
> docs whenver a new version comes out. I *despise* online
> documentation!

Well, we could hold back the new product releases until
the documents are printed, but that would just annoy the
people who don't mind online documentation :-).

Tim
Prod Dev Mgr, Visual Numerics Inc.

--
Tim Cross timc@boulder.vni.com 303-245-5393
Visual Numerics, Inc.
5775 Flatiron Parkway, Suite 220
Boulder CO 80301 USA
http://www.vni.com
My opinions etc.
Re: Real Number on PVWAVE [message #17941 is a reply to message #17901] Fri, 19 November 1999 00:00 Go to previous messageGo to next message
rkj is currently offline  rkj
Messages: 66
Registered: February 1996
Member
David Fanning (davidf@dfanning.com) wrote:
: R. Kyle Justice (rkj@dukebar.crml.uab.edu) writes:

: > Just thought I would defend DC_READ_FREE. It is one
: > of the most useful routines in all of PV-Wave. It does
: > have several quirks but I can't even imagine reading
: > column data the old OPENR way.
: >
: > I have never messed with READ_IMAGE (nor do I care to)
: > so I really shouldn't attempt to comment on it.

: Kyle, you are reading WAY too much into my comments.
: You aren't secretly working for RSI, are you?

: I meant, of course, that both programs are of the
: very highest quality, but they don't always do
: what you might have hoped they would do.

: Of course, one could always read the documentation. :-)

: Cheers,

: David
: --

Secretly working for RSI? I have never even used IDL ;-)

I have only used PV-Wave (for about 6 years now). Most
of the posts to this newsgroup are fairly IDL specific so
I feel a special need to "defend" PV-Wave when the need
arises ;-P I fear that our numbers are dwindling!

From what I can tell, the DC_ functions are one of the few
features in PV-Wave that is "superior" to IDL. But I could
be wrong about this because, like I said, I have never really
used IDL (and, at the moment, ignorance is bliss). Most of
what I know of IDL's specific features I have gleaned from
reading this newsgroup.

As far as documentation goes, I like PV-Wave's fairly well.
The only problem is it takes forever to get a new set of hardcopy
docs whenver a new version comes out. I *despise* online
documentation!

Kyle
Re: Real Number on PVWAVE [message #17965 is a reply to message #17901] Thu, 18 November 1999 00:00 Go to previous messageGo to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
R. Kyle Justice (rkj@dukebar.crml.uab.edu) writes:

> Just thought I would defend DC_READ_FREE. It is one
> of the most useful routines in all of PV-Wave. It does
> have several quirks but I can't even imagine reading
> column data the old OPENR way.
>
> I have never messed with READ_IMAGE (nor do I care to)
> so I really shouldn't attempt to comment on it.

Kyle, you are reading WAY too much into my comments.
You aren't secretly working for RSI, are you?

I meant, of course, that both programs are of the
very highest quality, but they don't always do
what you might have hoped they would do.

Of course, one could always read the documentation. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Real Number on PVWAVE [message #17966 is a reply to message #17901] Thu, 18 November 1999 00:00 Go to previous messageGo to next message
rkj is currently offline  rkj
Messages: 66
Registered: February 1996
Member
David Fanning (davidf@dfanning.com) wrote:

: Well, I suspect that DC_READ_FREE is reading the
: data as Floats, rather than as Doubles. I'm not
: familiar with the routine, but I'd guess it was
: written in the PV-Wave language and probably of
: the same quality as something like READ_IMAGE
: in IDL. :-)

The problem is that you have to specify your variable as
a double before reading. Someone already pointed
this out so . . .

Just thought I would defend DC_READ_FREE. It is one
of the most useful routines in all of PV-Wave. It does
have several quirks but I can't even imagine reading
column data the old OPENR way.

I have never messed with READ_IMAGE (nor do I care to)
so I really shouldn't attempt to comment on it.

Kyle J.
Re: Real Number on PVWAVE [message #17976 is a reply to message #17901] Thu, 18 November 1999 00:00 Go to previous messageGo to next message
daniele.monti is currently offline  daniele.monti
Messages: 3
Registered: November 1999
Junior Member
On 18 Nov 1999 09:47:46 GMT, "Adrian Clark" <adrian.clark@gecm.com>
wrote:

> Dear Daniele,
>
> It looks to me as though WAVE is interpreting your numbers as floats and
> then truncating them. Did you specify your variable as a double before
> reading? I suspect that if this is not specified, float is the expected
> default when a '.' is found in a number. I got the following to work:
>
> wave> DELVAR,varArray
> make sure varArray doesn't already exist as a float from previous attempts!
> wave> varArray=DBLARR(1)
> tell wave to expect doubles
> wave> status=DC_READ_FREE('filename',varArray,/resize)
> /resize will resize varArray to cope with amount of data present
> wave> PRINT,varArray,Format="(D11.5)"
> print it in whatever format seems appropriate
>
> HTH
>
> Yours,
> Adrian
>


Thank you, thank you very much !!!
It works !!!

Cheers,

Daniele
Re: Real Number on PVWAVE [message #18005 is a reply to message #17901] Mon, 22 November 1999 00:00 Go to previous messageGo to next message
Adrian Clark is currently offline  Adrian Clark
Messages: 6
Registered: October 1999
Junior Member
Hey, we're out here!

We just don't get to subscribe to newsgroups that much. It's must be the
result of one of the following:

a) We're all so clever and PV-Wave is so straight forward, that we never
need to ask questions on newsgroups
b) We're all so dumb and PV-Wave is so obscure and buggy that we're so
busy trying to get things to work that we never get round to asking
questions on the NGs.

Which do you reckon it is? ;-))

Adrian

R. Kyle Justice <rkj@dukebar.crml.uab.edu> wrote in article
<814n40$4td$1@SonOfMaze.dpo.uab.edu>...
> David Fanning (davidf@dfanning.com) wrote:
> : The trouble with the VNI Mailing List is that you
> : can go for weeks without hearing from anyone. And just
> : when you've concluded that PV-Wave emits some kind of
> : nerve gas that paralyzes people's typing fingers,
> : you log on one morning to find 75 messages waiting
> : for you.
>
> : I still can't put my finger on the phenomenon
> : that causes every PV-Wave user with a problem
> : to *simultaneously* decide to consult someone
> : else. :-)
>
> : Cheers,
>
> : David
>
> You are right. There is no comparison between this newsgroup and
> the so-called VNI mailing list. I just wish there were more PV-Wave
> users here to help me with my obscure widget questions.
>
> But every time I have had a general PV-Wave language question I have
> received an answer back from this group within a day. Amazing.
> That's why I can't give up this newsgroup (although I probably
> classify as a lurker).
>
> Which again begs the question . . . where are all the other
> devoted PV-Wavers out there??? And why are you using the mailing
> list???
>
> Kyle
>
>
>
Re: Real Number on PVWAVE [message #18025 is a reply to message #17901] Fri, 19 November 1999 00:00 Go to previous messageGo to next message
rkj is currently offline  rkj
Messages: 66
Registered: February 1996
Member
David Fanning (davidf@dfanning.com) wrote:
: The trouble with the VNI Mailing List is that you
: can go for weeks without hearing from anyone. And just
: when you've concluded that PV-Wave emits some kind of
: nerve gas that paralyzes people's typing fingers,
: you log on one morning to find 75 messages waiting
: for you.

: I still can't put my finger on the phenomenon
: that causes every PV-Wave user with a problem
: to *simultaneously* decide to consult someone
: else. :-)

: Cheers,

: David

You are right. There is no comparison between this newsgroup and
the so-called VNI mailing list. I just wish there were more PV-Wave
users here to help me with my obscure widget questions.

But every time I have had a general PV-Wave language question I have
received an answer back from this group within a day. Amazing.
That's why I can't give up this newsgroup (although I probably
classify as a lurker).

Which again begs the question . . . where are all the other
devoted PV-Wavers out there??? And why are you using the mailing
list???

Kyle
Re: Real Number on PVWAVE [message #18102 is a reply to message #17901] Mon, 29 November 1999 00:00 Go to previous message
rkj is currently offline  rkj
Messages: 66
Registered: February 1996
Member
Andrew J Leaper (andrew@leaper44.freeserve.co.uk) wrote:
: Adrian Clark wrote:

: > Hey, we're out here!
: >
: > We just don't get to subscribe to newsgroups that much. It's must be the
: > result of one of the following:
: >
: > a) We're all so clever and PV-Wave is so straight forward, that we never
: > need to ask questions on newsgroups
: > b) We're all so dumb and PV-Wave is so obscure and buggy that we're so
: > busy trying to get things to work that we never get round to asking
: > questions on the NGs.
: >
: > Which do you reckon it is? ;-))
: >
: >

: I think that I would prefer to believe (a)...

Then you must not be developing "elegant" user-interfaces through
direct calls to the Motif toolkit via the Wt functions. This is
the epitome of "obscure." The only semi-redeeming aspect of this
is that you feel like a "real programmer" because you regularly
consult the O'Reilly Motif Manuals (aka the Sacred Tomes).

But even when you have found the little-known resource that does just
what you want, there is only a 50/50 chance that setting it will have
any effect. So after pulling your hair out for hours, you decide to
"settle" for a "just ok" interface using the Ww layer. It's too bad IDL
users don't have the "joy" of going through this process since they
don't have the illusion of so many interface design choices :-)

Kyle

: > Adrian
: >

: --

: Andrew Leaper
: andrew@leaper44.freeserve.co.uk
: andrew.leaper@gecm.com

Kyle
Re: Real Number on PVWAVE [message #18103 is a reply to message #17901] Mon, 29 November 1999 00:00 Go to previous message
Andrew J Leaper is currently offline  Andrew J Leaper
Messages: 1
Registered: November 1999
Junior Member
Adrian Clark wrote:

> Hey, we're out here!
>
> We just don't get to subscribe to newsgroups that much. It's must be the
> result of one of the following:
>
> a) We're all so clever and PV-Wave is so straight forward, that we never
> need to ask questions on newsgroups
> b) We're all so dumb and PV-Wave is so obscure and buggy that we're so
> busy trying to get things to work that we never get round to asking
> questions on the NGs.
>
> Which do you reckon it is? ;-))
>
>

I think that I would prefer to believe (a)...


> Adrian
>

--

Andrew Leaper
andrew@leaper44.freeserve.co.uk
andrew.leaper@gecm.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL web resource
Next Topic: too many TLB resize events

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

Current Time: Wed Oct 08 15:40:05 PDT 2025

Total time taken to generate the page: 0.00753 seconds