Code covered by the BSD License  

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

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 593 KB File ID: #32635 Version: 1.2

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

| Watch this File

File Information
Description

The NI ELVIS II (www.ni.com/nielvis) is an electronics prototyping platform with analog and digital I/O and several built-in laboratory instruments.
Starting with R2010b, Data Acquisition Toolbox supports the analog and digital I/O subsystems on ELVIS II.

This submission extends the base support, and allows you to access the following built-in instruments directly from MATLAB:

  * Variable Power Supply
  * Function Generator
  * Digital Multimeter

The following Multimeter measurements are supported:

  * DC Voltage
  * AC Voltage
  * DC Current
  * AC Current
  * Resistance
  * Diode
  * Continuity

Sample usage:

  % --- Configure variable power supply ---
  vps = elvis.VarPowSupply;
  vps.Vpos = 5; % set the positive supply to +5V
  vps.Vneg = -9; % set the negative supply to -9V

  % --- Configure Function Generator ---
  fg = elvis.Fgen;
  fg.Function = 'triangle';
  fg.Amplitude = 4; % set amplitude to 4V
  fg.Frequency = 2; % set frequency to 2 Hz
  fg.start();
  pause(1);
  fg.stop();

  % --- Digital Multimeter ---
  dmm = elvis.Multimeter('dcvoltage');
  dmm.Range = '10V';
  data = dmm.readData();

  % --- Digital Multimeter with auto-ranging ---
  dmm = elvis.MultimeterAuto('dcvoltage');
  data = dmm.readData();

Required Products Data Acquisition Toolbox
MATLAB release MATLAB 7.11 (R2010b)
Other requirements 32-bit MATLAB only (note: 32-bit MATLAB can be installed on 64-bit Windows).
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
08 May 2014 1.1

Added resource url.

09 May 2014 1.2

- clarified description to communicate this submission is an extension of base support in Data Acquisition Toolbox.

Contact us