Hi,
I would like to use GRAPH widget to show the waveform.
GRAPH_DATA_YT_AddValue function can only add one value into GRAPH_DATA_Handle,
is there any methold to update the whole date array? I can use the following code to initial data array,
and attach them to GRAPH_DATA_Handle, but when I change the content of data after then, the Graph are not change accordingly.
My quetions is how to update the whole data array and let Graph change accordingly.
Thanks for your support.
static I16 data[600];
for(int i=0;i<600;i++)
{
data=4*(i%100);
}
Graphdata = GRAPH_DATA_YT_Create(GUI_RED, 600, data, 600);
GRAPH_AttachData(hItem, Graphdata);
I would like to use GRAPH widget to show the waveform.
GRAPH_DATA_YT_AddValue function can only add one value into GRAPH_DATA_Handle,
is there any methold to update the whole date array? I can use the following code to initial data array,
and attach them to GRAPH_DATA_Handle, but when I change the content of data after then, the Graph are not change accordingly.
My quetions is how to update the whole data array and let Graph change accordingly.
Thanks for your support.
static I16 data[600];
for(int i=0;i<600;i++)
{
data=4*(i%100);
}
Graphdata = GRAPH_DATA_YT_Create(GUI_RED, 600, data, 600);
GRAPH_AttachData(hItem, Graphdata);