function chan = read7KChanData(fp,ch)
%
%
%
if ch.polarity ==1,
	if ch.bytesPerSample == 1,
		chan  = fread(fp,[1,ch.numberOfSamples],'uint8') ;
	elseif ch.bytesPerSample == 2,
		chan  = fread(fp,[1,ch.numberOfSamples],'uint16') ;
	elseif ch.bytesPerSample == 4,
		chan  = fread(fp,[1,ch.numberOfSamples],'uint32') ;
	end
else
	if ch.bytesPerSample == 1,
		chan  = fread(fp,[1,ch.numberOfSamples],'int8') ;
	elseif ch.bytesPerSample == 2,
		chan  = fread(fp,[1,ch.numberOfSamples],'int16') ;
	elseif ch.bytesPerSample == 4,
		chan  = fread(fp,[1,ch.numberOfSamples],'int32') ;
	end
end