function CleanBuffer(robCOMM)
warning off instrument:fgetl:unsuccessfulRead
tic
while toc<1
    A=fgetl(robCOMM);
    disp(A);
    pause(.1);
end

disp('Incoming buffer clean');
