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

Home » Public Forums » archive » cgWindow error when I save as a raster image
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
cgWindow error when I save as a raster image [message #79081] Fri, 27 January 2012 05:39
dplatten is currently offline  dplatten
Messages: 32
Registered: December 2007
Member
Dear Group,

I am no longer able to save the contents of a cgWindow as a raster file. I am using cgWindow in the latest Coyote library, not the one in the experimental subfolder. When I try to save as a BMP, for example, the following three system error warnings appear one after the other:

First error:
CGCMDWINDOW::SAVEASRASTER--> Variable is undefined: BUTTONVALUE

The IDL prompt shows:
Traceback Report from CGCMDWINDOW::SAVEASRASTER:

Variable is undefined: BUTTONVALUE.
Execution halted at: CGCMDWINDOW::SAVEASRASTER 2236 C:\RSI\Libraries\coyote\cgcmdwindow__define.pro
CGCMDWINDOW_DISPATCH_EVENTS 1541 C:\RSI\Libraries\coyote\cgcmdwindow__define.pro
$MAIN$

Second error:
PS_END--> Expression must be a structure in this context: PS_STRUCT (_$FSC_PS_START_).

The IDL prompt shows:
Traceback Report from PS_END:
Expression must be a structure in this context: PS_STRUCT (_$FSC_PS_START_).
Execution halted at: PS_END 217 C:\RSI\Libraries\coyote\ps_end.pro
CGCMDWINDOW::SAVEASRASTER 2226 C:\RSI\Libraries\coyote\cgcmdwindow__define.pro
CGCMDWINDOW_DISPATCH_EVENTS 1541 C:\RSI\Libraries\coyote\cgcmdwindow__define.pro
$MAIN$

Third error:
CGCMDWINDOW_DISPATCH_EVENTS--> Expression must be a structure in this context: PS_STRUCT (_$FSC_PS_START_).

The IDL prompt shows:
Traceback Report from CGCMDWINDOW_DISPATCH_EVENTS:
Expression must be a structure in this context: PS_STRUCT (_$FSC_PS_START_).
Execution halted at: PS_END 201 C:\RSI\Libraries\coyote\ps_end.pro
CGCMDWINDOW::SAVEASRASTER 2226 C:\RSI\Libraries\coyote\cgcmdwindow__define.pro
CGCMDWINDOW_DISPATCH_EVENTS 1541 C:\RSI\Libraries\coyote\cgcmdwindow__define.pro
$MAIN$


I've had a brief look at the code, but can't see how to sort out the problem. Any help would be gratefully received.

Regards,

David
[Message index]
 
Read Message
Previous Topic: Re: list trouble
Next Topic: Re: cgWindow error when I save as a raster image

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

Current Time: Fri Oct 10 15:10:56 PDT 2025

Total time taken to generate the page: 0.71983 seconds