Hello,
for my project I want to show some values in a chart. For this reason I have to transfer an array from my system to my gui. I looked at the EW guide how to do this. I use a slot method to do this and added the following code,
/* 'C' function for method : 'Application::SpecScreen.AddRecords()' */
void ApplicationSpecScreen_AddRecords( ApplicationSpecScreen _this, XObject sender )
{
XInt32 size;
XInt32 i;
/* Dummy expressions to avoid the 'C' warning 'unused argument'. */
EW_UNUSED_ARG( sender );
felder = 10;
i = 0;
ChartsRecordList_ClearList( &_this->Records );
for (; i < size; i = i + 1 )
{
XInt32 val;
val= pixel_readout_values[i];
_this->pixelvalues_gui[ EwCheckIndex( i, 4 )] = val;
}
}
But it seems that there is something wrong with my for loop. Because GUI stops working and it's never leaving the loop.
Have a nice weekend.
Alex