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

Home » Public Forums » archive » IDL object graphics code logs me out?!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL object graphics code logs me out?! [message #66907] Thu, 18 June 2009 14:21 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Hello,

I think I may be losing my mind, but just in case I'll post the question here:

Has anyone had any weird experiences where using object graphics in IDL causes them to be
logged out of their system?

It's happened to me four times in about the last 30 minutes and I can now reproduce it
relatively regularly with the code I'm testing.

My system is a Red Hat Enterprise 5.0 jobbie with,

IDL> print, !version
{ x86 linux unix linux 7.0 Oct 25 2007 32 64}

I also have the patch installed such that I can get the IDL help running (however the
problem occurs whether or not I start the idlhelp server.)

My *original* direct graphics code looked like:

psave = !P
!P.MULTI = [0,self.n_Bands,1]
FOR i = 0L, self.n_Bands-1L DO BEGIN
PLOT, *(*self.Frequency)[i], *(*self.Response)[i], $
TITLE='Band #'+STRTRIM(i+1,2), $
XTITLE='Frequency', $
YTITLE='Relative response',yrange=[-0.2,1.2]
IF ( N_ELEMENTS(OverPlot) GT 0 ) THEN BEGIN
OPLOT, *(*OverPlot.Frequency)[i], *(*OverPlot.Response)[i], $
COLOR=RED, PSYM=-4
ENDIF
ENDFOR
!P = psave

That's been working fine for a couple weeks now. I started to play around with object
graphics using the examples pretty much directly from the online help and came up with the
following initial code:

mywindow = OBJ_NEW('IDLgrWindow')
myview = OBJ_NEW('IDLgrView', VIEWPLANE_RECT=[-10,-10,20,20])
mymodel = OBJ_NEW('IDLgrModel')
myview->Add, mymodel

myplot = OBJARR(self.n_Bands)
myoplot = OBJARR(self.n_Bands)
FOR i = 0L, self.n_Bands-1L DO BEGIN
myplot[i] = OBJ_NEW('IDLgrPlot', $
*(*self.Frequency)[i], $
*(*self.Response)[i] )
mymodel->Add, myplot[i]
IF ( N_ELEMENTS(OverPlot) GT 0 ) THEN BEGIN
myoplot[i] = OBJ_NEW('IDLgrPlot', $
*(*OverPlot.Frequency)[i], $
*(*OverPlot.Response)[i], $
COLOR=RED)
myoplot[i]->SetProperty, SYMBOL=OBJ_NEW('IDLgrSymbol',COLOR=RED,DATA=4)
mymodel->Add, myoplot[i]
ENDIF
ENDFOR
mywindow->Draw, myview

The fact that the above OG code doesn't actually produce any output in the created object
graphics window is overwhelmingly trivial next to the fact that it also logs me out of my
system (shutting down everything else I had running as well).

Anyone have any ideas, memories, etc about this rather bizarre effect?

cheers,

paulv
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: In catalyst, how do I decide which object need to be destroyed by hand?
Next Topic: Can't copy from widget table: brainfart

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

Current Time: Thu Oct 16 18:05:06 PDT 2025

Total time taken to generate the page: 1.68148 seconds