04-05-2006 12:29 PM
04-05-2006 02:01 PM
04-05-2006 03:10 PM
04-06-2006 01:47 PM
Hi Roberto & mvr,
Thanks for reply. I really appreciate it. Well i looked at mvr's suggestion.....well i wasnt using ProcessSystemEvents so i dont know what was happening....but i tried using Roberto's method.
Roberto, i tried using the flag and having everythign done under one timer control.....well see i hv different .c files for each panel....and variable...moving everything in main.c......then i hv also got array for the labels in my video.uir bt when i compile..it say cannot find VIDEO_LED and so on......
Well basically what i want to do is this.....when i go to the video panel.....i want to stop the timer control for main and edge panel......then here i want to get date from serial using a modbus command...so i send a command once...i get a string of data....(its large...abt 32Kbtyes) and save it to an array.......do u think i can use the InstallComCallback for this too?? or what should i do?? also currently i already use that for getting data for the main panel......pls let me know if u hv suggestion go around this problem.
Thanks for help guys.
k1_ke
04-06-2006 02:42 PM
>>well see i hv different .c files for each panel....and variable...moving everything in main.c......then i hv also got array for the labels in my video.uir bt when i compile..it say cannot find VIDEO_LED and so on......
If the compiler can not find VIDEO_LED it may be because you need to add the header file for the uir that has VIDEO_LED defined in it to the file in which you are trying to use it. If you have panels defined in multiple uirs, you must include the header for each uir in any file that tries to use those panels.
04-06-2006 02:47 PM