Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

How to configure syntax error

$
0
0

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.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>