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

Home » Public Forums » archive » Problems with PICKFILE.PRO under IDL ver. 4.0.1a for VMS
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Problems with PICKFILE.PRO under IDL ver. 4.0.1a for VMS [message #6077] Sat, 30 March 1996 00:00
austin is currently offline  austin
Messages: 5
Registered: February 1996
Junior Member
Hi Everyone,

I have discovered what I think is a bug in either the IDL xmanager or
more likely the procedure PICKFILE.PRO for IDL version 4.0.1a (VMS).

I am very interested to find out whether or not anyone else has
encountered similar problems. I will outline my problem in detail below
but first let me give a couple of code fragments illustrating the
situation. These code fragments come from the event loop of a
widget which I wrote.

This code works fine,

; a=pickfile()
name = 'userdisk1:[austin.data]stff1.dmp'
name2 = name
get_bm1pm0_data, file_type, name2, foo

but this code does not work,

a=pickfile()
name = 'userdisk1:[austin.data]stff1.dmp'
name2 = name
get_bm1pm0_data, file_type, name2, foo

My procedure get_bm1pm0_data.pro is a data extraction routine which
utillizes a shared image fortran library. I have traced down to the call_external
to the fortran code and found that the parameters passed are identical.
Furthermore, a colleague tested my code on his machine running IDL ver. 4.0
and everything worked fine.

I have come to the conclusion that there must be some conflict between
the xmanager and my shared image lib. So, I wrote another routine to simply
allow the user to input a string via a text widget. This is where things got
interesting.


This works,
a=pickfile()
get_file_name, name
name2 = a
get_bm1pm0_data, file_type, name2, foo

but this does not
a=pickfile()
; get_file_name, name
name2 = a
get_bm1pm0_data, file_type, name2, foo


It seems as though the xmanager is not properly "unregistering" pickfile.pro,
since when I call another widget right after the call to pickfile() it seems to
reset whatever is causing my problem.

I would really appreciate any insight you my be able to provide.

Thanks,
Brett

=======================================
J. Brett Austin (austin@unhedi1.sr.unh.edu)
Experimental Space Physics Laboratory
University of New Hampshire
Durham, NH
=======================================
[Message index]
 
Read Message
Previous Topic: Newbie needs help or euthanasia
Next Topic: Re: Newbie needs help or euthanasia

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

Current Time: Fri Oct 10 12:17:45 PDT 2025

Total time taken to generate the page: 0.47969 seconds