function [dat]=rd_EcoVSF(fnam)
%
%  Program to read DH-4 EcoVSF file
%
%  INPUTS
%    FNAM = file name to read in.
%
%  OUTPUTS
%    
%  	
%    dat = analog data
%
%
%  Written by Emmanuel Boss, U of Maine, 2002.
%   

fid=fopen(fnam,'r')

%fid=fopen('c:\data\CoBOP99\cobop990521_084025.dat','r')
%skip first line  
   line=fgetl(fid);
i=1;
while(feof(fid)==0)
      junk=fscanf(fid,'%f',[6]);
      if (length(junk)<6)
          break
      end
      dat1([1:6])=junk([1:6]);
      dat(i,:)=dat1;
      i=i+1;
end
fclose(fid);