beautypg.com

Ppog, Ppon, Programming numbers – AMX Modero NXD-CV5 User Manual

Page 100: Rgb triplets and names for basic 88 colors, Ppog ppon

background image

Programming

88

NXD-CV5 5" Modero Wall/Flush Mount Touch Panel

Programming Numbers

The following information provides the programming numbers for colors, fonts, and borders.

Colors can be used to set the colors on buttons, sliders, and pages. The lowest color number represents the
lightest color-specific display; the highest number represents the darkest display. For example, 0 represents
light red, and 5 is dark red.

RGB Triplets and Names For Basic 88 Colors

Page Commands (Cont.)

PPOG

Toggle a specific
popup page on
either a specified
page or the
current page.

If the page name is empty, the current page is used (see example 2). Toggling refers to the
activating/deactivating (On/Off) of a popup page. This command works in the same way
as the ’Toggle Popup’ command in TPDesign4.
Syntax:

"'PPOG-;'"

Variable:

popup page name = 1 - 50 ASCII characters. Name of the popup page.
page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.

Example:

SEND_COMMAND Panel,"'PPOG-Popup1;Main'"

Toggles the popup page ’Popup1’ on the Main page from one state to another (On/Off).
Example 2:

SEND_COMMAND Panel,"'PPOG-Popup1'"

Toggles the popup page ’Popup1’ on the current page from one state to another (On/Off).

PPON

Activate a
specific popup
page to launch on
either a specified
page or the
current page.

If the page name is empty, the current page is used (see example 2). If the popup page is
already On, do not re-draw it. This command works in the same way as the ’Show Popup’
command in TPDesign4.
Syntax:

"'PPON-;'"

Variable:

popup page name = 1 - 50 ASCII characters. Name of the popup page.
page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.

Example:

SEND_COMMAND Panel,"'PPON-Popup1; Main'"

Activates the popup page ’Popup1’ on the Main page.
Example 2:

SEND_COMMAND Panel,"'PPON-Popup1'"

Activates the popup page ’Popup1’ on the current page.

RGB Values for all 88 Basic Colors

Index No. Name

Red

Green

Blue

00

Very Light Red

255

0

0

01

Light Red

223

0

0

02

Red

191

0

0

03

Medium Red

159

0

0

04

Dark Red

127

0

0

05

Very Dark Red

95

0

0

06

Very Light Orange

255

128

0

07

Light Orange

223

112

0

08

Orange

191

96

0

09

Medium Orange

159

80

0

10

Dark Orange

127

64

0

11

Very Dark Orange

95

48

0

12

Very Light Yellow

255

255

0

13

Light Yellow

223

223

0

14

Yellow

191

191

0

15

Medium Yellow

159

159

0