| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
								
							 | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2795 Views
										carriage return  2795  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I am trying to get a carriage return that returns to the beginning of the CURRENT line, a la the '\r' character in C.  I see how to get C-style formatting to work in other respects, but this particular character doesn't work (it behaves as the '\n' character).  I am using IDL 5.4 on Win2K.
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2795 | 
							28 Aug 2003 10:27 AM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										1 Replies and 2519 Views
										How to do nested objects??  2519  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I have a class that I want to have hold another object.  My code compiles without error, however, when I try to run it, I get the error:
 Variable is undefined: JWR_CAL_IMAGE_FILE_NAMES.
 Execution halted at: JWR_CALIBRATIONNOTES__DEFINE  196 C:\RSI\IDL56\products\envi36\save_add\MultiSpectralImageCalibration__define.pro
                      OBJ_NEW         
                      MULTISPECTRALCALIBRATION   13 C:\RSI\IDL56\products\envi36\save_add\MultiSpectralCalibration.pro
       ...
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							1 | 
							2519 | 
							15 Aug 2003 10:44 AM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2900 Views
										Redirect standard output  2900  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Dear all,
I build an IDL widget interface to control three C programms which evaluate our data. When these programms were developed we spent much time in an accurate error handling because of these programms deal with web access to a database and so on. Now I want to give the user the posibility to control the actions taken by these  C programms from my IDL interface which later will plot the data. Therefore I tried to show the output of my C programms (which is send to stderr in the programm...
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2900 | 
							13 Aug 2003 01:53 AM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										1 Replies and 2320 Views
										stopping a procedure under XMANAGER  2320  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										This is probably an easy inquiry. What is the easiest, fastest way to stop a procedure/function
while running in the widget XMANAGER environment
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							1 | 
							2320 | 
							05 Aug 2003 12:53 PM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										1 Replies and 2894 Views
										color animation with IDL  2894  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I have tried to make a movie from my time resolved
2D data by using the XINTERANIMATE routine.
Although the colors are quite OK when creating 
.GIF or .PNG images from the plots, the colors
are just turned weird making the
movie rather useless when translated into the
mpeg format. 
I have gone through various more obvious possibilities with the tech. help center, but nothing works. (I think it is not a windows or 24-bit problem, since .gif and .png images displayes and reproduces correctl...
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							1 | 
							2894 | 
							01 Aug 2003 12:55 AM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										1 Replies and 2304 Views
										Reading in AVI files  2304  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I'm looking for a procedure which can bring an AVI movie into IDL. Does something like this exist
tt
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							1 | 
							2304 | 
							22 Jul 2003 04:45 PM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2784 Views
										Help with writing HDF4 files  2784  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi. I've run into problems writing HDF4 files and would appreciate help from anyone with experience. I would like to create one Vdata and have it contain multiple fields. I've sucessfully created the Vdata and named the fields using HDF_VD_ATTACH and HDF_VD_DEFINE but when my code reaches the various HDF_VD_WRITE it generates an error as it tries to write to the various fields. I'd appreciate any help on how to accomplish this.
thanks.
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2784 | 
							09 Jul 2003 11:28 AM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2499 Views
										Error with class_doit when doing Maximum Likelihood Classification  2499  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										When I try and classify a Landsat TM 1989 image using Maximum Likelihood Supervised Classification in ENVI 3.5 I get an error about the Class_doit function. Has anyone had these problems before. I can classify my Landsat 2003 ETM image, just having problems with the 1989 one.
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2499 | 
							02 Jul 2003 05:49 PM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2819 Views
										Error with class_doit when doing Maximum Likelihood Classification  2819  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										When I try and classify a Landsat TM 1989 image using Maximum Likelihood Supervised Classification in ENVI 3.5 I get an error about the Class_doit function. Has anyone had these problems before. I can classify my Landsat 2003 ETM image, just having problems with the 1989 one.
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2819 | 
							02 Jul 2003 05:49 PM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										1 Replies and 2474 Views
										Color table on Win 2000 and XP  2474  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I find it aggravating that I must drop the color table back to 256 colors to use plot, tv or tvscl when running in 32bit color mode on Win 2000 or XP.
This is probably on old question but is there a better way to map the color tables for making simple plots and using tv than dropping back to a 1987 video mode.  Matlab doesn't require this, and this should be a default mode in IDL.
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							1 | 
							2474 | 
							02 Jul 2003 01:21 PM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										1 Replies and 2697 Views
										Running out of file handles  2697  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I am processing a large number of files, I am opening both ENVI image files and regular IDL files.  According to the manual, the ENVI_OPEN_FILE procedure does not actually use a file handle except when it is actually reading or writing a file.  I am writing object style IDL opening and closing my IDL files in the same method.  Why does my program die with the message it is running out if file handles
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							1 | 
							2697 | 
							27 Jun 2003 08:10 AM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2726 Views
										ENVI_ROI_SEPARABILITY_DOIT  2726  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Dear all:
I have a question about the use of ENVI_ROI_SEPARABILITY_DOIT,
  Does someone know how to use itany help would be appreciated.
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2726 | 
							26 Jun 2003 01:04 AM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2457 Views
										Creating array of objects in subobject  2457  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I have an object that I want to have hold an array of subobjects.  I have been trying to use objarr for this purpose, but the IDL manual is pretty thin on how to use it. The containing object references a file.  Each element of the array it contains holds the elements of a line of that file.  See sample code below does not work.
I don't know how to assign address of 'note' to element of objarr.
PRO JWR_CalibrationNote__define
  struct = { JWR_CalibrationNote, Bulbs:0, NadirF_Stop:0.0, DirNa...
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2457 | 
							20 Jun 2003 05:34 PM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2511 Views
										Virtual Memory Allocation  2511  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Is there a way to arbitrarily allocate virtual memory for applications involving very large array manipulation  When processing images 10k IDL will often fail due to virtual memory restrictions.  Can the amount of virtual memory space accessable to IDL be increased by the user
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2511 | 
							11 Jun 2003 10:57 AM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2307 Views
										One day offset error in JULDAY function  2307  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										There seems to be a one day offset error in the JULDAY function which is expressed below for New Years (Midnight) minus 1 second on 12/31/1999
IDL>print,JULDAY(12,31,1999,23,59,59)
2451544.5
The CALDAT proceedure yields:
IDL>CALDAT,2451544.0,m,d,y,hh,mm,ss
IDL>print,m,d,y,hh,mm,ss
   12   31   1999   12   0   0.0000000
but the Julian date listed in the Astronomical Almanac is: 12/31/1999 23:59:59.9999...= 01/01/2000 00:00:00 as 2451543.5
This one day discrepancy is very important...
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2307 | 
							10 Jun 2003 12:54 PM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2354 Views
										One day offset error in JULDAY function  2354  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										There seems to be a one day offset error in the JULDAY function which is expressed below for New Years (Midnight) minus 1 second on 12/31/1999
IDL>print,JULDAY(12,31,1999,23,59,59)
2451544.5
The CALDAT proceedure yields:
IDL>CALDAT,2451544.0,m,d,y,hh,mm,ss
IDL>print,m,d,y,hh,mm,ss
   12   31   1999   12   0   0.0000000
but the Julian date listed in the Astronomical Almanac is: 12/31/1999 23:59:59.9999...= 01/01/2000 00:00:00 as 2451543.5
This one day discrepancy is very important...
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2354 | 
							10 Jun 2003 12:54 PM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2450 Views
										LIVE_TOOLS  2450  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi,
I'm running IDL 5.6 on Windows XP.
I have discovered the usefulness of LIVE_PLOT in comparison with PLOT and started fooling around with the settings to create personalized plots. In an attempt to delete the plot-windows, I gave the command:
>LIVE_DESTROY,/ENVIRONMENT
That was obviously a bad idea: ever since, LIVE_PLOT refuses to work, generating the error message:
'Error occurred in LIVE_PLOT. Unable to invoke method on NULL object reference: OWINDOW.'
Nothing seems to help t...
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2450 | 
							08 Jun 2003 04:55 PM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2411 Views
										Widget Command Line  2411  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										How can I add an active IDL command line inside a base widget
I want that in a widget-like layout too!!!
Thanks,
Jonas
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2411 | 
							31 May 2003 10:59 AM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2454 Views
										interrupted system call during socket communcation  2454  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi there,
I'd like to have a button to start the socket communication server. The event handler for that button calls a c routine. The IDL GUI doesn't have any timer widgets. But the accept function in the c routine is always interrupted by some system call. I am very confused about where the interruption signal comes from. Does anyone have the solution Thanks a lot.
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2454 | 
							30 May 2003 04:16 PM  | 
						
						
						
						
							
								
									
									
  | 
										
										
										0 Replies and 2608 Views
										3D plots with IDL  2608  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I would like to change the origin of X, Y and Z axis when using PLOT_3DBOX.  What is the procedure to get X, Y and Z originated at 0,0,0
Thanks in advance for your help 
Best regards
Pietro Ceccato
										
										
										
										 | 
										
										 | 
										 | 
									 
								 
							 | 
							0 | 
							2608 | 
							28 May 2003 08:56 AM  |