Hello Guys,
Please help me configure this error. Below is the code.
/*****************************FAIL Bit**********************************************/
void FailBoard (int x)
{
char str[5];
long i;
if (GetBitFestoInputs(3,1)
{
GetCtrlVal(panelHandle_Cobot, PANEL_esFail, str);
i = atol(str);
i++;
sprintf(str, "%lu", i);
SetCtrlVal(panelHandle_Cobot, PANEL_esFail, str);
}
return;
}
I got an error syntax error: found '{'expecting')'
Thanks in advance.