System Send_Commands (cont.)
Command | Description |
|
|
'TPAGEON' | Activate page tracking. |
| Example: |
| SEND_COMMAND TP,'TPAGEON' |
| DEFINE_DEVICE |
| TP1 = 128 (*AMX Touch Panel*) |
| TP2 = 129 (*AMX Touch Panel*) |
| DEFINE_VARIABLE |
| TP1_BUFFER[100] (*Buffer for TP1*) |
| TP2_BUFFER[100] (*Buffer for TP2*) |
| TRASH[50] (*For Parsing Above*) |
| DEFINE_START |
| CREATE_BUFFER TP1,TP1_BUFFER |
| CREATE_BUFFER TP2,TP2_BUFFER |
| SEND_COMMAND TP1,'TPAGEON' |
| SEND_COMMAND TP2,'TPAGEON' |
| DEFINE_PROGRAM |
| IF(LENGTH_STRING(TP1_BUFFER)) |
| { |
| |
| { |
| TRASH=REMOVE_STRING(TP1_BUFFER,'PAGE- |
| ',1) |
| SEND_COMMAND |
| CLEAR_BUFFER TP1_BUFFER |
| } |
| |
| |
| { |
| SEND_COMMANDTP2,TP1_BUFFER |
| CLEAR_BUFFER TP1,BUFFER |
| } |
| } |
| IF (LENGTH_STRING(TP2_BUFFER)) |
| { |
Color | AXCESS Programming | 123 |