pro plot_nonop,svmhk2,svmhk4,timeint,single=single,noconvert=noconvert,dacs=dacs 
; 
;     svmhk2 = array of all monitors from SVHK2 TLM stream generated by DACS 
;     svmhk4 = array of all monitors from SVHK4 TLM stream generated by DACS 
; 
;     single is an optional number that is from 0 to 9 that controls the 
;            plot number for a single plot.  If the parameter is omitted 
;            or 0 then all of the plots are made on a single page.  Otherwise 
;            the plot is the following 
;
; @(#)plot_nonop.pro	1.3 09/08/98 : LASCO IDL Library
;
; History:
;	9/7/98 Fixed byte offsets of LEB TRP, COB TRP and EIT TRP - DW
;
; 
; offset the beginning of HK before HK information begins 
; 
; changed offset to 6 from 12 - Aug 11, 1998 - DW
offset=6 

IF KEYWORD_SET(dacs) THEN offset = offset +6  ; for backward compatibility with DACS .rec files

IF KEYWORD_SET(timeint) THEN timerange=timeint ELSE timerange=0
; 
if keyword_set(noconvert) then begin 
        !y.title = 'Temp (DN)'  
        !y.range = [0,255] 
endif else begin 
        !y.title='Temp (Deg)' 
        !y.range = [0,40] 
endelse 
 
if keyword_set(single) then begin 
        !p.multi=0 
endif else begin 
        !p.multi=[0,3,3,0,1] 
        single = 0 
endelse 
 
getcputime,svmhk2,firstday,time2,cdstime=utc2 
getcputime,svmhk4,firstday,time4,cdstime=utc4
 
;!x.title = 'Time (Hours) Starting Date:  '+ $ 
;           string(id,format='(i2," ")')+months(im-1)+ $ 
;           string(iy,format='(i3)') 
; 
;   LEB TRP,   thermistor type 3 
; 
if ( (single eq 0) or (single eq 1) ) then begin 
;   v = tmpoint(svmhk4,offset+73,'00ff'xl)               ;Byte offset 147 
   v = fix(svmhk4(offset+147,*))               ;Byte offset 147 
   if ( not keyword_set(noconvert) ) then v = cnvrt_temps (v,4) 
   utplot,utc4,v,title='LEB Temp Ref Point' , TIMERANGE=timerange
endif 
 
; 
;   COB TH1A,   thermistor type 4 
; 
if ( (single eq 0) or (single eq 2) ) then begin 
;   v = tmpoint(svmhk2,offset+38,'ff00'xl)               ;Byte offset 76 
   v = fix(svmhk2(offset+76,*))               ;Byte offset 76 
   if ( not keyword_set(noconvert) ) then v = cnvrt_temps (v,5) 
   utplot,utc2,v,title='COB Non-OP Thermistor A' , TIMERANGE=timerange
endif 
 
; 
; 
;   COB TH1B,   thermistor type 4 
; 
if ( (single eq 0) or (single eq 3) ) then begin 
;   v = tmpoint(svmhk2,offset+45,'ff00'xl)               ;Byte offset 90 
   v = fix(svmhk2(offset+90,*))               ;Byte offset 90 
   if ( not keyword_set(noconvert) ) then v = cnvrt_temps (v,5) 
   utplot,utc2,v,title='COB Non-OP Thermistor B' , TIMERANGE=timerange
endif 
 
; 
;   EIT TRP,   thermistor type 3 
; 
if ( (single eq 0) or (single eq 4) ) then begin 
;   v = tmpoint(svmhk4,offset+54,'ff00'xl)               ;Byte offset 108 
   v = fix(svmhk4(offset+108,*))               ;Byte offset 108 
   if ( not keyword_set(noconvert) ) then v = cnvrt_temps (v,4) 
   utplot,utc2,v,title='EIT Temp Ref Point',yrange=[-20,30] , TIMERANGE=timerange
endif 
 
; 
;   LEB TH2A,   thermistor type 4 
; 
if ( (single eq 0) or (single eq 5) ) then begin 
;   v = tmpoint(svmhk4,offset+75,'ff00'xl)               ;Byte offset 150 
   v = fix(svmhk4(offset+150,*))               ;Byte offset 150 
   if ( not keyword_set(noconvert) ) then v = cnvrt_temps (v,5) 
   utplot,utc2,v,title='LEB Non-OP Thermistor A',yrange=[-20,30] , TIMERANGE=timerange
endif 
 
; 
;   LEB TH2B,   thermistor type 4 
; 
if ( (single eq 0) or (single eq 6) ) then begin 
;   v = tmpoint(svmhk4,offset+55,'00ff'xl)               ;Byte offset 111 
   v = fix(svmhk4(offset+111,*))               ;Byte offset 111 
   if ( not keyword_set(noconvert) ) then v = cnvrt_temps (v,5) 
   utplot,utc2,v,title='LEB Non-OP Thermistor B',yrange=[-20,30] , TIMERANGE=timerange
endif 
 
; 
;   COB TRP,   thermistor type 3 
; 
if ( (single eq 0) or (single eq 7) ) then begin 
;   v = tmpoint(svmhk2,offset+34,'00ff'xl)               ;Byte offset 69 
   v = fix(svmhk2(offset+69,*))               ;Byte offset 69 
   if ( not keyword_set(noconvert) ) then v = cnvrt_temps (v,4) 
   utplot,utc2,v,title='COB Temp Ref Point' , TIMERANGE=timerange
endif 
 
; 
;   EIT TH3A,   thermistor type 4 
; 
if ( (single eq 0) or (single eq 8) ) then begin 
;   v = tmpoint(svmhk2,offset+54,'00ff'xl)               ;Byte offset 109 
   v = fix(svmhk2(offset+109,*))               ;Byte offset 109 
   if ( not keyword_set(noconvert) ) then v = cnvrt_temps (v,5) 
   utplot,utc2,v,title='EIT Non-OP Thermistor A' , TIMERANGE=timerange
endif 
 
; 
;   EIT TH3B,   thermistor type 4 
; 
if ( (single eq 0) or (single eq 9) ) then begin 
;   v = tmpoint(svmhk2,offset+29,'ff00'xl)               ;Byte offset 58 
   v = fix(svmhk2(offset+58,*))               ;Byte offset 58 
   if ( not keyword_set(noconvert) ) then v = cnvrt_temps (v,5) 
   utplot,utc2,v,title='EIT Non-OP Thermistor B' , TIMERANGE=timerange
endif 
 
!y.title = '' 
!p.multi = 0 
!x.title = '' 
empty 
return 
end 
