フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Why do sampling rate change automatically ?

1 回表示 (過去 30 日間)
SHUNSUKE YAMANAKA
SHUNSUKE YAMANAKA 2017 年 10 月 27 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Dear Sir or Madam,
I would like to get PRBS data ( 1 Mbps ) for 10 MSa/s sample rate. But, when I tried to get data from oscillscope for 10 MSa/s , the data had changed 100 MSa/s on osiclloscope.
I think that some command may change the sample rate.
So, I show you program that is for getting data.
-----------------------------------------------------
myScope = oscilloscope();
availableResources = getResources(myScope);
myScope.Resource = 'USB0::0x0699::0x0368::C024169::0::INSTR';
% Connect to the instrument.
connect(myScope);
get(myScope);
% Automatically configuring the instrument based on the input signal.
autoSetup(myScope);
myScope.TriggerMode = 'normal';
myScope.TriggerLevel = 0.01;
enableChannel(myScope, 'CH1');
setVerticalCoupling (myScope, 'CH1', 'AC');
setVerticalRange (myScope, 'CH1',5.0);
waveformArray = getWaveform(myScope, 'acquisition', true);
% Plot the waveform.
plot(waveformArray);
xlabel('Sample');
ylabel('Voltage[V]');
disconnect(myScope);
clear myScope;
--------------------------------------------
I'm glad if you let me know.
Sincerely,

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!