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

vellboard.[methodinfo,structs,enuminfo,ThunkLibName]=K8055D_h
% Prototype file automatically generated from the K8055D.h C header. Allows
% for faster load of K8055D library. DO NOT EDIT.

%   Copyright 2011 The MathWorks, Inc.

function [methodinfo,structs,enuminfo,ThunkLibName]=K8055D_h
%K8055D_H Create structures to define interfaces found in 'K8055D'.

%This function was generated by loadlibrary.m parser version 1.1.6.34 on Wed Jun  1 13:22:09 2011
%perl options:'K8055D.i -outfile=K8055D_h.m'
ival={cell(1,0)}; % change 0 to the actual number of functions to preallocate the data.
structs=[];enuminfo=[];fcnNum=1;
fcns=struct('name',ival,'calltype',ival,'LHS',ival,'RHS',ival,'alias',ival);
ThunkLibName=[];
%  int __stdcall OpenDevice ( int CardAddress ); 
fcns.name{fcnNum}='OpenDevice'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
%  void __stdcall CloseDevice (); 
fcns.name{fcnNum}='CloseDevice'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
%  int __stdcall ReadAnalogChannel ( int Channel ); 
fcns.name{fcnNum}='ReadAnalogChannel'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
%  void __stdcall ReadAllAnalog ( int * Data1 , int * Data2 ); 
fcns.name{fcnNum}='ReadAllAnalog'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}={'int32Ptr', 'int32Ptr'};fcnNum=fcnNum+1;
%  void __stdcall OutputAnalogChannel ( int Channel , int Data ); 
fcns.name{fcnNum}='OutputAnalogChannel'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}={'int32', 'int32'};fcnNum=fcnNum+1;
%  void __stdcall OutputAllAnalog ( int Data1 , int Data2 ); 
fcns.name{fcnNum}='OutputAllAnalog'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}={'int32', 'int32'};fcnNum=fcnNum+1;
%  void __stdcall ClearAnalogChannel ( int Channel ); 
fcns.name{fcnNum}='ClearAnalogChannel'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
%  void __stdcall ClearAllAnalog (); 
fcns.name{fcnNum}='ClearAllAnalog'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
%  void __stdcall SetAnalogChannel ( int Channel ); 
fcns.name{fcnNum}='SetAnalogChannel'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
%  void __stdcall SetAllAnalog (); 
fcns.name{fcnNum}='SetAllAnalog'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
%  void __stdcall WriteAllDigital ( int Data ); 
fcns.name{fcnNum}='WriteAllDigital'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
%  void __stdcall ClearDigitalChannel ( int Channel ); 
fcns.name{fcnNum}='ClearDigitalChannel'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
%  void __stdcall ClearAllDigital (); 
fcns.name{fcnNum}='ClearAllDigital'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
%  void __stdcall SetDigitalChannel ( int Channel ); 
fcns.name{fcnNum}='SetDigitalChannel'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
%  void __stdcall SetAllDigital (); 
fcns.name{fcnNum}='SetAllDigital'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
%  bool __stdcall ReadDigitalChannel ( int Channel ); 
fcns.name{fcnNum}='ReadDigitalChannel'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='bool'; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
%  int __stdcall ReadAllDigital (); 
fcns.name{fcnNum}='ReadAllDigital'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
%  int __stdcall ReadCounter ( int CounterNr ); 
fcns.name{fcnNum}='ReadCounter'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
%  void __stdcall ResetCounter ( int CounterNr ); 
fcns.name{fcnNum}='ResetCounter'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
%  void __stdcall SetCounterDebounceTime ( int CounterNr , int DebounceTime ); 
fcns.name{fcnNum}='SetCounterDebounceTime'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}=[]; fcns.RHS{fcnNum}={'int32', 'int32'};fcnNum=fcnNum+1;
%  int __stdcall Version (); 
fcns.name{fcnNum}='Version'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
%  int __stdcall SearchDevices (); 
fcns.name{fcnNum}='SearchDevices'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}=[];fcnNum=fcnNum+1;
%  int __stdcall SetCurrentDevice ( int CardAddress ); 
fcns.name{fcnNum}='SetCurrentDevice'; fcns.calltype{fcnNum}='stdcall'; fcns.LHS{fcnNum}='int32'; fcns.RHS{fcnNum}={'int32'};fcnNum=fcnNum+1;
methodinfo=fcns;

Contact us