Shows incoming values in realtime as a visual graph, when a debug session is active. Allows to export data as CSV
Inputs
INa (number, default=1) — the input data to be debugged
UPD — to trigger a new plot on the graph and a new line in the csv file
Outputs
FILE (filename) — the filename to save to
This would be really cool to debug and explain visually and in realtime some physical phenomenon like temperature changes or any other sensor changes. This is particularly interesting when working with kids. I’d add an autoscale to the graph or some more node inputs to configure it. OR allow only 0-1 values for a first version.
looks like this is being addressed already(we may see something in the future)
Unfortunately i think something like this would have to be coded in to XOD itself, i don’t believe a node has access to the required functions. (someone correct me if i am wrong)
In the meantime i am working on a temporary node to do just this (one small hurdle to overcome yet) bradzilla84/serial-plotter
Check out the Example for the client
No export yet though.
Yeah, that would be great. As @bradzilla84 said, it cannot be a regular node though. It should be threaded specially by XOD IDE. Can’t promise anything about implementation time, unfortunately.
Great to know that you are already working on something. It will definitely need tome specific addons to the IDE, and of course it changes the scope of the project quite a bit so I understand it’s not an easy task.
I just tested your serial plotter node, it works great! Minor problem is that serial opened by the monitor external tool creates trouble with xod built in debugger and uploader. Thus having it all included would really rocks !
Note that having something more visual in XOD UI would be great marketing. When you look at the current xod homepage, it’s really a wonderful demonstration of the capabilities. Add some charts node from cactus humidity and it will totally rock
(I’d add, support datetime input for charting events, taken from some rtc, and it would even be cooler)