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

Home » Public Forums » archive » Re: Determining which license is being used.
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: Determining which license is being used. [message #75879] Wed, 20 April 2011 04:54
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Tom McGlynn writes:

> Just looking at the account for the previous message. Next time I'll
> know to check before posting after my daughter has been on the
> computer!

Tell me about it! Coyote does this to me all
the time. :-(

Cheers,

David

P.S. Thought I would give you a quick update on my
"book tour". (I know you have been holding your
collective breaths about this.) Paul managed to
squeeze 75 poor souls into a room that held 35
for a talk at NOAA yesterday. Great fun!

I almost didn't make it though. When I got to
the rental counter to rent my car, I found Coyote
had replaced my driver's license with one that had
expired nearly a year ago. Yikes! I was suppose
to use that car to pick my wife up at the airport
and go to a wedding. Let's just say that while the
book business is on the upswing, my domestic life
is, uh, looking more and more like Coyote's. :-(


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
Re: Determining which license is being used. [message #75880 is a reply to message #75879] Wed, 20 April 2011 04:28 Go to previous message
Tom McGlynn is currently offline  Tom McGlynn
Messages: 13
Registered: January 2008
Junior Member
On Apr 19, 5:49 pm, Lyre Delasangre <dragonessdelasan...@gmail.com>
wrote:
> On Apr 19, 3:23 pm, Michael Galloy <mgal...@gmail.com> wrote:
>
>> On 4/19/11 1:14 PM, Tom McGlynn wrote:
>
>>> I've recently had some trouble running IDL in CGI environment and one
>>> of the areas I'd like to explore is what's going on with the license.
>>> I can't log into the environment myself, but I can change the script
>>> that is run.  I was hoping to get the IDL session to report which
>>> license it is using, but I couldn't see anything that provides that
>>> information.   Is there some system variable or function I could use?
>
>> Check out the LMGR routine. You would have to call it several times with
>> different keywords to determine your exact mode, .i.e. am I VM? am I
>> runtime? am I trial? etc.
>
> That did the trick...  Thanks.  The network settings seem to have
> gotten changed such that the license manager can't be seen and the
> code runs in demo mode.  Not surprisingly it's not quite a effective
> this way.
>     Tom

Just looking at the account for the previous message. Next time I'll
know to check before posting after my daughter has been on the
computer!
Tom
Re: Determining which license is being used. [message #75883 is a reply to message #75880] Tue, 19 April 2011 14:49 Go to previous message
Lyre Delasangre is currently offline  Lyre Delasangre
Messages: 1
Registered: April 2011
Junior Member
On Apr 19, 3:23 pm, Michael Galloy <mgal...@gmail.com> wrote:
> On 4/19/11 1:14 PM, Tom McGlynn wrote:
>
>> I've recently had some trouble running IDL in CGI environment and one
>> of the areas I'd like to explore is what's going on with the license.
>> I can't log into the environment myself, but I can change the script
>> that is run.  I was hoping to get the IDL session to report which
>> license it is using, but I couldn't see anything that provides that
>> information.   Is there some system variable or function I could use?

>
> Check out the LMGR routine. You would have to call it several times with
> different keywords to determine your exact mode, .i.e. am I VM? am I
> runtime? am I trial? etc.
>
>

That did the trick... Thanks. The network settings seem to have
gotten changed such that the license manager can't be seen and the
code runs in demo mode. Not surprisingly it's not quite a effective
this way.
Tom
Re: Determining which license is being used. [message #75884 is a reply to message #75883] Tue, 19 April 2011 12:23 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 4/19/11 1:14 PM, Tom McGlynn wrote:
> I've recently had some trouble running IDL in CGI environment and one
> of the areas I'd like to explore is what's going on with the license.
> I can't log into the environment myself, but I can change the script
> that is run. I was hoping to get the IDL session to report which
> license it is using, but I couldn't see anything that provides that
> information. Is there some system variable or function I could use?
>
>
> Thanks,
> Tom McGlynn

Check out the LMGR routine. You would have to call it several times with
different keywords to determine your exact mode, .i.e. am I VM? am I
runtime? am I trial? etc.

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Determining which license is being used.
Next Topic: HASH -- bug, or "feature"?

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

Current Time: Wed Oct 08 11:41:44 PDT 2025

Total time taken to generate the page: 0.00643 seconds