% example1.m f=open_com('COM1'); % Open COM1 source='CH1'; % Specify scope channel 1 first=1; % first point last=2048; % last point (full screen is 2500 points) navg=1; % average a little w = getwaveform(f, source, first, last, navg); plot(w.time,w.data)