Code covered by the BSD License  

Highlights from
NI ELVIS II Power Supply, Function Generator, Digital Multimeter Support

NI ELVIS II Power Supply, Function Generator, Digital Multimeter Support

by

 

22 Aug 2011 (Updated )

MATLAB library that extends support for communicating with a NI ELVIS II prototyping platform

functionGenerator.m
fg = elvis.Fgen;
fg.Amplitude = 4;         %set amplitude to 4V
fg.Frequency = 2;         %set frequency to 2Hz
fg.start;                 %start the function generator
fg.Function = 'triangle'; %change the waveform type

% clean up if done with the session
% delete(fg);

Contact us