Plotting Data from Espruino Web IDE to Excel in order to plot a graph #5428
Replies: 1 comment
-
Posted at 2016-09-22 by @gfwilliams I'm afraid there isn't a nice way at the moment, no... By the way, that waveform will only be 10 items long (you need If you dumped the Waveform in one long row:
you might find it easier to copy? But then you just have to swap it around in Excel (although it looks like Excel might have a 'paste transposed' option) Posted at 2016-09-22 by user68392 Yes, that's right. This waveform that I posted is only 10 items form, however, for the experimentation I am working on, I will reproduce this waveform with much more items. Thanks a lot for the tip Gordon, I'll try that! Let me ask you another thing, can Espruino reproduce this graph? Because that could be another solution for me as well. Sorry if the question is too silly, but this is my first contact with Espruino. Posted at 2016-09-22 by Spocki With the "testing" option in the WEB IDE you can print graphs over time. These can be recorded, too. The result are structured XML files. On youtube you find some videos about that (search for espruino and testing). Posted at 2016-09-22 by user68392 Thanks a lot Spocki! I'll try to plot this graph with this option. And last thing, does anybody know what is the voltage range for measurement of analog inputs in ports with Analog to Digital converter? Posted at 2016-09-22 by @gfwilliams On Espruino boards it's just 0 to 3.3v. Posted at 2016-09-22 by user68392 Thank you so much Gordon!! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-09-22 by user68392
Hello, I would like to know if there is a way to plot the result of this waveform:
var w = new Waveform(10, {bits:16});
w.on("finish", function(buf) {
for (var i in buf)
console.log(buf[i]);
});
w.startInput(A0,1000,{repeat:false});
directly to Excel or other program in order to plot a graph, without having to copy/paste the results, as it would be inconvenient to copy 1000 points of the waveform, for example.
Att, Thiago
Beta Was this translation helpful? Give feedback.
All reactions