Re: max # pixmaps in MSWin IDL 5.5? [message #31870] |
Tue, 27 August 2002 13:15 |
Pavel A. Romashkin
Messages: 531 Registered: November 2000
|
Senior Member |
|
|
As long as others don't know that it is NATO who your client is, and the
client does not read this NG (cc: df_bosss@nato.mil), I think you need
not worry about your job security :-)
Cheers,
Pavel
David Fanning wrote:
>
> Oh, now wait a minute! Now you are stealing the ideas
> my client is paying me a lot of money to develop! He
> thinks I'm the only one who can come up with this. :-(
>
|
|
|
Re: max # pixmaps in MSWin IDL 5.5? [message #31874 is a reply to message #31870] |
Tue, 27 August 2002 09:14  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Liam E. Gumley (Liam.Gumley@ssec.wisc.edu) writes:
> Sounds like a good idea to me. In fact it would be great to have a
> generic window object with these methods, and the ability to be visible
> (mapped) or invisible (unmapped). I'd also vote for a 'frame'capability,
> where each window has a number of built-in frames that you can step
> through or animate.
Oh, now wait a minute! Now you are stealing the ideas
my client is paying me a lot of money to develop! He
thinks I'm the only one who can come up with this. :-(
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: max # pixmaps in MSWin IDL 5.5? [message #31877 is a reply to message #31874] |
Tue, 27 August 2002 07:40  |
Liam E. Gumley
Messages: 378 Registered: January 2000
|
Senior Member |
|
|
Dick Jackson wrote:
>
> Hi Dave,
>
> "David Fanning" <david@dfanning.com> wrote in message
> news:MPG.17d2c7f3f8fbd16398997a@news.frii.com...
>> Craig Hamilton (someone@microsoft.com) writes:
>>
>>> I want to allocate a lot of pixmaps using
>>> window,/pixmap,xsize=128,ysize=128,/free
>>>
>>> Is there a limit to the number of pixmaps using IDL 5.5
>>> under MSWindows 2000? I get an 'unable to create pixmap'
>>> error after !d.window reaches 364 (although this number varies).
>>>
>>> I have 768MB of RAM, so I am not running out of memory. So far
>>> in the docs, I have just found that it says you can create 'a large
>>> number' of pixmaps.
>>
>> The reason for the hand-waving is that the number of pixmaps
>> you can create is a function of your graphics card and how
>> "smart" it is.
>>
>> To get around this limitation, I use unmapped draw widgets
>> (wrapped up in an object, of course, for easy accessibility).
>> You can have a lot more of these kinds of windows than you
>> can have pixmaps, and they serve exactly the same function.
>
> Really?! That's gotta be the best idea I've heard in a while! I guess
> you wrote TV, TVRD and "Device, Copy" methods for handy I/O? I've been
> pushing some unpredictable limits with pixmaps lately, and your idea
> might be just the ticket. Sounds easy enough to write, just thought I'd
> ask if I'm on the right track.
Sounds like a good idea to me. In fact it would be great to have a
generic window object with these methods, and the ability to be visible
(mapped) or invisible (unmapped). I'd also vote for a 'frame'capability,
where each window has a number of built-in frames that you can step
through or animate.
Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
|
|
|
|
Re: max # pixmaps in MSWin IDL 5.5? [message #31893 is a reply to message #31887] |
Mon, 26 August 2002 15:42  |
Dick Jackson
Messages: 347 Registered: August 1998
|
Senior Member |
|
|
Hi Dave,
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.17d2c7f3f8fbd16398997a@news.frii.com...
> Craig Hamilton (someone@microsoft.com) writes:
>
>> I want to allocate a lot of pixmaps using
>> window,/pixmap,xsize=128,ysize=128,/free
>>
>> Is there a limit to the number of pixmaps using IDL 5.5
>> under MSWindows 2000? I get an 'unable to create pixmap'
>> error after !d.window reaches 364 (although this number varies).
>>
>> I have 768MB of RAM, so I am not running out of memory. So far
>> in the docs, I have just found that it says you can create 'a large
>> number' of pixmaps.
>
> The reason for the hand-waving is that the number of pixmaps
> you can create is a function of your graphics card and how
> "smart" it is.
>
> To get around this limitation, I use unmapped draw widgets
> (wrapped up in an object, of course, for easy accessibility).
> You can have a lot more of these kinds of windows than you
> can have pixmaps, and they serve exactly the same function.
Really?! That's gotta be the best idea I've heard in a while! I guess
you wrote TV, TVRD and "Device, Copy" methods for handy I/O? I've been
pushing some unpredictable limits with pixmaps lately, and your idea
might be just the ticket. Sounds easy enough to write, just thought I'd
ask if I'm on the right track.
Cheers,
--
-Dick
Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
|
|
|
Re: max # pixmaps in MSWin IDL 5.5? [message #31906 is a reply to message #31893] |
Sun, 25 August 2002 10:55  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Craig Hamilton (someone@microsoft.com) writes:
> I want to allocate a lot of pixmaps using
> window,/pixmap,xsize=128,ysize=128,/free
>
> Is there a limit to the number of pixmaps using IDL 5.5
> under MSWindows 2000? I get an 'unable to create pixmap'
> error after !d.window reaches 364 (although this number varies).
>
> I have 768MB of RAM, so I am not running out of memory. So far
> in the docs, I have just found that it says you can create 'a large
> number' of pixmaps.
The reason for the hand-waving is that the number of pixmaps
you can create is a function of your graphics card and how
"smart" it is.
To get around this limitation, I use unmapped draw widgets
(wrapped up in an object, of course, for easy accessibility).
You can have a lot more of these kinds of windows than you
can have pixmaps, and they serve exactly the same function.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|