page flag question
udi
Posts: 107
I want to do some commands when I am in a specific page on the TP4.
For emample:
If (page_flag)
{
Do somthing
}
How can I do a flag to a page?
Thanks for any help.
For emample:
If (page_flag)
{
Do somthing
}
How can I do a flag to a page?
Thanks for any help.
0
Comments
You can track the pages, or like I do manage the pages from code instead of on the panel. That way you know when you're changing the page and you can do it that way.
you can also ask the panel which page it is on. Command is something like 'PAGE?', but you can find that in the help file.
SEND_COMMAND dvTP,’TPAGEOFF’ //turns page tracking off
However, and this is a big one, page tracking does NOT track page flips from code, only those that happen in the panel itself. So when you flip a page in code, you have to update your tracking there as well.
thanks I did what you said and it works great. By the way it does tracking me flips from the code
I vaguely remember someone else telling me that last time I asserted it, now that you do again. Perhaps it's firmware dependent ... I just know I once had that issue, and have just assumed it's still extant and allow for it whether I need to or not .