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

Home » Public Forums » archive » Re: about ENVI_display_bands
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
Re: about ENVI_display_bands [message #65474] Sun, 08 March 2009 01:15
lchfzfj is currently offline  lchfzfj
Messages: 2
Registered: March 2009
Junior Member
dear Mort Canty,

thank you very much, you are right, when ENVI is running,it is ok!

sincerely
jenny
Re: about ENVI_display_bands [message #65481 is a reply to message #65474] Sat, 07 March 2009 08:15 Go to previous message
Mort Canty is currently offline  Mort Canty
Messages: 134
Registered: March 2003
Senior Member
lchfzfj@yahoo.com.cn schrieb:
> Hi,all,
>
> I have a problem with ENVI_display_bands, below is the whole
> procedure:
>
> pro tt1
> compile_opt idl2
> envi,/restore_base_save_files
> envi_batch_init
> ENVI_SELECT, title='Input Filename', fid=in_fid,
> pos=in_pos,dims=in_dims
> envi_file_query, in_fid, ns=ns, nl=nl, nb=nb
> ENVI_DISPLAY_BANDS, [in_fid,in_fid,in_fid], [2,1,0], /new
> envi_batch_exit
> end
>
> when run it, there always have the following errors:
> % Expression must be a structure in this context: MSTR.
> % Execution halted at: ENVI_SUB_MENU
>
> this problem disturb me for the whole days, who could kindly tell me
> how to solve it?
>
> thanks in advance
> sincerely
> jenny

Hi Jenny,

I get the same error. But the ENVI help says:

An interactive ENVI session is required to run this procedure.

If ENVI is up and running, your example works OK.

Mort
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: TurboReg JAVA with IDL?
Next Topic: Re: CORRELATE where is the problem?

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

Current Time: Wed Oct 08 13:53:15 PDT 2025

Total time taken to generate the page: 0.00474 seconds