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

Home » Public Forums » archive » Coyote graphics /WINDOW problem in 8.1?
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
Coyote graphics /WINDOW problem in 8.1? [message #78016] Fri, 21 October 2011 07:37 Go to next message
Avian is currently offline  Avian
Messages: 24
Registered: October 2011
Junior Member
Hey all,

I see all the messages about the problems with 8.1. I've seen a fair share of crashes and weirdness with graphics and 8.1, but I don't know if this is related.

When I try invoke David's cgwindow routine with /WINDOW in a cgplot call from the console, I get a dialog box that pops up that says:

FSC_CMDWINDOW::INIT--> Attempt to call undefined procedure/function: 'CENTERLB'

and in the console it reports:

screenSize = GetPrimaryScreenSize(/Exclude_Taskbar)
^
% Syntax error.
At: /Applications/itt/idl/idl81/astron/pro/coyote/centertlb.pro, Line 124

I'm using IDL 8.1 and MacOSX 10.7.2, with the latest xcode installed.

Thanks for any insight!

Davin
Re: Coyote graphics /WINDOW problem in 8.1? [message #78072 is a reply to message #78016] Mon, 24 October 2011 20:03 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Monday, October 24, 2011 10:05:55 AM UTC-4, Avian wrote:

> That was odd - I downloaded coyote from the latest version of astrolib on the web.

A couple of comments:

(1) Only a small fraction of the Coyote routines are available on astrolib -- I only copy enough to keep the astrolib "self-contained". But I encourage users to get the complete Coyote library directly and to delete the coyote directory within astrolib. (I do try to keep the coyote routines within astrolib up to date by re-copying them whenever I update the astrolib tar file.)

(2) There was a problem for about 2 months earlier this year when the function getprimaryscreensize.pro (needed to compile centertlb.pro) was missing from the coyote directory within astrolib. That most likely explains your original symptoms.

--Wayne
Re: Coyote graphics /WINDOW problem in 8.1? [message #78085 is a reply to message #78016] Mon, 24 October 2011 07:05 Go to previous message
Avian is currently offline  Avian
Messages: 24
Registered: October 2011
Junior Member
David,

The new code fixed the problem - fantastic, and thanks.

That was odd - I downloaded coyote from the latest version of astrolib on the web. I tried fixing the problem by downloading your newest "experimental" version that you've been working on, just to see if that fixed it as well - no dice.

Thanks again!
Re: Coyote graphics /WINDOW problem in 8.1? [message #78104 is a reply to message #78016] Fri, 21 October 2011 15:44 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Avian writes:

> I see all the messages about the problems with 8.1. I've seen a fair share of crashes and weirdness with graphics and 8.1, but I don't know if this is related.
>
> When I try invoke David's cgwindow routine with /WINDOW in a cgplot call from the console, I get a dialog box that pops up that says:
>
> FSC_CMDWINDOW::INIT--> Attempt to call undefined procedure/function: 'CENTERLB'
>
> and in the console it reports:
>
> screenSize = GetPrimaryScreenSize(/Exclude_Taskbar)
> ^
> % Syntax error.
> At: /Applications/itt/idl/idl81/astron/pro/coyote/centertlb.pro, Line 124
>
> I'm using IDL 8.1 and MacOSX 10.7.2, with the latest xcode installed.
>
> Thanks for any insight!

Are you sure it says CENTERLB? There is a routine called
CENTERTLB in that method. But I can find no CENTERLB in
my code. So, either the spelling of that routine somehow
got corrupted, or centertlb.pro is not in your IDL path.
I think those are the only two possibilities.

You could try downloading the latest file:

http://www.idlcoyote.com/programs/cgwindow.pro

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Religious Wars
Next Topic: Re: REGION_GROW Syntax

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

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

Total time taken to generate the page: 0.00510 seconds