This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
university:tools:m2k:scopy:siggen [16 May 2018 15:12] – Updated general description Adrian Suciu | university:tools:m2k:scopy:siggen [07 Apr 2021 22:07] – added video Brandon Bushey | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Scopy Signal Generator ====== | ====== Scopy Signal Generator ====== | ||
+ | ===== Video ===== | ||
+ | {{youtube> | ||
===== General Description ===== | ===== General Description ===== | ||
Line 39: | Line 41: | ||
CSV file format supports raw CSVs such as [[https:// | CSV file format supports raw CSVs such as [[https:// | ||
+ | |||
+ | < | ||
+ | |||
MAT file format only supports arrays of type real (no complex waveforms) | MAT file format only supports arrays of type real (no complex waveforms) | ||
Line 61: | Line 66: | ||
===== Use cases ===== | ===== Use cases ===== | ||
- | ==== Controlling DC Output | + | Create loopback between CH1 and CH2 of the oscilloscope |
- | < | + | |
- | {{ university: | + | |
- | + | ||
- | Signal Generator 1 is turned on and off by clicking on the orange circle | + | |
- | + | ||
- | The signal generator initializes with both function generators on with the menu for Channel 1 displayed to the right, set up to output a DC level, as shown above. | + | |
- | + | ||
- | The following illustration shows the list of available waveforms.{{ university: | + | |
+ | ==== Run a single channel ==== | ||
+ | < | ||
+ | {{ : | ||
+ | - Disable channel 2 | ||
+ | - Select sine wave with 5V amplitude and 10kHz | ||
+ | - Run the signal generator | ||
+ | - Monitor oscilloscope | ||
+ | </ | ||
+ | ==== Run both channels ==== | ||
+ | < | ||
+ | {{ : | ||
+ | - Continue from previous testcase | ||
+ | - Enable channel 2 and select triangle wave with 5V amplitude and 20kHz | ||
+ | - Add gaussian noise with 1V amplitude | ||
+ | - Monitor oscilloscope | ||
+ | </ | ||
+ | ==== Generate square waveform ==== | ||
+ | < | ||
+ | {{ : | ||
+ | - Select square wave with 25% dutycycle | ||
+ | - Decrease noise amplitude to 200mV | ||
+ | - Monitor oscilloscope | ||
+ | </ | ||
+ | ==== Generate trapezoidal waveform ==== | ||
+ | < | ||
+ | {{ : | ||
+ | - Select trapezoidal waveform with 1ms rise/ | ||
+ | - Monitor oscilloscope | ||
+ | </ | ||
+ | ==== Generate waveform from wav file ==== | ||
+ | < | ||
+ | {{ : | ||
+ | - Select buffer mode and select a wavefile. One can usually find a suitable wavefile in C: | ||
+ | - Signal generator automatically selects appropriate sample rate | ||
+ | - Monitor oscilloscope (if possible connect a speaker to the channel that is outputted) | ||
+ | </ | ||
+ | ==== Generate stairstep waveform ==== | ||
+ | < | ||
+ | {{ : | ||
+ | - Select the stairstep csv file provided above [[https:// | ||
+ | - Remove noise, disable CH1 and increase amplitude to 5V | ||
+ | - Monitor oscilloscope | ||
+ | </ | ||
+ | ==== Generate waveform from math function ==== | ||
+ | < | ||
+ | {{ : | ||
+ | - Select Math mode and input a function such as 2*(cos(6000*pi*t)*sin(2000*pi*t)) | ||
+ | - Set sample rate to 75MSPS (this is the sample rate of the generated signal) | ||
+ | - Set record run length to 1ms. | ||
+ | - Run the signal | ||
+ | - Monitor oscilloscope | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
**Return to [[university: | **Return to [[university: |