AMX Wireless Touch Panels (Wave Server) User Manual

Page 150

Advertising
background image

140 AXCESS

Programming

ViewPoint Wireless Touch Panels

System Send_Commands (Cont.)

Command Description


CREATE_BUFFER TP2,TP2_BUFFER

SEND_COMMAND TP1,'TPAGEON'

SEND_COMMAND TP2,'TPAGEON'

DEFINE_PROGRAM

IF(LENGTH_STRING(TP1_BUFFER))

{

IF(FIND_STRING(TP1_BUFFER,'PAGE-',1))
{
TRASH=REMOVE_STRING(TP1_BUFFER,'PAGE-',1)

SEND_COMMAND TP2,"'PAGE-', TP1_BUFFER"

CLEAR_BUFFER TP1_BUFFER

}

}

IF((FIND_STRING(TP1_BUFFER,'PPON-',1)

OR(FIND_STRING(TP1_BUFFER',(PPOF-',1)))
{
SEND_COMMAND TP2,TP1_BUFFER

CLEAR_BUFFER TP1_BUFFER

}

}

IF (LENGTH_STRING(TP2_BUFFER))

{

}
}

IF (LENGTH_STRING(TP2_BUFFER))

{

IF(FIND_STRING(TP2_BUFFER,'PAGE-',1))

{

TRASH=REMOVE_STRING(TP2_BUFFER,'PAGE-',1)

SEND_COMMAND TP1,"'PAGE-', TP2_BUFFER"

CLEAR_BUFFER TP2_BUFFER

}
}

In this program, the command string is sent to the Central
Controller in the 'PAGE-(page name)' format. The string can be
captured with the

CREATE_BUFFER command for one panel

and sent to another panel.

Advertising