;NAME:
;       read_mdi
;PURPOSE:
;       To read MDI FITS files, telemetry files, or M
icrovax "F0" files
;SAMPLE CALLING SEQUENCES:
;       read_mdi, '/umbradata3/optest/940222_190446',
 [0,1,2], img, h
;       read_mdi, '/umbradata2/optest/pdist616.',
 [3,4,5], img, h
;       read_mdi, 621, indgen(20), img, h
;
;       read_mdi, seq_filnam, images, code, txtnam, /
type_info
;       read_mdi, seq_filnam, dummy, all_files, /list
_files
;INPUT:
;       seq_filnam      - Integer ==> sequence number
 and it is
;                                     FITS file on qu
ake
;                         (OR 4 character string with
 first 3 char as integer)
;                       - String with first 6 charact
ers as integers
;                                 ==> telemetry file
;                       - Otherwise ==> Microvax/IDL
"F0" file
;       images          - List of images to read
;                         Count from 0, so add one fo
r telemetry reader