Hi, I am trying to connect a Tektronix MDO3024 oscilloscope to MATLAB. I am working on windows 10 and MATLAB R2016a. I am simply trying to get the waveform.
I installed TekVISA 4.04 and run tmtool to check if the oscilloscope is connected properly. Everything was ok.
This is the program I have tried:
myScope = oscilloscope();myScope.Resource = 'USB0::0x0699::0x0408::C026901::0';connect(myScope);enableChannel(myScope, { 'CH1' , 'CH2'});w = getWaveform(myScope);
When the program try to run getWaveform I get an error “Instrument returns error during execution”. I tried to instal NI-VISA 17.0 then NI-VISA 5.4 nothing changed.
If anyone can help me to solve the problem it will be great.
Best Answer