board = Board51('COM3');

%board.IDAVoltage(channel, 3);

tenz = [];
dt = 0.2;
for n = 0:dt:time
    %%ch0 = board.ADCSingle(channel1, channel2);
    t = ch0;
    tenz = [tenz, t];
    plot(0:dt:n, tenz);
    
    pause(dt);
end
    
clear board