Home AMX User Forum AMX Control Products
Options

Touch panel command ^ANI

Anyone ever use this function?

"'^ANI-<variable text address range>,<start state>,<end state>,<time>'"
Run a button animation. Time is in 1/10 seconds and is optional.
0 for state means current state.

Syntax:
"'^ANI-<vt addr range>,<start state>,<end state>,<time>'"

Variables:
variable text address range = 1 - 4000.
start state = Beginning of button state (0= current state).
end state = End of button state.
time = In 1/10 second intervals.

Example:
SEND_COMMAND Panel,"'^ANI-500,1,25,100'"
Runs a button animation at text range 500 from state 1 to
state 25 for 10 second.


I am wondering what does the button need to be set at. Also, does this work so that if I have a 12 state button and I issue this command to animate from state 1 to state 6, does the button stop at state 6 and remain there until otherwise instructed?

Jeff

Comments

  • Options
    IMHO the button should be a "Multistate General", because the normal General Button has state 0 and 1 only, and a "multistate bargraph" can be set with SEND_LEVEL... but I still not tried ^ANI- before....
  • Options
    Spire_JeffSpire_Jeff Posts: 1,917
    Figured out my problem. Seems there might be an issue with this command on TPI-4 units. I was able to get the ^ANI command to work fine on an MVP-8400. Tech support is currently reviewing the situation.

    Jeff
  • Options
    Spire_JeffSpire_Jeff Posts: 1,917
    Correction, it seems that I (and tech support) overlooked the fact that the ^ANI command is directed at the address code, not the channel. DOH!

    I shall try this out tomorrow and verify.

    Jeff
Sign In or Register to comment.