Jump to content
  • 0

Export the needed data from the scope


FrankL

Question

Hello

I'm using WaveForms with analog discovery 3. I have used the record mode to get an acquisition in the scope with 20M samples(2M sampling rate for 10s). However i don't need all 20M samples. The data i need to export is only a very small part of them. In the "data" and "export" option i can only get the first 10M samples and the data i need is not there. But using the "Logging" option to export all the samples is also not preferred, since it makes the processing more difficult. So i would like to ask, is there a way to export only a small selected part of the samples in scope? I already know the time Interval where the data i want is, perhaps it can be accomplished with the script mode in "Logging"? How should i write the code? Thanks!1.thumb.png.aa56db01ee0b63a31b2aaaa168af3c40.png

With regards

Frank_L

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @FrankL

You can add Zoom view and export this source, or write custom script for export with file write.

Scope.Export("~/Desktop/scope/acq"+Index+".csv", "Zoom1")

FileWrite("~/Desktop/scope/acq"+Index+".csv", Scope.Channel1.visibledata)

image.png

image.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...