Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Why do sampling rate change automatically ?

1 Ansicht (letzte 30 Tage)
SHUNSUKE YAMANAKA
SHUNSUKE YAMANAKA am 27 Okt. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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,

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!