comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: bjkuk writes: > I am looking for solution for new graphics problem. > I used 8.1 version on my laptop (window 7, 64bit) > The IDL installed on laptop is for window 7 (64bit) > When I used new graphics, I have encounter below message. > > IDL> x = findgen(100) > IDL> y = sqrt(x) > IDL> pl = plot(x, y) > % Keyword PROXY not allowed in call to: _IDLITCONTAINER::SETPROPERTY > % Execution halted at: $MAIN$ > > Would you have any idea to solve above error? Are you sure your IDL path is looking in IDL 8.1 directories? 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.")
creator: David Fanning
date: 2012-02-23T15:38:31-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: On 2월24일, 오전12시38분, David Fanning <n...@idlcoyote.com> wrote: > bjkuk writes: >> I am looking for solution for new graphics problem. >> I used 8.1 version on my laptop (window 7, 64bit) >> The IDL installed on laptop is for window 7 (64bit) >> When I used new graphics, I have encounter below message. > >> IDL> x = findgen(100) >> IDL> y = sqrt(x) >> IDL> pl = plot(x, y) >> % Keyword PROXY not allowed in call to: _IDLITCONTAINER::SETPROPERTY >> % Execution halted at: $MAIN$ > >> Would you have any idea to solve above error? > > Are you sure your IDL path is looking in IDL 8.1 directories? > > 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.") Hello Dr.Fanning, Thanks for your answer. I have setted IDL path in "preference GUI", like below; C:/ProgramFiles/ITT/IDL/IDL81 <IDL_Default> However there is still same problem message! Regards
creator: bjkuk
date: 2012-02-24T01:10:10-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: bjkuk writes: > Thanks for your answer. > I have setted IDL path in "preference GUI", like below; > > C:/ProgramFiles/ITT/IDL/IDL81 > <IDL_Default> > > However there is still same problem message! Well, this keyword was added in IDL 8.1, so if you are getting a message that it is not allowed, I'm pretty darn sure you are not running the program you think you are running. :-) Download this program from my web page, and send us the output: http://www.idlcoyote.com/programs/printpath.pro IDL> printpath Then we will see what directories are on your IDL path. :-) 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.")
creator: David Fanning
date: 2012-02-24T01:16:10-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: On 2월24일, 오전10시16분, David Fanning <n...@idlcoyote.com> wrote: > bjkuk writes: >> Thanks for your answer. >> I have setted IDL path in "preference GUI", like below; > >> C:/ProgramFiles/ITT/IDL/IDL81 >> <IDL_Default> > >> However there is still same problem message! > > Well, this keyword was added in IDL 8.1, so if you are > getting a message that it is not allowed, I'm pretty darn > sure you are not running the program you think you > are running. :-) > > Download this program from my web page, and send > us the output: > > http://www.idlcoyote.com/programs/printpath.pro > > IDL> printpath > > Then we will see what directories are on your IDL path. :-) > > 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.") Here it is for my IDL path information! Regards IDL> parts = StrSplit(!PATH, Path_Sep(/Search_Path), /Extract) % Compiled module: STRSPLIT. IDL> for j=0L, n_elements(parts)-1 do print, parts[j] C:\Program Files\ITT\IDL\IDL81\bin\bin.x86\dicomex C:\Program Files\ITT\IDL\IDL81\bin\bin.x86\plugins \com.rsi.idldt_8.1.0\icons C:\Program Files\ITT\IDL\IDL81\examples\data C:\Program Files\ITT\IDL\IDL81\examples\demo\demodata C:\Program Files\ITT\IDL\IDL81\examples\demo\demoslideshows \slideshowsrc C:\Program Files\ITT\IDL\IDL81\examples\demo\demosrc C:\Program Files\ITT\IDL\IDL81\examples\demo C:\Program Files\ITT\IDL\IDL81\examples\doc\bridges\COM C:\Program Files\ITT\IDL\IDL81\examples\doc\bridges C:\Program Files\ITT\IDL\IDL81\examples\doc\dicom C:\Program Files\ITT\IDL\IDL81\examples\doc\file_io C:\Program Files\ITT\IDL\IDL81\examples\doc\image C:\Program Files\ITT\IDL\IDL81\examples\doc\itools C:\Program Files\ITT\IDL\IDL81\examples\doc\language C:\Program Files\ITT\IDL\IDL81\examples\doc\objects C:\Program Files\ITT\IDL\IDL81\examples\doc\plot C:\Program Files\ITT\IDL\IDL81\examples\doc\sdf C:\Program Files\ITT\IDL…
creator: bjkuk
date: 2012-02-24T01:35:47-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: bjkuk writes: > Here it is for my IDL path information! Alright, well, let's do this the hard way then. :-) Type these commands at your IDL command prompt: IDL> .Full_Reset IDL> x = findgen(100) IDL> y = sqrt(x) IDL> pl = plot(x, y) If these commands cause an error, then type this: IDL> Help, /Source And then let's see *that* listing! :-) 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.")
creator: David Fanning
date: 2012-02-24T01:44:40-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: On 2월24일, 오전10시44분, David Fanning <n...@idlcoyote.com> wrote: > bjkuk writes: >> Here it is for my IDL path information! > > Alright, well, let's do this the hard way then. :-) > > Type these commands at your IDL command prompt: > > IDL> .Full_Reset > IDL> x = findgen(100) > IDL> y = sqrt(x) > IDL> pl = plot(x, y) > > If these commands cause an error, then type this: > > IDL> Help, /Source > > And then let's see *that* listing! :-) > > 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.") Hello, I did "Full_reset" and "help " command shows below. Regards IDL> IDL> .Full_Reset IDL> x = findgen(100) IDL> y = sqrt(x) IDL> pl = plot(x, y) % Keyword PROXY not allowed in call to: _IDLITCONTAINER::SETPROPERTY % Execution halted at: $MAIN$ IDL> help, /source Compiled Procedures: $MAIN$ Compiled Functions: GRAPHICSWIN::GETPROPVALUE C:\Program Files\ITT\IDL\IDL81\lib \graphics\graphicswin__define.pro IDL>
creator: bjkuk
date: 2012-02-24T01:51:49-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: bjkuk writes: > I did "Full_reset" and "help " command shows below. > Regards > > IDL> > IDL> .Full_Reset > IDL> x = findgen(100) > IDL> y = sqrt(x) > IDL> pl = plot(x, y) > % Keyword PROXY not allowed in call to: _IDLITCONTAINER::SETPROPERTY > % Execution halted at: $MAIN$ > IDL> help, /source > Compiled Procedures: > $MAIN$ > Compiled Functions: > GRAPHICSWIN::GETPROPVALUE C:\Program Files\ITT\IDL\IDL81\lib > \graphics\graphicswin__define.pro > IDL> Well, now, this is VERY odd. :-) OK, let's try this. Let's open _IDLITCONTAINER up and *see* if it has a PROXY keyword on the the SetProperty method. IDL> .edit _IDLitContainer__Define This should open the file in the editor. Is it the right file? Located in C:\Program Files\ITT\IDL81\lib\itools\framework\? Find the SetProperty method. Do you see a PROXY keyword? Compile it. Try the code above again. What happens now? 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.")
creator: David Fanning
date: 2012-02-24T02:36:54-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: On 2월24일, 오전11시36분, David Fanning <n...@idlcoyote.com> wrote: > bjkuk writes: >> I did "Full_reset" and "help " command shows below. >> Regards > >> IDL> >> IDL> .Full_Reset >> IDL> x = findgen(100) >> IDL> y = sqrt(x) >> IDL> pl = plot(x, y) >> % Keyword PROXY not allowed in call to: _IDLITCONTAINER::SETPROPERTY >> % Execution halted at: $MAIN$ >> IDL> help, /source >> Compiled Procedures: >> $MAIN$ >> Compiled Functions: >> GRAPHICSWIN::GETPROPVALUE C:\Program Files\ITT\IDL\IDL81\lib >> \graphics\graphicswin__define.pro >> IDL> > > Well, now, this is VERY odd. :-) > > OK, let's try this. Let's open _IDLITCONTAINER up and > *see* if it has a PROXY keyword on the the SetProperty > method. > > IDL> .edit _IDLitContainer__Define > > This should open the file in the editor. Is it the right file? > Located in C:\Program Files\ITT\IDL81\lib\itools\framework\? > Find the SetProperty method. Do you see a PROXY keyword? > > Compile it. Try the code above again. What happens now? > > 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.")- 원본 텍스트 숨기기 - > > - 원본 텍스트 보기 - I can oopen exact file. and comple it. and code... still same message like below. and _IDLitContainer__Define.pro file is in exact directory. however i cannot find any character "SetProperty" and "PROXY" in _IDLitContainer__Define.pro just in case, I have attached "_IDLitContainer__Define.pro" Many thanks for your help. Regards IDL> .edit _IDLitContainer__Define IDL> .compile -v 'C:\Program Files\ITT\IDL\IDL81\lib\itools\framework \_idlitcontainer__define.pro' % Compiled module: _IDLITCONTAINER::INIT. % Compiled module: _IDLITCONTAINER::CLEANUP. % Compiled module: _IDLITCONTAINER::GETPROPERTY. % Compiled module: _IDLITCONTAINER::SETPROPERTY. % Compiled module: _IDLITCONTAINER::_VALIDATEUNIQUEIDS. % Compiled module: _IDLITCONTAINER::ADD. % Compiled module: _IDLITCON…
creator: bjkuk
date: 2012-02-24T02:49:40-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: bjkuk writes: > I can oopen exact file. and comple it. and code... > still same message like below. > > and _IDLitContainer__Define.pro file is in exact directory. however i > cannot find any character "SetProperty" and "PROXY" in > _IDLitContainer__Define.pro > just in case, I have attached "_IDLitContainer__Define.pro" Well, now, this is REALLY, REALLY odd! There *is* a SetProperty method in that file. But, it does NOT have a PROXY keyword defined for it. Not exactly sure what that means, because everybody else's file DOES have a PROXY keyword defined for it. I guess the next thing I would try is to search for this problem on the Excelis web page, since nothing else is doing any good today! :-) Don't know. Do you have IDL 7.1.1? That's what I use. Never had a moment's problem with it. Humm. I guess I would uninstall IDL. Make sure everything is really gone, and try installing it again. Something is really fishy here. But, I don't have a clue what it is. Did you install from a download or from a DVD? 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.")
creator: David Fanning
date: 2012-02-24T03:12:36-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: bjkuk writes: > I can oopen exact file. and comple it. and code... > still same message like below. You know what can cause problems like this! A damn save file! You don't have anything like that hanging around do you? Did you build a project some time in the past and have a left-over save file in one of your directories? Sometimes I think the person who invented save files should be taken out back and thrashed. :-) Let me know. 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.")
creator: David Fanning
date: 2012-02-24T03:21:26-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: On 2월24일, 오후12시21분, David Fanning <n...@idlcoyote.com> wrote: > bjkuk writes: >> I can oopen exact file. and comple it. and code... >> still same message like below. > > You know what can cause problems like this! A damn save > file! You don't have anything like that hanging around do you? > Did you build a project some time in the past and have > a left-over save file in one of your directories? > > Sometimes I think the person who invented save files > should be taken out back and thrashed. :-) > > Let me know. > > 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.") I have installed IDL81 from a Download. So I try to install IDL81 from DVD after program removal and lib folder deleletion. then, I can do use new graphics now. however, I have another problem with fsc_color.pro when I use new graphics on IDL81 Are you familiar with this? Thanks for your concern with my matters!! Regards IDL> pl = plot(findgen(10), findgen(10), color = fsc_color('Red')) ; new graphics ==> shows "BLUE" color line :ODD!! IDL> plot, findgen(10), findgen(10), color = fsc_color('Red') ;direct graphics ==> shows "RED" color line : CORRECT!! IDL> pl = plot(findgen(10), findgen(10), color = fsc_color('Blue')) ;new graphics ==> shows "RED" color line : ODD!! IDL> plot, findgen(10), findgen(10), color = fsc_color('Blue') ;direct graphics ==> shows "BLUE" color line : CORRECT!! IDL> pl = plot(findgen(10), findgen(10), color = fsc_color('Green')) ==> shows "GREEN" color line : correct!! IDL> pl = plot(findgen(10), findgen(10), color = fsc_color('Gray')) ==> shows "Gray" color line : correct!!
creator: bjkuk
date: 2012-02-24T04:32:53-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: On 2월24일, 오후12시21분, David Fanning <n...@idlcoyote.com> wrote: > bjkuk writes: >> I can oopen exact file. and comple it. and code... >> still same message like below. > > You know what can cause problems like this! A damn save > file! You don't have anything like that hanging around do you? > Did you build a project some time in the past and have > a left-over save file in one of your directories? > > Sometimes I think the person who invented save files > should be taken out back and thrashed. :-) > > Let me know. > > 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.") I have deleted IDL81 and lib directory and then re-install IDL81 from a DVD. Then I can use new graphics without any problem. However I have problem when I use fsc_color.pro in new direct graphics Do you have any idea to resolve this problem? Regards IDL> pl = plot(findgen(10), findgen(10), color = fsc_color('Black')) % Compiled module: FSC_COLOR. % Loaded DLM: XML. IDL> pl = plot(findgen(10), findgen(10), color = fsc_color('Red')) ; new graphics ===> shows "Blue" colored line : it is ODD!! IDL>plot, findgen(10), findgen(10), color = fsc_color('Red') ; Direct Graphics ===> shows "Red" colored line : it is Okay!! IDL> pl = plot(findgen(10), findgen(10), color = fsc_color('Blue')) ; new graphics ===> shows "Red" colored line : it is ODD!! IDL> plot, findgen(10), findgen(10), color = fsc_color('Blue') ; Direct Graphics ===> shows "Blue" colored line : it is Okay!! IDL> pl = plot(findgen(10), findgen(10), color = fsc_color('Yellow')) ; new graphics ===> shows "Cianic" colored line : it is ODD!! IDL> plot, findgen(10), findgen(10), color = fsc_color('Yellow') ; Direct Graphics ===> shows "Yellow" colored line : it is Okay!! IDL> pl = plot(findgen(10), findgen(10), color = fsc_color('Green')) ===> shows "Green" colored line : it is Okay!! IDL> pl = plot(findge…
creator: bjkuk
date: 2012-02-24T04:43:04-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: bjkuk writes: > I have deleted IDL81 and lib directory and then re-install IDL81 from > a DVD. > Then I can use new graphics without any problem. > However I have problem when I use fsc_color.pro in new direct graphics > Do you have any idea to resolve this problem? Well, I would say don't use FSC_Color. For two reasons. First, it's very old and has been replaced by cgColor. Second, it's not really doing you any good. The Function graphics commands are pretty good when it comes to dealing with color. You should use the methods they provide for specifying colors. If you want to use cgColor, set the Triple and Row keywords when you specify the color: p = plot(x, y, color=cgcolor('olive', /Triple, /Row)) But, as I say, it is MUCH easier to just do this: p = plot(x, y, color='olive') If you grow tired of waiting for Function Graphics commands (it's possible!), you can do the same thing with Coyote Graphics commands, if you update your Coyote Library: cgPlot, x, y, color='olive', /Window 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.")
creator: David Fanning
date: 2012-02-24T05:12:59-00:00

Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
type: item
description: On 2월24일, 오후2시12분, David Fanning <n...@idlcoyote.com> wrote: > bjkuk writes: >> I have deleted IDL81 and lib directory and then re-install IDL81 from >> a DVD. >> Then I can use new graphics without any problem. >> However I have problem when I use fsc_color.pro in new direct graphics >> Do you have any idea to resolve this problem? > > Well, I would say don't use FSC_Color. For two reasons. > First, it's very old and has been replaced by cgColor. > Second, it's not really doing you any good. The > Function graphics commands are pretty good when it comes > to dealing with color. You should use the methods > they provide for specifying colors. If you want to > use cgColor, set the Triple and Row keywords when you specify > the color: > > p = plot(x, y, color=cgcolor('olive', /Triple, /Row)) > > But, as I say, it is MUCH easier to just do this: > > p = plot(x, y, color='olive') > > If you grow tired of waiting for Function Graphics commands (it's > possible!), you can do the same thing with Coyote Graphics > commands, if you update your Coyote Library: > > cgPlot, x, y, color='olive', /Window > > 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.") Thanks for your clear answer. it is very usefull for me. Thanks again Regards
creator: bjkuk
date: 2012-02-24T05:22:15-00:00