MATLAB Support Package for Velleman PCSGU250 Oscilloscope + Function Generator
The Velleman PCSGU250 is a combination 2-channel oscilloscope and function generator. This MATLAB Support package allows you to:
* configure scope properties such as triggers and time range
* retrieve waveforms from the scope
* configure the function generator
* create custom waveforms for the generator
The Support Package uses a Software Development Kit (SDK) from Velleman, and *does not* require Data Acquisition Toolbox or Instrument Control Toolbox. The included REAMDE.pdf guides you through the download and install of the Velleman SDK and related USB driver.
Sample usage:
% create a Velleman PCSGU250 object
lab = vellscope.pclab
% hide the Velleman PCSGU250 GUI
lab.hide
% configure and start the function generator
lab.FgenFunction = 'sine';
lab.FgenFrequency = 20;
lab.FgenAmplitude = 2;
lab.startGen
% configure and collect data from the scope
lab.VoltsPerDiv_Ch1 = '3V';
lab.TimePerDiv = '2ms';
lab.startScope
pause(5) % wait to let scope acquire data
data = a.readChannel(1);
plot(data);
% clean up
delete(lab)
Cite As
MathWorks Data Acquisition Toolbox Team (2024). MATLAB Support Package for Velleman PCSGU250 Oscilloscope + Function Generator (https://www.mathworks.com/matlabcentral/fileexchange/32328-matlab-support-package-for-velleman-pcsgu250-oscilloscope-function-generator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Data Acquisition Toolbox > Simultaneous and Synchronized Operations >
- Test and Measurement > Data Acquisition Toolbox > Data Acquisition Toolbox Supported Hardware >
- Test and Measurement > Instrument Control Toolbox > Instrument Control Toolbox Supported Hardware > Oscilloscopes >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.