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

Home » Public Forums » archive » New Twist on %BadMatch (invalid parameter attributes) error in IDL module for ENVI
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
New Twist on %BadMatch (invalid parameter attributes) error in IDL module for ENVI [message #80214] Tue, 22 May 2012 07:12
Brian Daniel is currently offline  Brian Daniel
Messages: 80
Registered: July 2009
Member
Hi all,

I'm running ENVI+IDL 4.8 on Lion with a set of IDL code located in ENVI's save_add directory. My IDL code uses the CG routines for displays and status windows that are outside of ENVI's domain. While my progress bar windows are updating, the BadMatch errors are being thrown in the IDL window. After several hundred of these errors, the entire workbench/ENVI crashes in a glorious fashion. I've followed David's article:

http://www.idlcoyote.com/misc_tips/badmatch.php,

and included 'Device, Retain=2; in my IDL startup file (didn't work) and included it in the IDL code calling the progress bar, which also did not work.

I checked the ENVI Preferences dialog and made sure Display Defaults->Display Retain Value was equal to 2.

Below are the versions of the relevant software libraries.
Mac OS X 10.7.4
XQuartz 2.6.4 (xorg-server 1.10.6)
ENVI+IDL 4.8 (built on IDL 8.0)

Any suggestions?

-B
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: unable to allocate memory
Next Topic: subarray

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

Current Time: Wed Oct 08 20:05:54 PDT 2025

Total time taken to generate the page: 0.41359 seconds