quick_hkplot [2] $SSW/trace/ssw_contributed/quick_hkplot.pro
[Previous] [Next]
NAME:
	quick_hkplot
PURPOSE:
	To read a list of mnemonics and plot them
METHOD:
	If no start/end date/times are passed in, then the current time is
	used and the default window is 6 hours.
SAMPLE CALLING SEQUENCES:
	quick_hkplot, style=1
	quick_hkplot, '14-jun 6:30','14-jun 8:00',style=-10,/hc
	quick_hkplot, style=-1
	quick_hkplot, style=0, mnem=['mipwa', 'mipwb'], yrange=[1, 1.2]
	quick_hkplot, sttim, entim, win=win, style=style, mnem=mnem
	quick_hkplot, style=1, /contin
	quick_hkplot, '30-nov-95 20:12',style=1, /text, outfil='temps.txt'
	quick_hkplot, /cont, mnem='ivcmp5', wait=10, win=0.5
	quick_hkplot, /cont, pmulti=[0,2,2], mnem=['ivaep5', 'ivaep15', 'ivaen15', 'ivcmp5']
	quick_hkplot, /rd_full, sea='volt'
	quick_hkplot, sttim, entim, /rd_group
	quick_hkplot, sttim, entim, mnem, pm_filter=100
INPUT:
	sttim	- starting time
	entim	- ending time
 CALLS: ***
	DELVARX [1], DELVARX [2], DELVARX [3], DELVARX [4], NEW_HKPLOT, anytim2ints [1]
	anytim2ints [2], data_type [1], data_type [2], delvarx [5], fmt_tim [1]
	fmt_tim [2], get_hk_info [1], get_hk_info [2], get_hk_mnem, hkplot_info, prstr [1]
	prstr [2], rd_tfile [1], rd_tfile [2], rem_elem [1], rem_elem [2], ut_time [1]
	ut_time [2], where_arr [1], where_arr [2]
 CALLED BY:
	mon_health [1], mon_health [2], new_mon_health [1], new_mon_health [2]
	xanal_emi
OPTIONAL KEYWORD INPUT:
	win	- the window of time to use when no start/end times are 
		  specified.  Default is 6 hours
	style	- the style option (an integer value)
	mnem	- the mnemonics to plot (manually defined)
	yrange	- Force the plotting range for the y axis
	exp_pkt	- Force it to use the emergency low rate experiment packets 
		  instead of the MDI packets (sc1,2,4 are still available)
	continous - Loop through continuously.  If the letter "h" is hit
		  while running continuously, a hardcopy is made.  Any other
		  key will exit the continuous wait.  Default wait is 60 sec.
	wait	- How much time to wait between real time plotting. Default 
		  is 60 seconds.
	text	- If set, then show the mnemonic values in ASCII form to the
		  IDL terminal
	outfil	- If /TEXT option is used, the results can also be saved to
		  a file.
	every	- If set, only read every "every" data points in the HK
		  file
	raw	- If set, then do not convert to engineering units
	pmulti	- Optionally make several plots per page.
	rd_group - If set, then the user will be prompted by Xwidget for
		  the list of mnemonics from the group list 
		  specified in $MDI_CAL_INFO/xhkplot_mnem.lst
	rd_full	- If set, then the user will be prompted by Xwidget for
		  the full mnemonics list 
	sea	- Used with the /RD_FULL option to specify a string to
		  search through and reduce the mnemonic list
	pm_filter - The value to search for valid data, ie: pm_filter=100
		  will only plot data between -100 and 100 ("pm" is plus/
		  minus)
	filter1d- Remove bad data by finding where values exceed the
		  "smoothed 100" values by more than 3 sigma
	plot_times- If set, then set the plot range to be the time span
		  requested
DETAILS
	The following style options are available for MDI
		1  - ALL temperatures
		2  = optics temperatures
		3  = oven temperatures
		4  = camera temperatures
		5  = structural temperatures
		6  = outside MLI and front window temps
		7  = electronics
		9  = temperatures in S/C packets only
		-1 = 6 panel plots with styles 2,3,4,5,6

		10 = ALL voltages
		11 = +5 voltages
		12 = +15 voltages
		13 = -15 voltages
		14 = +30 and +75 volts
		-10 = 4 panel plot with styles 11,12,13,14
	
		20 = All Currents

		30 = PZT error signals
HISTORY:
	Written 21-Nov-95 by M.Morrison
	29-Nov-95 (MDM) - Added /EXP_PKT keyword option and /QDEBUG
	30-Nov-95 (MDM) - Added /continuous switch and WAIT option
			- Modified to purge out mnemonics which are not
			  available when /EXP_PKT option is used
			- Added currents style option
			- Added /TEXT and OUTFIL options
	 1-Dec-95 (MDM) - Added style 9 for SC temperatures
	 5-Dec-95 (MDM) - Removed mtsqopt* mnemonics from styles 3-6
			- Passed the input keywords through to the recursive
			  calls to QUICK_HKPLOT
	13-Dec-95 (MDM) - Added /nostring option to get_hk_info call
			- put on-line (5-dec version was not put online)
	 6-Feb-96 (MDM) - Added PZT error signals
	10-Feb-96 (MDM) - Added information to the header (re: outfil)
	28-May-96 (MDM) - Added PMULTI option
	 6-Jun-96 (MDM) - Added EVERY option
	19-Sep-96 (MDM) - Added RAW option (only available for non multi
			  plot pages)
	 2-Jan-97 (MDM) - Added PMULTI option to the continuous option
	22-Jan-97 (MDM) - Added /RD_GROUP, /RD_FULL and SEA options
	19-May-97 (MDM) - Added setting of entim if not defined
			- Added psym
	 2-Apr-98 (MDM) - Added pm_filter
			- Allowed mnemonic list to be the third arg
			- Pass through all of the new_hkplot filters
	16-Apr-98 (MDM) - Added filter1d and last_tim_lab options
			-