Home AMX User Forum NetLinx Studio

DMS ^TXT command

Hello, i am new with AMX
i iam trying to sent some text to a Mio DMS 8 button keypad but i don't undersand the Variables:

Variables:
? variable text address range = 1 - 4000.
? button states range = 1 - 2 (1 = Off state, 2 = On state).

SEND_COMMAND Keypad,"'^TXT-500.504&510.515,1&2,Test Only'"
so what mains the 500.504&510.515,1&2

I want to change the text that is on the 7st button how can i do that.

thanks
germt

Comments

  • mpullinmpullin Posts: 949
    Germt wrote: »
    Hello, i am new with AMX
    i iam trying to sent some text to a Mio DMS 8 button keypad but i don't undersand the Variables:

    Variables:
    ? variable text address range = 1 - 4000.
    ? button states range = 1 - 2 (1 = Off state, 2 = On state).

    SEND_COMMAND Keypad,"'^TXT-500.504&510.515,1&2,Test Only'"
    so what mains the 500.504&510.515,1&2

    I want to change the text that is on the 7st button how can i do that.

    thanks
    germt
    '^TXT-7,0,Test' -> sends Test to button address 7. 0 can be used as a shortcut for all states (instead of 1&2).
    '^TXT-7&8&9,0,Test' -> sends Test to buttons addressed 7, 8, and 9.
    '^TXT-7.9,0,Test' -> sends Test to buttons addressed 7 through 9 (i.e. 7, 8, and 9).
    '^TXT-7.9&11.15,0,Test' -> sends Test to buttons addressed 7 through 9 and also 11 through 15.
Sign In or Register to comment.