Touch panel command ^ANI
Spire_Jeff
Posts: 1,917
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
"'^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
0
Comments
Jeff
I shall try this out tomorrow and verify.
Jeff