07-28-2017 10:55 AM
Hello All,
Please help, every time I rebuild my project I got an error and sometimes not. The highlighted with red color is the error.
int CVICALLBACK Timer1CB (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
{
switch (event)
{
case EVENT_TIMER_TICK:
GetCurrentDateTime (&now);
FormatDateTimeString (now, "%H:%M:%S %p %d %B %Y", TimeBuffer, 100);
SetCtrlVal(panel,au_STRING, TimeBuffer);
break;
}
return 0;
}
NON-FATAL RUN-TIME ERROR: "Cobot_Machine Interface.c", line 217, col 13, thread id 7768: Function SetCtrlVal: (return value == -58 [0xffffffc6]). The control does not have a value.
Thanks in advanced!.
Solved! Go to Solution.
07-28-2017 12:02 PM
I solved the problem now.
07-28-2017 12:30 PM
Hey Master_Viper,
Could you post your solution so that other users can get help with this issue in the future?
Cheers,
Ryan C.
07-28-2017 12:59 PM
There is conflict on two uir with the same name. So, what I did is delete the other file.
Master_Viper