Override standby timeout on Spectrum touch screen

Discussion in 'Pascal Logic Code Examples' started by jasonson, Aug 18, 2017.

  1. jasonson

    jasonson

    Joined:
    Feb 17, 2014
    Messages:
    34
    Likes Received:
    6
    Location:
    Brisbane
    Is there a way to force a page on the spectrum from logic that doesn't allow the unit to goto the standby page or timeout.

    My reason is, when I arm the security system I wanted to display a page that matches the page on LCD security keypad for UI continuity.

    Also when the place is in exit delay I want the countdown timer displayed, but after 30 seconds, the screen returns to the homepage and I cannot access the countdown page directly.
     
    jasonson, Aug 18, 2017
    #1
  2. jasonson

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,420
    Likes Received:
    62
    Location:
    Adelaide
    I'm not sure if the "ShowPage" logic function resets the timeout for the timeout page, but you might be able to do something like

    Code:
    if ShowingPage("keypad") then 
     begin
       ShowPage("keypad");
       Delay(1);
      end
    Nick
     
    NickD, Aug 18, 2017
    #2
  3. jasonson

    Ashley

    Joined:
    Dec 1, 2005
    Messages:
    1,524
    Likes Received:
    173
    Location:
    Adelaide, Australia
    You can set a separate time-out for each page under project properties to override the default.
     
    Ashley, Aug 18, 2017
    #3
  4. jasonson

    NickD Moderator

    Joined:
    Nov 1, 2004
    Messages:
    1,420
    Likes Received:
    62
    Location:
    Adelaide
    Lol... even better! Shows how long since I've touched my touchscreen projects :)

    Nick
     
    NickD, Aug 18, 2017
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.