
NetLinx Programming
101
TPI-PRO/DVI (Total Presentation Interface)
"^" Button Commands
These Button Commands are not case sensitive.
All commands that begin with "^" have the capability of assigning a variable text address range and button
state range.
Variable text ranges allow you to target one or more variable text channels in a single command.
Button State ranges allow you to target one or more states of a variable text button state with a
single command.
The "." character is used for 'through' notation, and the "&" character is used for 'And' notation.
Button Commands With Embedded Codes (Cont.)
Embedded Codes (Cont.):
'%ML<max length>' Set max length of a text area.
Note: This is only for text area input buttons & not for text
area Input Mask buttons.
'%MK<input mask>' Set input mask of a text area.
'%VL<0-1>' Logon/logoff computer control.
'%VN<network name>' Set the network connection name.
'%VP<password>' Set the Network connection password.
Example:
SEND_COMMAND D:P:S,"'^BMF-500,1,%B10,%CF Red,%CB Blue,%CT
Black,%Ptest.png'"
Set button OFF state Border, Fill Color, Border Color, Text Color and Bitmap.
A device must first be defined in the NetLinx programming language with values for
the Device: Port: System (in all programming examples - Panel is used in place of
these values and represents all compatible G4 devices).
"^" Button Commands
^ANI
Run a button
animation (in 1/10
second).
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 address 500 from state 1 to state 25 for 10 second.
Comentarios a estos manuales