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

Home » Public Forums » archive » IDL 6.3 read_binary ??
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
IDL 6.3 read_binary ?? [message #59105] Wed, 05 March 2008 02:22 Go to next message
kerninger is currently offline  kerninger
Messages: 6
Registered: March 2008
Junior Member
Hello,

I have a problem with the read_binary function in IDL version 6.3.
When I call the following line it gives me a syntax error during
compilation.

array=read_binary(fname,
data_dims=[mx,my,mz],data_type=4,endian='little)

When I do the same in IDL version 5.6 there it works.
Does anybody know a solution?

Best regards,

kerninger
Re: IDL 6.3 read_binary ?? [message #59199 is a reply to message #59105] Fri, 07 March 2008 01:09 Go to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Mar 7, 3:31 am, Craig Markwardt
<craigm...@REMOVEcow.physics.wisc.edu> wrote:
> Surely this was a path problem?
>
> Craig

That's what my money's on. Is anyone volunteering to hack into
kerninger's Computing Center and extract the !PATH from every machine
in there? ;-)

Still hopeful of a further update from OP...
Chris
Re: IDL 6.3 read_binary ?? [message #59207 is a reply to message #59105] Thu, 06 March 2008 19:31 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
kerninger@gmx.de writes:
> I just want to say that the problem is really due to the system I try
> to use this code. An other system of the same Computing Center is able
> to compile and run the code.
> So, thank you very much for your contribution.
> Now we can close this discussion ;)
>
> kerninger

Surely this was a path problem? You would get a syntax error if
READ_BINARY was missing from your path, so IDL would try to interpret
it as an array instead of a function.

Craig
Re: IDL 6.3 read_binary ?? [message #59212 is a reply to message #59105] Thu, 06 March 2008 11:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
kerninger@gmx.de writes:

> I just want to say that the problem is really due to the system I try
> to use this code. An other system of the same Computing Center is able
> to compile and run the code.
> So, thank you very much for your contribution.
> Now we can close this discussion ;)

Discussions that end with magical, and unbelievable,
results always leave me unsatisfied. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: IDL 6.3 read_binary ?? [message #59213 is a reply to message #59105] Thu, 06 March 2008 10:44 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Mar 6, 12:33 pm, kernin...@gmx.de wrote:
> I just want to say that the problem is really due to the system I try
> to use this code. An other system of the same Computing Center is able
> to compile and run the code.
> So, thank you very much for your contribution.
> Now we can close this discussion ;)
>
> kerninger

I think it would still be nice to know why. Maybe it just the
scientist in me. At least maybe you could share the system
information?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Object Graphics Windows in X Windows
Next Topic: Re: Workspace unavailable

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

Current Time: Wed Oct 08 20:04:59 PDT 2025

Total time taken to generate the page: 0.00571 seconds