AUBRAUX
 

 

Exim

Ensemble

Quantum

JitLab

PCScope

Modules:

SigGen

SoundImp

SoundExp

Plot

Meas

Stats

FileImp

TextImp

TextExp

Filter

FFT

DspWnd

Visa

Arithmetic

Plugins:

CodeEditor

SchEditor

Wizards:

JitLab

Help:

Getting Started

Examples:

PC Oscilloscope

Signal Generator

Amp. Modulation

Freq. Modulation

Phase Modulation

AM, FM & PM

PAM

PWM

Text Imp. & Exp.

 

PC Oscilloscope


You can use the Sound Importer module along with Plot module to make a fully functional PC based digital oscilloscope using sound card. The mic input of the sound card can be used to probe real signals. The sound card digitizes the input signal and the SoundImp module can acquire the digitized signal from the sound card.

You can also use other modules to process the acquired data. For example, you can save the data in binary or text format and also perform various measurements.

Open the PCScope.dsp project in DspSee to have a fully functional PC based oscilloscope. Click to download DspSee dsp software.


Click here to checkout the PCScope plugin

Example using Schematic Editor


Basic Oscilloscope Advanced Oscilloscope with Triggering
schematic-pcscope schematic-pcscope-advanced

The above examples can be used to make a pc based oscilloscope. As you can see, the schematic based approach is very simple. Just add the desired modules from the module list, and connect them with the wires the way you want.

Double click on the Sound Importer symbol to open its settings. Double click on the Plot symbol to open the plot window and its settings.

That's it, you are ready for the fun. Just click on the Run button on the toolbar to acquire the data and display it.


Example using Script

You can also write a script to achieve the same objective. Below is a description of the PCScope.dsp project file. Feel free to change it to try different things.


File starts ->

//PCScope.dsp
//Copyright www.aubraux.com
//DspSee sample file. Shows usage of SoundImp module.
//Requires SoundImp and Plot modules.

//Sound card importer 
load snd="SoundImp"//Loads the Sound Importer module. This module can acquire data using sound card.
snd.gui.wnd="snd1"//Forces the sound gui in a new window named "snd1" instead of the default window.
snd.gui.title="Sound Setup"//Sets the sound gui window title to "Sound Setup"
snd.gui.move(500,0)//Moves the sound gui to (x=500, y=0)
 
//Plot 
load p1="Plot"//Loads the Plot module. This module can display input data in various formats.
p1.plot.title="Plot Window"//Sets the title of the plot window to "Plot Window"
p1.setup.title="Plot Setup"//Sets the title of the plot setup window to "Plot Setup"
link p1.src.ch1=snd.out//Links the SoundImp output to Plot input
p1.ch1.label="Sound Input"//Sets the Plot ch1 label to "Sound Input"
p1.setup.move(280,0)//Moves the plot setup gui to (x=280, y=0)
p1.plot.move(0,220)//Moves the plot window to (x=0, y=220)
p1.plot.size(1000,420)//Resizes the plot window to (width=1000, height=420)

<- File ends


Open the above project in DspSee. There will be a sound setup window, a plot window and a plot setup window. Select the desired sound source from the sound setup window. Click on the Run button on the toolbar to acquire the data and display it.

More...

You can use other modules to do following tasks and much more:

  • FFT: For fast fourier transform of the input signal.
  • Filter: To filter the input signal.
  • SigGen: Modulate the acquired signal/audio signal on a high frequency signal. Amplitude, frequency and phase modulations are available.
  • Meas: Do various automatic measurements.
  • Stats: Use alone for level statistics or with Meas module for timing statistics.
  • SoundExp: Export acquired or processed data through sound card. You can make a parrot by sending the acquired audio signal to the speaker (Hint: You need to set the record length to a large number to hold the data for a few seconds).
  • TextExp: Save data in text format.
  • FileExp: Save data in binary format.

In summary, the possibilities are endless. Also, many more modules will be availabe in future.

 
©Aubraux

All Rights
Reserved