Home AMX User Forum NetLinx Studio

Timing problems upon TP get online

adysadys 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.

Comments

  • viningvining Posts: 4,368
    From where are you calling the Do_Push? In Define_Start or the TPs Online_Event?
  • ericmedleyericmedley Posts: 4,177
    The MAX pages have a notorious habit of popping up at odd times. I find that you have to puta delay or start a timeline that waits as much as 60 seconds to allow the MAX pages to get done doing whatever it is they do. Otherwise you'll be stuck on that white screen all the time.

    I don't like to use thier interface for that reason. I've ranted about it before, so I'll stop now.
  • adysadys Posts: 395
    vining wrote:
    From where are you calling the Do_Push? In Define_Start or the TPs Online_Event?


    Online event
  • adysadys Posts: 395
    ericmedley wrote:
    The MAX pages have a notorious habit of popping up at odd times. I find that you have to puta delay or start a timeline that waits as much as 60 seconds to allow the MAX pages to get done doing whatever it is they do. Otherwise you'll be stuck on that white screen all the time.

    I don't like to use thier interface for that reason. I've ranted about it before, so I'll stop now.


    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
  • ericmedleyericmedley Posts: 4,177
    adys wrote:
    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
  • adysadys Posts: 395
    Eric, it use to behave like this, but I removed the pages and made them popup pages to sit inside our interface frame.

    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?
  • DHawthorneDHawthorne Posts: 4,584
    I change the names of panel pages so UI modules can't mess with the flips and popups. Naturally, there are some you want to be controlled by the module, but mostly I would rather do it myself. Particularly annoying are modules that send a PPX command, without any concern whatsoever as to what the rest of the program might be doing, or how your panel design operates.
  • adysadys Posts: 395
    Bless you Dave!

    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!
Sign In or Register to comment.