Jump to content
  • 0

Data Collection


Nick

Question

After I collect data using the scope, I'm trying to write the script to create an array with such data so that I can further analyze it. However, I noticed that the "Scope1.Channel1.data" (7693 samples) outputs different data from that shown in the table on the Scope tab -> View -> Data (8192 samples). Any recommendations on how to output the data displayed on the oscilloscope?

PS: On the "WaveForms 2015 Reference Manual" it is said that Scope1.Channel1.checked obtains the data array, but this is false since ".checked" returns true or false.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

Hi @attila

Thank you very much for your response, the .alldata worked!

Quick question, I'm trying to use File("path").read() to read information from a .txt file, I also tried readArray()  but I have not been successful.

This is the code I used:

var y = File("path").read()

print(y)

 

Thank you!

Link to comment
Share on other sites

Hi @attila

Now it does work, the only difference between our codes was that I didn't include the "~/" when writing the path name, once I write it in the program outputs correctly.

Thanks for all your help!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...