NI ELVIS II Power Supply, Function Generator, Digital Multimeter Support
Version 1.2.0.1 (593 KB) von
MathWorks Classroom Resources Team
MATLAB library that extends support for communicating with a NI ELVIS II prototyping platform
The NI ELVIS II 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();
Zitieren als
MathWorks Classroom Resources Team (2024). NI ELVIS II Power Supply, Function Generator, Digital Multimeter Support (https://www.mathworks.com/matlabcentral/fileexchange/32635-ni-elvis-ii-power-supply-function-generator-digital-multimeter-support), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2010b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Test and Measurement > Data Acquisition Toolbox > Multichannel Audio Input and Output >
- Test and Measurement > Instrument Control Toolbox > Instrument Control Toolbox Supported Hardware > Power Supply >
- Test and Measurement > Instrument Control Toolbox > Instrument Control Toolbox Supported Hardware > DMM >
Mehr zu Multichannel Audio Input and Output finden Sie in Help Center und MATLAB Answers
Tags
Communitys
Mehrere Dateien sind in der Power Electronics Control Community erhältlich
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
NI_ELVIS/+elvis/
NI_ELVIS/+elvis/+private/
NI_ELVIS/+elvis/+util/
NI_ELVIS/examples/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.1 | Updated license |
||
1.2.0.0 | - clarified description to communicate this submission is an extension of base support in Data Acquisition Toolbox. |
||
1.1.0.0 | Added resource url. |
||
1.0.0.0 |