NetLinx Programming
158
TPI-PRO/DVI (Total Presentation Interface)
TakeNote Query Commands (Cont.)
?TNA-PENCOLOR
Queries the current pen color on
a remote TakeNote client.
Returns a value in the format of #AARRGGBB. This command should be
sent to the remote TakeNote client DPS and NOT the TakeNote server (PC
App and/or TPI/PRO).
Syntax:
SEND_COMMAND <DEV>,"'?TNA-PENCOLOR'"
Example Response 1:
"Custom Event: ID: 1, Type: 1500, Flag 4, Value1: 0xbe
Text: PenColor"
Example Response 2:
"Custom Event: ID: 1, Type: 1500, Flag 4, Value1: 0xFF00
Text: PenColor"
?TNA-PENOPACITY
Queries the current opacity of
the pen
Syntax:
SEND_COMMAND <DEV>,"'?TNA-PENOPACITY'"
Example Response:
"Custom Event: ID: 1, Type: 1500, Flag 5, Value1: 75
Text: PenOpacity"
?TNA-PENSTYLE
Queries the current pen style
Syntax:
SEND_COMMAND <DEV>,"'?TNA-PENSTYLE'"
Example Response:
"Custom Event: ID: 1, Type: 1500, Flag 1, Value1: <0-2>
Text: <solid(0), dotted(1), dashed(2)>"
?TNA-PENWIDTH
Queries the current pen width
Syntax:
SEND_COMMAND <DEV>,"'?TNA-PENWIDTH'"
Example response:
"Custom Event: ID: 1, Type: 1500, Flag 3, Value1: <1-50>
Text: PenWidth"
?TNA-SESSION
Queries the name of the current
session
Syntax:
SEND_COMMAND <DEV>,"'?TNA-SESSION'"
?TNA-TEXTSIZE
Queries the current text size
Syntax:
SEND_COMMAND <DEV>,"'?TNA-TEXTSIZE'"
Example response:
"Custom Event: ID: 1, Type: 1500, Flag 8, Value1: 50
Text: TextSize"
?TNA-TOOLTYPE
Queries the current tool type
Syntax:
SEND_COMMAND <DEV>,"'?TNA-TOOLTYPE'"
Example response:
"Custom Event: ID: 1, Type: 1500, Flag 6, Value1: 8
Text: Polygon"
?TNB-CANVASCOLOR
Queries the current canvas
color
Syntax:
SEND_COMMAND <DEV>,"'?TNB-<addr>,CANVASCOLOR'"
Example:
SEND_COMMAND Panel,"'?TNB-5,CANVASCOLOR'"
Example Response:
"Custom Event: ID: 1, Type: 1500, Flag 2, Value1: <0-2>
Text: <screen, white, black>"
Содержание TPI-PRO-4
Страница 14: ...xii TPI PRO Total Presentation Interface Table of Contents ...
Страница 76: ...TPI PRO DVI Configuration Pages 70 TPI PRO DVI Total Presentation Interface ...
Страница 172: ...Terminal Telnet Commands 166 TPI PRO DVI Total Presentation Interface ...
Страница 180: ...Upgrading Firmware 174 TPI PRO DVI Total Presentation Interface ...
Страница 208: ...Supported Input and Output Modes 202 TPI PRO DVI Total Presentation Interface ...
Страница 214: ...Appendix 208 TPI PRO DVI Total Presentation Interface ...
Страница 217: ...Troubleshooting 203 TPI PRO Total Presentation Interface ...