function get_explat, explat, qstop=qstop
;+
;
;Name:
;	get_explat
;Purpose:
;	Calculate the actual exposure latency of an image. The
;	returned value is in millisec.
;Input:
;       explat          - the exposure latency measured (from the 
;			  SXTE-U mailbox)
;                                       OR
;                         the SXT index structure (ie: index, not index.sxt)
;Modification History
;	Written 1-Oct-91 by M.Morrison
;
;-
;
siz = size(explat)
typ = siz( siz(0)+1 )
if (typ eq 8) then begin
    explat0 = explat.sxt.explat
end else begin
    explat0 = explat
end
;
act_lat = explat0 * .0256		;msec
;
if (keyword_set(qstop)) then stop
return, act_lat
end
