Timing problems upon TP get online
adys
Posts: 395
I added some pages to my TP ( all the MAX pages)
I am listening to all my TPS online messages, and then do some do_push commands to simulate user commands so that they will be sync after reboot/loading.
Everything was working ok until I added the pages. from some reason, now I am doing the same code, but from looking at the logs, look like the page command coming from the TP Power up page in TP design is coming AFTER my commnad( line 71) , and all I see is this page and all my popups are going away....
Line 49 :: Input Status:Pushed [10003:20:3] - Channel 16 - 13:54:46
Line 50 :: Input Status:Pushed [10003:20:3] - Channel 12 - 13:54:46
Line 51 :: Input Status:Pushed [10003:20:3] - Channel 5 - 13:54:46
Line 52 :: Command To [10003:20:3]-[^BMF-16,1,%T] - 13:54:46
Line 53 :: Command To [10003:20:3]-[^BMF-16,1,%TGym] - 13:54:46
Line 54 :: Command To [10003:20:3]-[@PPN-Map Button] - 13:54:46
Line 55 :: Command To [10003:20:3]-[@PPN-Tool Bar Gym Room Map] - 13:54:46
Line 56 :: Command To [10003:20:3]-[@PPN-Preset Map Gym Audio Video] - 13:54:46
Line 57 :: Command To [10003:20:3]-[@PPN-Tool Bar Gym Room Map] - 13:54:46
Line 58 :: Command To [10003:20:3]-[@PPN-Info] - 13:54:46
Line 59 :: Command To [10003:20:3]-[^BMF-179,1,%TInfo: Gym Video ] - 13:54:46
Line 60 :: Command To [10003:20:3]-[^BMF-179,1,%TInfo: Gym Video ] - 13:54:46
Line 61 :: Command To [10003:20:3]-[^BMF-179,1,%TInfo: Gym Video ] - 13:54:46
Line 62 :: Command To [10003:20:3]-[@PPA-HomeMap] - 13:54:46
Line 63 :: Command To [10003:20:3]-[@PPN-Tool Bar Gym Room] - 13:54:46
Line 64 :: Command To [10003:20:3]-[@PPN-Preset Gym Room Audio Video] - 13:54:46
Line 65 :: Command To [10003:20:3]-[@PPN-Video Gym Room] - 13:54:46
Line 66 :: Command To [10003:20:3]-[@PPN-MainScreenRoom] - 13:54:46
Line 67 :: Command To [10003:20:3]-[@PPN-Tool Bar Gym Room] - 13:54:46
Line 68 :: Command To [10003:20:3]-[@PPN-Map Button] - 13:54:46
Line 69 :: Command To [10003:20:3]-[@PPN-Info] - 13:54:46
Line 70 :: Command To [10003:20:3]-[@PPN-Volume Gym Room] - 13:54:46
Line 71 :: String From [10003:1:3]-[PAGE-HomeMap] - 13:54:47
Line 72 :: Command To [10003:20:3]-[^BMF-180,1,%T07/23/07 13:54:25] - 13:54:47
Line 73 :: Input Status:Released [10003:20:3] - Channel 16 - 13:54:47
Line 74 :: Input Status:Released [10003:20:3] - Channel 5 - 13:54:47
Line 75 :: Input Status:Released [10003:20:3] - Channel 12 - 13:54:47
When debuging it, it working ok. I guess the debuger is solving the timing issue...
Any way to solve that?
Thanks,
Ady.
P.s.
I thought listening to "start up" string (TPDesign field) instead of online event will solve that, but I don't get this message at all....
Wakeup is working ok, but Startup - not. Just don't get string from the panel.
I am listening to all my TPS online messages, and then do some do_push commands to simulate user commands so that they will be sync after reboot/loading.
Everything was working ok until I added the pages. from some reason, now I am doing the same code, but from looking at the logs, look like the page command coming from the TP Power up page in TP design is coming AFTER my commnad( line 71) , and all I see is this page and all my popups are going away....
Line 49 :: Input Status:Pushed [10003:20:3] - Channel 16 - 13:54:46
Line 50 :: Input Status:Pushed [10003:20:3] - Channel 12 - 13:54:46
Line 51 :: Input Status:Pushed [10003:20:3] - Channel 5 - 13:54:46
Line 52 :: Command To [10003:20:3]-[^BMF-16,1,%T] - 13:54:46
Line 53 :: Command To [10003:20:3]-[^BMF-16,1,%TGym] - 13:54:46
Line 54 :: Command To [10003:20:3]-[@PPN-Map Button] - 13:54:46
Line 55 :: Command To [10003:20:3]-[@PPN-Tool Bar Gym Room Map] - 13:54:46
Line 56 :: Command To [10003:20:3]-[@PPN-Preset Map Gym Audio Video] - 13:54:46
Line 57 :: Command To [10003:20:3]-[@PPN-Tool Bar Gym Room Map] - 13:54:46
Line 58 :: Command To [10003:20:3]-[@PPN-Info] - 13:54:46
Line 59 :: Command To [10003:20:3]-[^BMF-179,1,%TInfo: Gym Video ] - 13:54:46
Line 60 :: Command To [10003:20:3]-[^BMF-179,1,%TInfo: Gym Video ] - 13:54:46
Line 61 :: Command To [10003:20:3]-[^BMF-179,1,%TInfo: Gym Video ] - 13:54:46
Line 62 :: Command To [10003:20:3]-[@PPA-HomeMap] - 13:54:46
Line 63 :: Command To [10003:20:3]-[@PPN-Tool Bar Gym Room] - 13:54:46
Line 64 :: Command To [10003:20:3]-[@PPN-Preset Gym Room Audio Video] - 13:54:46
Line 65 :: Command To [10003:20:3]-[@PPN-Video Gym Room] - 13:54:46
Line 66 :: Command To [10003:20:3]-[@PPN-MainScreenRoom] - 13:54:46
Line 67 :: Command To [10003:20:3]-[@PPN-Tool Bar Gym Room] - 13:54:46
Line 68 :: Command To [10003:20:3]-[@PPN-Map Button] - 13:54:46
Line 69 :: Command To [10003:20:3]-[@PPN-Info] - 13:54:46
Line 70 :: Command To [10003:20:3]-[@PPN-Volume Gym Room] - 13:54:46
Line 71 :: String From [10003:1:3]-[PAGE-HomeMap] - 13:54:47
Line 72 :: Command To [10003:20:3]-[^BMF-180,1,%T07/23/07 13:54:25] - 13:54:47
Line 73 :: Input Status:Released [10003:20:3] - Channel 16 - 13:54:47
Line 74 :: Input Status:Released [10003:20:3] - Channel 5 - 13:54:47
Line 75 :: Input Status:Released [10003:20:3] - Channel 12 - 13:54:47
When debuging it, it working ok. I guess the debuger is solving the timing issue...
Any way to solve that?
Thanks,
Ady.
P.s.
I thought listening to "start up" string (TPDesign field) instead of online event will solve that, but I don't get this message at all....
Wakeup is working ok, but Startup - not. Just don't get string from the panel.
0
Comments
I don't like to use thier interface for that reason. I've ranted about it before, so I'll stop now.
Online event
I added them to the project, and now we are doing redesign of the look.
you are saying I am getting the white screen from MAX?
But why?
The log show a strange command in line 71
I was referring to the fact that the old MAX module would periodically send the touch panel to the MAX's home page without provocation. We'd get a call from our customer's saying the touch panel keeps going to a white screen.
It was meant to be mildly humorous. Sorry that it wasn't...
ejm
so now it don't, but maybe its some commnad that coming from the module and I can't see it?
Guys, Any more Ideas?
Searching in the MAX UI module got me this line:
DATA_EVENT[dvTP]
{
ONLINE:
.
.
.
.
SEND_COMMAND dvTP, 'TPAGEON'
SEND_COMMAND dvTP, '@PPX' // Popups off
.
.
}
From some reason they are not in my log...so I seached only for PPA,PPN and not PPX
And also TP that have old TP file version but runing the module, don't do that...
I will remove them and try again tommorow, I will update results here.
Thanks!