AnsweredAssumed Answered

How to save only Math (FFT) from DSOX2024A oscilloscope using python.

Question asked by Ivanas on Jul 9, 2018
Latest reply on Jul 9, 2018 by pat_white

Hello,

 

I can easily save waveform using the following command.

scope.write(":VIEW CHANNEL1"); 
scope.write(":WAVEFORM:FORMAT ASCII");
scope.write(":WAVEFORM:POINTS 5000");
scope.write(":DIGITIZE CHANNEL1");
scope.write(":WAVEFORM:DATA?");
tmp=scope.read(2);numstr=scope.read(8);data=scope.read(int(numstr));scope.write(":RUN")
x = np.fromstring(data,sep=",");

 

I can also select only the Math channel by using the following command:

scope.write(":FUNCtion:DISPlay 1");
scope.write(":BLANk CHANnel1");

But I don't know what command I should use to export FFT signal in CSV.

 

Regards,

Ivan


Dear @hognala, it would be great if you can help!

Outcomes