Code covered by the BSD License  

Highlights from
MATLAB Support Package for Velleman K8055/VM110 Experiment Board

MATLAB Support Package for Velleman K8055/VM110 Experiment Board

by

 

MATLAB library for communicating with a Velleman K8055/VM110 USB Experiment Interface Board

daqplot
% DAQPLOT     -   Analog data acquisition GUI
%
%   DAQPLOT is a simple GUI that demonstrates the GUI.DAQINPUT widget.
%   This widget allows the user to configure and start analog data
%   acquisition. The data is plotted as it is aquired.
%
%   THIS GUI REQUIRES THE DATA ACQUISITION TOOLBOX

%   Copyright 2009 The MathWorks, Inc.

function daqplot

myGui = gui.autogui;
daq = gui.daqinput;

daq.AdaptorName = 'winsound';
daq.DeviceId = '0';
daq.Channels = 1;
daq.SampleRate = 8000;

while myGui.waitForInput()
    info = daq.Value;
    plot(info.data);
end

Contact us