Trigger and waveform question

1 回表示 (過去 30 日間)
m j
m j 2017 年 8 月 11 日
コメント済み: Jayaram Theegala 2017 年 8 月 16 日
I am studying turning soundcard into oscilloscope with circular buffer, I know others have done so but wanted a go at it myslf, but need some help.
I have a 50ms window of time being diplayed from soundcard, with 2 waveforms(10ms each) with a 30ms gap between them.I have a basic trigger, but not sure what I need for problem( below):
I was wondering if its possible to have only 1 waveform be displayed(plotted) on screen, but with the same window frame of 50ms?I know I could just shorten window from to 40ms and poof its gone, but want to have a 50ms frame that ignores second waveform.Delay after first trigger or hysteresis,not sure.Confused.I'd say im intermediate level with matlab. So dont have to baby me.
  1 件のコメント
Jayaram Theegala
Jayaram Theegala 2017 年 8 月 16 日
If you would like to only plot the first wave (which is in the first 10 ms period), you can omit the data from 40th to 50th milliseconds. And, the above solution will work if you are sure that the second wave will only be acquired starting at 40th millisecond. In either case it should be possible for you to just filter the soundwave you want and plot it over the time period you intend.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeWaveform Generation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by