Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Why do sampling rate change automatically ?

1 visualizzazione (ultimi 30 giorni)
SHUNSUKE YAMANAKA
SHUNSUKE YAMANAKA il 27 Ott 2017
Chiuso: MATLAB Answer Bot il 20 Ago 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,

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!