I tried to follow the example for logging data from a graph in GUI Composer, but I am using a ScalarLineGraph widget. I understand that the data series is not in "series0", but rather in 'value0'.
So I made the following change:
require(["dojo/ready"], function(ready){ ready(function(){ dijit.byId('widget_graph').watch('value1', function( prop, newValue, oldValue) { logData( newValue, false); }); }); });
However, this only writes one data point to the file. It is not updating every second like the example. Also, I need to write more than one series to the file at a time and am not clear on what changes are needed to do so. That is, how to "watch" more than one series and have all the new values written to the file at once.
Code Composer Studio 6.1.0.00104
Tiva TM4C1294NCPDT processor on custom board
XDS100v2 JTAG probe