LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange problem when load a Panel

When I run my program, I was told:
 
NON-FATAL RUN-TIME ERROR:   "xy2uv.c", line 19, col 24, thread id 0x00000898:
The callback function, message, specified in the UIR file, is not a known function.
If you are using an external compiler, you must include the UIR callbacks object or
source file in the executable or DLL.
I include the main() function in the following:
int main (int argc, char *argv[])
{
 if (InitCVIRTE (0, argv, 0) == 0)
  return -1; /* out of memory */
 if ((panelHandle = LoadPanel (0, "xy2uv.uir", PANEL)) < 0)
      ~~~~~~~~~~Reporting Error
  return -1;
 DisplayPanel (panelHandle);
 RunUserInterface ();
 DiscardPanel (panelHandle);
 return 0;
}
The panel can not be seen
 
What's wrong?
0 Kudos
Message 1 of 2
(2,736 Views)

Hi,

What might be the problem is that you have a callback in one your panels and no corresponding function to that. Try by removing the callback and run. It might work.

Bye

Ashwin

0 Kudos
Message 2 of 2
(2,734 Views)