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

Home » Public Forums » archive » Re: get_lun returns LUN already in use
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: get_lun returns LUN already in use [message #29402] Fri, 15 February 2002 10:29
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
george.mccabe@gsfc.nasa.gov (George McCabe) writes:

> hello,
>
> a unexpected thing happens when a logical file unit is allocated in
> the setup batch procedure execeuted when idl session is started. the
> first use of get_lun at the IDL prompt returns the unit already in
> use.
>
>
> ; LUN 100 is in use...
>
> IDL> help,/files
> Unit Attributes Name
> 100 Read, Write, New /tmp/idl-8391185
>
> ; but get_lun returns unit 100?
>
> IDL> get_lun,fu
> IDL> print,fu
> 100

How did unit 100 get opened the first time? If you opened that file
unit manually, without using GET_LUN, then *that* is "not right".
Logical file units above 100 are reserved for GET_LUN.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: contour plot keys?
Next Topic: Re: Overwriting the terminal output line

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

Current Time: Wed Oct 08 15:55:39 PDT 2025

Total time taken to generate the page: 0.00575 seconds