TPDesign4 OperationReferenceGuide
TPDesign4 OperationReferenceGuide
TPDesign4
Touch Panel Design Program
(v2.11 or higher)
S of t w ar e
This Agreement replaces and supersedes all previous AMX Software License Agreements and is governed by the laws of the State of Texas, and all disputes will be resolved in the courts in Collin County, Texas, USA. For any questions concerning this Agreement, or to contact AMX for any reason, please write: AMX License and Warranty Department, 3000 Research Drive, Richardson, TX 75082.
Table of Contents
Table of Contents
TPDesign4 (v2.11 or higher) ...............................................................................1
Overview .................................................................................................................. 1 What's New in Version 2.11...................................................................................... 1 Supported Windows Platforms and PC Requirements .............................................. 1
Supported Operating Systems ........................................................................................ 1 Supported Operating System Languages ...................................................................... 1 PC Requirements/Recommendations .............................................................................. 2
True Type Font Support............................................................................................ 6 Supported Image File Types ..................................................................................... 6 Related Software Applications.................................................................................. 6
NetLinx Studio ................................................................................................................ 6 AMX WebUpdate ............................................................................................................ 7 G4 PanelBuilder .............................................................................................................. 7 G4 PanelPreview ............................................................................................................. 7
Table of Contents
Using the Apply To All option ....................................................................................... 18 Using the Prev and Next buttons .................................................................................. 18
Transfer Status Window.......................................................................................... 20 Status Bar ............................................................................................................... 21 Button Preview Window ......................................................................................... 22 Print Preview Window ............................................................................................ 23 Working With Dockable Windows .......................................................................... 23
Moving, Docking and Resizing Dockable Windows ....................................................... 23 Toggling the Windows .................................................................................................. 23
Applying Password Protection to Your Project File ................................................ 40 Setting a Power Up Page........................................................................................ 41 Setting Power Up Popup Pages.............................................................................. 41
ii
Table of Contents
Setting an Inactive Page Flip .................................................................................. 42 Using the Workspace Window ................................................................................ 43
Workspace Window - Pages Tab ................................................................................... 43 Workspace Window- Function Maps Tab ...................................................................... 44 Opening Pages/Popup Pages Via the Workspace Window ........................................... 44
iii
Table of Contents
Exporting Image and Sound Files From Your Project To a Specified Directory ...... 72 Editing Image and Sound Files Using External Programs ....................................... 73
Editing Image Files ........................................................................................................ 73 Editing Sound Files........................................................................................................ 73
Renaming a Page .................................................................................................... 77 Adding a Fill Color to a Page.................................................................................. 77 Adding a Bitmap to a Page..................................................................................... 78 Adding an Icon to a Page ....................................................................................... 79 Adding Text to a Page............................................................................................ 79 Displaying a Video Source on a Page ..................................................................... 81 Copying/Pasting Pages ........................................................................................... 81
Copying Pages .............................................................................................................. 81 Pasting Pages ................................................................................................................ 81
Deleting Pages From a Project ............................................................................... 81 Exporting Pages as Image Files .............................................................................. 82 Printing Pages......................................................................................................... 83
iv
Table of Contents
Drawing Assist Support for Popup Pages ............................................................... 90 Renaming a Popup Page......................................................................................... 90 Adding a Fill Color To a Popup Page...................................................................... 90 Adding a Bitmap to a Popup Page ......................................................................... 91 Adding an Icon to a Popup Page ............................................................................ 91 Adding Text to a Popup Page ................................................................................ 92 Displaying a Video Source on a Popup Page .......................................................... 93 Creating Popup Page Groups ................................................................................. 93 Copying/Pasting Popup Pages................................................................................ 94
Copying Popup Pages ................................................................................................... 94 Pasting Popup Pages..................................................................................................... 94
Deleting Popup Pages From a Project .................................................................... 94 Show/Hide Popup Pages ........................................................................................ 95
Displaying a Video Source on a Button................................................................. 107 Adding Text Effects .............................................................................................. 107 Page Flips ............................................................................................................. 107
Table of Contents
Creating a Page Flip .................................................................................................... 108 Drag & Drop To Set Page Flips ................................................................................... 109 Page Flip Actions......................................................................................................... 109
Setting Default New Button Parameters .............................................................. 126 Using the Drawing Assist Features ....................................................................... 127
Order Assist toolbar .................................................................................................... 127 Position Assist toolbar................................................................................................. 127 Size Assist toolbar ....................................................................................................... 128
Using the Alignment & Sizing dialog .................................................................... 129 Previewing a Button ............................................................................................. 130 Creating a Date Button......................................................................................... 131
vi
Table of Contents
List Box Buttons - Resizing.................................................................................... 153 List Box Buttons - Z-Order .................................................................................... 154
Using the Drawing Toolbar With List Box Buttons ...................................................... 154
vii
Table of Contents
viii
Table of Contents
Description.................................................................................................................. 180 Disabled ...................................................................................................................... 180 Display Type................................................................................................................ 180 Group .......................................................................................................................... 180 Height ......................................................................................................................... 181 Hidden ........................................................................................................................ 181 Hide Effect .................................................................................................................. 181 Hide Effect Time ......................................................................................................... 181 Hide Effect X/Y Pos..................................................................................................... 181 Input Mask .................................................................................................................. 181 Left.............................................................................................................................. 182 List Column ................................................................................................................. 182 List Column Padding ................................................................................................... 182 List Display .................................................................................................................. 182 List Table Port ............................................................................................................. 182 List Table Address....................................................................................................... 183 List Table Wrap ........................................................................................................... 183 List Filter Column ........................................................................................................ 183 List Managed............................................................................................................... 183 List Offset Enabled...................................................................................................... 183 List Preferred Row ...................................................................................................... 184 List Preferred Row Height........................................................................................... 184 List Row....................................................................................................................... 184 List Row Height ........................................................................................................... 184 List Row Padding......................................................................................................... 184 List Selectable ............................................................................................................. 184 Lock Button Name....................................................................................................... 185 Max Text Length ......................................................................................................... 185 Modal .......................................................................................................................... 185 Name........................................................................................................................... 185 Page Flip ..................................................................................................................... 185 Password ..................................................................................................................... 185 Password Character .................................................................................................... 185 Password Protection ................................................................................................... 185 Remote Host ............................................................................................................... 185 Remote Port................................................................................................................ 185 Reset Pos. On Show .................................................................................................... 186 Scale To Fit.................................................................................................................. 186 Show Effect ................................................................................................................. 186 Show Effect Time ........................................................................................................ 186
ix
Table of Contents
Show Effect X/Y Pos.................................................................................................... 186 Slider Color ................................................................................................................. 186 Slider Name................................................................................................................. 186 State Count ................................................................................................................. 186 TakeNote Enabled....................................................................................................... 187 TakeNote Host ............................................................................................................ 187 TakeNote Port............................................................................................................. 187 Timeout ....................................................................................................................... 187 Top .............................................................................................................................. 187 Touch Map................................................................................................................... 187 Touch Style.................................................................................................................. 187 Type ............................................................................................................................ 188 Value Direction............................................................................................................ 188 Width........................................................................................................................... 188
Table of Contents
Bitmap Justification..................................................................................................... 192 Bitmap X Offset .......................................................................................................... 192 Bitmap Y Offset........................................................................................................... 192 Border Color ............................................................................................................... 192 Border Name............................................................................................................... 192 Chameleon Image ....................................................................................................... 192 Draw Order ................................................................................................................. 193 Fill Color...................................................................................................................... 193 Font............................................................................................................................. 193 Icon Justification ......................................................................................................... 193 Icon Slot ...................................................................................................................... 193 Icon X Offset ............................................................................................................... 193 Icon Y Offset ............................................................................................................... 193 Marquee Direction ...................................................................................................... 194 Marquee Repeat ......................................................................................................... 194 Overall Opacity ........................................................................................................... 194 Scale Bitmap To Fit ..................................................................................................... 194 Sound .......................................................................................................................... 195 Streaming Source ........................................................................................................ 195 Text ............................................................................................................................. 195 Text Color ................................................................................................................... 195 Text Effect................................................................................................................... 195 Text Effect Color ......................................................................................................... 195 Text Justification ......................................................................................................... 195 Text X Offset............................................................................................................... 195 Text Y Offset............................................................................................................... 196 Video Cropping........................................................................................................... 196 Video Fill ..................................................................................................................... 196 Video Touch Pass-Thru ................................................................................................ 196 Word Wrap.................................................................................................................. 196
Using the All States Option .................................................................................. 196 Searching For Button Properties .......................................................................... 197 Searching and Replacing Button Properties ......................................................... 198
xi
Table of Contents
Setting the Maximum Active State For a Button .................................................. 204 Removing States From A Button........................................................................... 204
Deleting States............................................................................................................ 204 Cutting States To the Clipboard.................................................................................. 205
Using Custom Palettes to Enable Color Schemes in G4 PanelBuilder ................... 218 Using the Microsoft Paint Utility Program.......................................................... 218
xii
Table of Contents
xiii
Table of Contents
Panel File Transfers via Serial Port .............................................................................. 239 Panel File Transfers via Modem................................................................................... 240 Transfer Options ......................................................................................................... 241
Transferring Files Using a Virtual NetLinx Master TCP/IP Connection .................. 242
Sending Files To the Panel .......................................................................................... 242 Receiving Files From The Panel ................................................................................... 243
Transferring Files Using a Virtual NetLinx Master USB Connection ...................... 244
Sending Files To the Panel .......................................................................................... 244 Receiving Files From The Panel ................................................................................... 244
Exporting Your Project as a G4 PanelBuilder Template........................................ 252 G4 PanelBuilder Templates - Required Template Elements.................................. 254
Navigation Elements ................................................................................................... 254 Placeholder Elements .................................................................................................. 255
xiv
Table of Contents
Rules for Navigating a G4 PanelBuilder Template ................................................ 259 G4 PanelBuilder Templates - Template Wide Conventions................................... 260 G4 PanelBuilder Templates - AMX Naming Conventions...................................... 261 Exporting Your Project as a VisualArchitect Template.......................................... 262
VA Templates - Navigations as Pages ......................................................................... 262 VA Templates - Logical Page Scroll Bar Elements ....................................................... 262 VA Templates - Logical Page Info Element.................................................................. 263 VA Templates - Logical Page Up and Down Elements ................................................ 263 VA Templates - List Box Page Up and Down Elements ............................................... 263
Preferences Dialog - Editor Selection tab ............................................................. 270 Preferences Dialog - Undo/Redo tab .................................................................... 271
Undo / Redo Support .................................................................................................. 271
Adding an External Editing Program for Image Files............................................ 272 Adding an External Editing Program for Sound Files ........................................... 272 Changing the Default External Image or Sound Editor Program .......................... 273 Customizing the Menus and Toolbars................................................................... 274 Customizing the Toolbars ..................................................................................... 274
Adding Buttons To Existing Toolbars.......................................................................... 274 Removing Buttons From Existing Toolbars ................................................................. 275 Associating an Icon With a New Command................................................................. 275 Creating a New Custom Toolbar ................................................................................. 276 Renaming Custom Toolbars ........................................................................................ 276 Deleting Custom Toolbars........................................................................................... 277
xv
Table of Contents
Adding a Shortcut To an Application In the Tools Menu ...................................... 279 Hotkeys (Keyboard Accelerators) ......................................................................... 280
Setting Custom Hotkeys.............................................................................................. 280
xvi
PC Requirements/Recommendations
Pentium III 750MHZ processor (minimum requirement); 1.5GHz or faster recommended. 700 MB of free disk space (minimum requirement) 512 MB of RAM (minimum - SQL Server 2005 Express Edition requires 512MB) Minimum (VGA) screen resolution of 800x600. Windows-compatible mouse (or other pointing device). If the mouse wheel on your Microsoft IntelliMouse doesn't work with VA, try downloading the latest IntelliMouse drivers from Microsoft.
NXD/NXT-1200VG 12" Modero VG Series Wall/Flush Mount & Table Top Touch Panels with RGB
NXD/NXT-1500VG 15" Modero VG Series Wall/Flush Mount & Table Top Touch Panels NXD/NXT-CV17 17" Flush Mount & Table Top Color Video Touch Panels
NXD/NXT-1700VG 17" Modero VG Series Wall/Flush Mount & Table Top Touch Panels NXP-PLV NXP-TPI/4 TPI-PRO TPI-PRO-DVI R-4 Modero PosiTrack Pilot Camera Controller NetLinx Touch Panel Interface Total Presentation Interface, 2/4 Source Input Total Presentation Interface with DVI, 2/4 Source Input Mio R-4 Remote
The prefix " NXT" indicates the table-top (tilt) model, and "NXD" represents the wallmount version.
TPD4 provides scrolling if a Design View is larger than the available visible work area.
NetLinx Studio
NetLinx Studio is a full featured Integrated Development Environment (IDE) for NetLinx and Axcess Control Systems. NetLinx Studio is available for free download from www.amx.com. Refer to the NetLinx Studio online help and Instruction Manual for instructions.
AMX WebUpdate
The AMX WebUpdate program is a stand-alone application that communicates with the AMX website, allows a user to select from a list of available AMX Software programs to choose for updating, determines the latest version of the selected applications, returns a listing of available updates, allows a user to download the selected installation files, and upon request, launches the installation of those downloads. Note: The WebUpdate application is not installed by TPD4, and must be installed separately. If not found, TPD4 will prompt you to download the application from www.amx.com. Select Help > Web Update to launch this application. Refer to the WebUpdate on-line help for details and instructions.
G4 PanelBuilder
G4 PanelBuilder is a stand-alone application (installed separately) from AMX that allows you to quickly create TPD4 projects for G4 touchpanels, using either pre-fabricated templates from AMX, or user-designed templates. The G4 PanelBuilder application is designed to do the bulk of the basic layout and navigational design of a touch panel design. TPD4 is required to complete the project by specifying channel mapping information, and to generally fine-tune the project as needed. Although G4 PanelBuilder is installed separately, it is fully integrated with TPD4. For example, the File > New From G4 PanelBuilder option (available only if G4 PanelBuilder is installed) launches the G4 PanelBuilder application to allow you to create a new TPD4 project. Use the set of options in the File menu to access the key functions of the G4 PanelBuilder application: Click File > New From G4 Panel Builder to create a new TP4 panel project using G4 PanelBuilder. Click File > Import Touch Panel Template to import an existing PanelBuilder (*.TPT) or Visual Architect template file (*.VAT) into TPD4 as a starting point for your panel design. Click File > Export G4 PanelBuilder Template to export the active TP4 project as a PanelBuilder Template file (*.TPT). For details on using G4 PanelBuilder to generate G4 PanelBuilder project files (*.PB4), refer to the G4 PanelBuilder online help.
G4 PanelPreview
G4 PanelPreview is a stand-alone application (installed separately) from AMX that allows you to preview TPD4 projects for G4 touchpanels. To preview your panel project, select Panel > Send To G4 PanelPreview (or click the toolbar button) to launch the G4 PanelPreview application, where you can preview the project and simulate push and release of buttons, (including multi-state and bar graph buttons) via the mouse and keyboard on your PC. The G4 PanelPreview application is available from www.amx.com, and must be installed in order to activate this menu option. Refer to the G4 PanelPreview online help file for details.
Workspace Window
Properties Window
In its default configuration, from top to bottom, left to right, the main components are: Title Bar - Lists the name of the active Project file. Menu Bar - Contains the main menu options (File, Edit, Panel, Page, Button, States, Layout, Transfer, View, Tools, Window, and Help). Toolbars - You can choose which toolbars to show in the workspace via the View > Toolbars submenu. Click View, then click in the checkboxes to select/de-select the listed toolbars (including custom toolbars). If a toolbar has a check next to it in the sub-menu, then it is displayed. These settings are saved, so they'll apply the next time the application is launched. Design View Windows - Each tabbed Design View Window represents a Touch Panel page or popup page. Note that a MDI tab is displayed for each opened page. Use the View > MDI Page Tabs option to toggle the page tabs. When this option is enabled, a tab is displayed for each open page. These tabs normally appear along the bottom edge of the Design View window area, but can be moved, toggled or modified via the MDI tabs context menu (right-click inside any of the tabs to open). Workspace Window - Contains two tabs: The Pages tab contains a tree structure representing all open projects, and their pages and popup pages. Use the Pages tabs to open/edit the pages / popup pages in each project. The Function Maps tab allows you to view/edit the function codes associated with each page.
Properties Window - Contains three tabs: the General tab allows you to view/edit general (non-state oriented) button properties, the Programming tab allows you view/edit programming-oriented properties, and the States tab allows you to view/edit button state information. State Manager Window - Displays each state of the selected button as a thumbnail image in this window. The State Manager window allows you to view/edit the various states of a selected button. Status Bar - By default, the Status Bar shows the current XY cursor position, and (for the button the mouse is over): Channel code, Address code, Level code, button size, panel revision, Feedback and Initial page file target information. The status bar also indicates the status of your connection to the NetLinx Master.
The page tabs normally appear along the bottom edge of the Design View window area, but can be moved, toggled or modified via the MDI tabs context menu (right-click inside any of the tabs to open). Since Design View windows represent the pages on the panel themselves, Design Views that represent pages are not resizable. Use the Zoom and Magnifier Window features to control the size of the view. Popup pages are resizable through the Properties Window by adjusting their Left, Top, Width or Height properties. Alternatively, you can set their size and dimensions manually by first enabling the Show Popup Page option in the Page menu. Once the Popup is displayed on the page, you can click and drag to resize and position it manually. Select the Toggle Information Overlay toolbar button (in the View toolbar) to display function codes associated with each button (FIG. 3).
Use the View > MDI Page Tabs option to toggle the page tabs. When this option is enabled, a tab is displayed for each open page. The page tabs normally appear along the bottom edge of the Design View window area, but can be moved, toggled or modified via the MDI tabs context menu (rightclick inside any of the tabs).
10
TPD4 will display up to a maximum of 15 page tabs. If you open more than 15 pages, only the most recently opened 15 pages will remain open (the others will be automatically closed). No data will be lost, only the view is closed. Right mouse click anywhere within a Design View window to open the Design View context menu. This context menu contains shortcuts to many key design tools. Select Display from the Design View context menu to access the Display sub-menu, containing options that allow you to select which state of a selected button to display in the Design View. Select Layout from the Design View context menu to access the Layout sub-menu, containing options for layout/design control (send to front/back, align, center, etc). This menu is identical to the Layout menu, accessible from the main menu bar. Right mouse click anywhere within a Design View window to open the Design View context menu. This context menu contains shortcuts to many key design tools.
Right-click inside any of the page tabs to access the MDI Page tabs context menu.
The following Zoom Controls are available via the Zoom toolbar: Full Page: Automatically adjusts the zoom to show the entire page at 100% size. Fit Page: Automatically adjusts the zoom to fit inside the Design View window. Actual Size: Automatically adjusts the zoom to represent how large a page will appear when actually displayed on the target panel type. To use this option, you must first specify the monitors visible size (in the Monitor Size field of the Appearance tab of the Preferences dialog). The monitor size should represent the diagonal measurement of the visible portion of the monitor or of the space occupied by a full-screen image, as opposed to the monitors overall diagonal size. For example, most 21 monitors typically have between a 19.5 and 20 viewable area. Zoom Out/In: With a page or popup page selected, click the Zoom Out and Zoom In toolbar buttons to adjust the display size of the selected object, by the increments listed in the Zoom Control drop-down.
11
Zoom Control Drop-down: Click the down-arrow to open the Zoom control options list. Use this list to manually set the zoom to by incremental percentages (25%, 50%, 75%, 100%, 150%, 200% or 400%), or by Fit Page, For Width or Fit Height. Additional Zoom options are available via the Window > Zoom submenu: Fit Width: Automatically adjusts the zoom to accommodate the width of the selected object inside the Design View window. Fit Height: Automatically adjusts the zoom to accommodate the height of the selected object inside the Design View window. Custom: Opens the Custom Window Zoom dialog, where you can specify any zoom percentage within the range of 25 - 400% (in 1-percent increments).
Magnifier Window
The Magnifier window allows you to magnify a given area of a design view for temporary viewing in a separate floating window, without zooming the entire design view. Select View > Magnifier Window (or click the toolbar button) to access the Magnifier Window.
Right-click inside the Magnifier window to access the Magnify Control context menu, where you can select a zoom factor from 2 to 8 times actual size. This floating window is resizable and dockable.
Workspace Window
The Workspace Window is used to open the pages / popup pages in the file (establishing edit focus), and to view/edit the function codes associated with each page. The Workspace Window contains two tabs: Pages and Function Maps (FIG. 6):
12
Note that each Project folder contains two folders: Pages and Popup Pages. Click the + symbol next to the folders, or double-click on the folders to view the pages and popup pages they contain. In the Pages tab of the Workspace Navigator you will see that there are two panel level folders, one for Pages and one for Popup Pages. Inside the Popup Page folder you may also see additional folders. These folders represent Popup Page Groups, and the presence of a Popup Page in one of these folders indicates that the particular Popup Page belongs to that group. Popup Pages can belong to only one group at a time, and of course they can live outside of any group at the same level as the group folders (see Popup Pages for additional information). Right-click anywhere within the Pages tab to access the Workspace Navigator context menu.
13
Properties Window
The Properties Window is typically located on the right side of the screen (although you may move it anywhere you like) and is used to view/edit page, popup page and button properties, and to view/edit the states information associated with each element in your project. Select View > Properties (or click the toolbar button) to display the Properties window. Note that the title bar of the Properties Control window indicates which element of the workspace is currently selected. If one or more buttons are selected in the Workspace, the title bar of the Properties Control window indicates the number of buttons selected. Also note that the button name and type are displayed in the text box above the tabs (in the example below, the selected button is named "pause", and the button type is general. Click the down arrow next to this field to view a list of all buttons on the active page. Selecting a button from this list is the same as selecting it in a Design View window: the edit focus shifts to the selected button, and the Properties window reflects the properties of the newly selected button. The Properties Window contains three tabs: General, Programming and States:
14
To edit any of the listed button properties, click on an item in the right column to activate that field for editing. Depending on the item selected, you can either set the item manually, select from a drop-down menu, or both. Properties from the Properties window can be dragged and dropped onto the Design View (to Buttons on the main Page, or the Page itself). The selected property or state is automatically applied to all states of the drop target (whether a button or the page itself). General and State properties can also be copied and pasted to a Design View using standard copy/paste menu and keyboard mechanisms. Another feature of the Properties window (all tabs) is that you can click on any value in the right column, and drag it to another field. When you release the mouse button, the value is copied to the new location. With an item selected, the cursor will change to indicate any fields that cannot accept the selected value, and if the selected value is out of the acceptable range for a target field, TPD4 alerts you with an error dialog, and the original value is left unchanged.
15
To edit any of the listed button properties, click on an item in the right-hand column to activate the field. Depending on the item selected, you can either set the item manually, select from a drop-down menu, or both. Properties from the Properties window can be dragged and dropped onto the Design View (to Buttons on the main Page, or the Page itself). The selected property or state is automatically applied to all states of the drop target (whether a button or the page itself). General and State properties can also be copied and pasted to a Design View using standard copy/paste menu and keyboard mechanisms. Another feature of the Properties window (all tabs) is that you can click on any value in the right column, and drag it to another field. When you release the mouse button, the value is copied to the new location. With an item selected, the cursor will change to indicate any fields that cannot accept the selected value, and if the selected value is out of the acceptable range for a target field, TPD4 alerts you with an error dialog, and the original value is left unchanged.
16
To edit any of the listed button properties, click on an item in the right-hand column to activate the field. Depending on the item selected, you can either set the item manually, select from a drop-down menu, or both. Properties from the Properties window can be dragged and dropped onto the Design View (to Buttons on the main Page, or the Page itself). The selected property or state is automatically applied to all states of the drop target (whether a button or the page itself). General and State properties can also be copied and pasted to a Design View using standard copy/paste menu and keyboard mechanisms. Another feature of the Properties window (all tabs) is that you can click on any value in the right column, and drag it to another field. When you release the mouse button, the value is copied to the new location. With an item selected, the cursor will change to indicate any fields that cannot accept the selected value, and if the selected value is out of the acceptable range for a target field, TPD4 alerts you with an error dialog, and the original value is left unchanged. All position (X-Y) values in TPD4 are zero-based (measured in pixels), meaning that the upper-left corner of each page is represented by the X-Y value of 0, 0.
17
If the Apply To All button is not depressed, and you select more than one button to act on, the Prev or Next buttons will activate on the Properties Control window. Also note that while you have multiple buttons selected, only one of them has the edit focus at any given time. Use the Prev and Next buttons to cycle through the selected buttons to view each button's properties in the Properties Control window. The button represented in the Properties Control window is the one with edit focus. All modifications are always on the button with the edit focus. If the Apply To All button is depressed and you select more than one button to act on, the Prev or Next buttons are unavailable and every selected button has the edit focus. You may also notice that one or more (if not all) of the property values in the grid are blank. The only values that will display in the grid while the Apply To All button is depressed are those values that are common among all selected items. Typing in or changing a value in any property box will immediately affect all selected buttons, provided that the change can be applied to them all. In the event that a value is appropriate for one (or more) buttons but inappropriate for others, you will see a message that states that the value was only applied to those buttons for which it was valid. This Apply To All button works on multiple button selections, but not on multiple states for a single button. To make state-oriented changes across multiple states, select the states that you want to edit and they will appear listed in the States tab of the Properties Control window. To make changes that affect all states on a button at once, use the All States option in the States tab (located directly above the other listed states for the selected button).
18
The State Manager interacts with the Properties Control window to allow the visual aspects of a page, popup page or button to be set. Select a Page, Popup page or button to view the state or states associated with it. Double-click on any thumbnail in the State Manager window to view/edit the properties for the selected state, in the Properties Control window (States tab). The State Manager window allows the viewing and modification of individual states, and supports full Cut, Copy, Delete, Insert, Replace and Paste as well as drag and drop capabilities. Right mouse click on any thumbnail to open the State Manager context menu, which includes options to Add single or multiple states, Replace states, Insert single or multiple states and Remove states. For Multi-General buttons, the different states (up to 256) are used to animate a button from Off to On (Range Time Up in the States tab), and back again to Off (Range Time Down in the States tab). When the button is turned on it will display all the assigned states from first to last with a specified time interval between each state's display. When the button is turned back off, the states will be displayed in reverse order. The interstate time intervals are user definable in 1/10th second increments. A zero entry will automatically advance / retreat to the ending / beginning state without displaying any intervening states. For Multi-Bargraph buttons, the level will directly reflect the displayed state. The user will be able to set an allowable range within a bargraph that has states. Anything outside of that range will not be represented by a state. For buttons with multiple states, Send Commands can set the state number provided it is not a level type button. Note that because the thumbnails displayed in the State Manager window are scaled versions of the button images, some visual distortion may occur. This is only a result of the scaling, and does not represent distortion on the button itself. Right mouse click on any thumbnail in the State Manager window to open the State Manager context menu, which includes options to add single or multiple states, replace states, insert single or multiple states, and remove states. Use Ctrl+click to select multiple individual button states. Use Shift+click to select a range of states (between two selections). Use Ctrl+A to select all button states.
19
This window displays the following data for each transfer: Status - The status bars indicate the progress of each file in the transfer, and the overall status of the transfer. Device - This column gives the Device # and a description of the target/source device. Project - This column indicates the name of the Project to which the files belong. Right mouse click anywhere in the Transfer Status Window to open the Transfer Status context menu, containing options for establishing a connection to the NetLinx Master and panels, and for transferring TP4 files to the panels. Note that this context menu is identical to the Transfer Menu, accessible through the main menu bar:
20
Status Bar
There are two views available for the status bar (located along the bottom edge of the application window). The default view, and the secondary view which is available via a double-click anywhere inside the status bar. All position (X-Y) values in TPD4 are zero-based (measured in pixels), meaning that the upper-left corner of each page is represented by the X-Y value of 0, 0. In the default view, it shows the current Cursor position, and (for the button the mouse is over): Location, Size, and Feedback (FIG. 15):
Cursor: Displays the current X-Y cursor position. Loc: Displays the X-Y location of the button that the cursor is over (relative to the upper-left corner of the button). Size: Displays the size of the button that the cursor is over. FbBk: Displays the type of feedback associated with the button that the cursor is over. Double-click anywhere on the status bar to view this secondary position. In the secondary view, it shows the current Cursor position, and (for the button the mouse is over): Channel code, Address code and Level code (FIG. 16):
Cursor: Displays the current X-Y cursor position. Ch: Displays the Channel code (port number:channel code) associated with the button that the cursor is over. Add: Displays the Address code (port number:address code) associated with the button that the cursor is over. Lvl: Displays the Level code (port number:level code) associated with the button that the cursor is over. The Status Bar also indicates connection status as follows (FIG. 17):
not connected connected to an unsecured master connected to a secured but unencrypted master connected to a secured and encrypted master FIG. 17 Status Bar - connection status
21
The Button Preview window displays a preview of the selected button. Initially the button is shown in its Off state. Click on the button in the Button Preview window to "push" the button in an identical fashion to utilizing the Push command button.
This window includes three command buttons: Click the Disable button to disable the button preview, but not close the Button Preview window. Click again to enable the preview. Click to Mute any sounds associated with this button. Click the Push button to simulate a push on the selected button. This allows you to visually preview the On/Off states (and all states in between, for multi-state buttons). Right-click inside the preview area of the Button Preview window to access the Button Preview context menu. Like the other windows in TPD4, the Button Preview window is fully dockable, but initially it opens undocked. Double-click inside the title bar to dock the window.
22
23
24
1. The first dialog to appear (New Project Wizard - Step 1) contains fields to allow you set up the basics of
your new project. Fill out this information and click Next to proceed. Job Name: Enter a name for the new project. Panel Type: Click the down-arrow to view a list of supported panel types. Resolution: Click the down-arrow to select the target resolution for the project. Use System Generated File Name: Click this checkbox to use a System Generated File Name for this project. Click Finish to close the wizard. If you close the wizard after step 1, you will have created a project with a single page. Every project created will have at least one page. You can add pages manually via the Panel > Add Page command.
2. The next dialog in the wizard (New Project Wizard - Step 2) contains fields for System-Generated File
Names. If the Use System Generated File Names option (in the Step 1 dialog) is not selected, this dialog is skipped since the information entered here would not apply. Fill out this information and click Next to proceed. If you choose not to populate one or more of these fields, they will not be included in the System Generated File Name. Designer: Enter the name of the project designer in this field. DealerID: Enter the Dealer ID in this field. SalesOrder: Enter the Sales Order number in this field. PurchaseOrder: Enter the Purchase Order number in this field. FileRevision: Enter the Revision in this field. JobComments: Enter any project-related comments in this field.
3. The last dialog in the wizard (New Project Wizard - Final Step) contains fields for setting up the initial
touch panel page in the project. Fill out this information and click Finish to exit the New Project Wizard. Name: Enter a name for the page. Colors (Page background and Text): Click the browse button (...) to open the Colors dialog, where you can select the colors for the Page Background and Page Text. Font: Click the down arrow to select the Page Font, from a list of all available fonts on your PC. FontSize: Click the down arrow to select the Page Font size. When you finish the New Project Wizard, note that the new project appears in the Workspace Navigator window (Pages tab). The initial page is listed under the Pages folder, and has the edit focus. You can change the target panel type for any existing panel file via the File > Save as Different Panel Type option.
25
1. New Project Wizard - Step One dialog 2. New Project Wizard - Step Two dialog 3. New Project Wizard - Final Step dialog New Project Wizard - Step 1 dialog
To launch the New Project Wizard (to create a new TPD4 Project), select File > New. This invokes the first of three dialogs in the wizard (FIG. 19).
The options in this dialog include: Job Name: Enter a name for the new project. Panel Type: Click the down-arrow to view a list of supported panel types. External Button Options: MIO-R4 remotes support multiple external button options, to support transport and Teletext keypads. Select the desired external button layout from the drop-down list (MIO R-4 only). The External Button Option selected here is represented in the Panel Setup Information tab of the Project Properties dialog. Resolution: If the Panel Type selected supports multiple screen resolutions (such as the TPIs and NXV-300), click the down-arrow to select a target resolution for the project. If the selected panel type supports resolution extensions (VESA, CEA etc.), the extension is provided with the associated resolution (not all resolutions require an extension). Use System Generated File Name: Click this checkbox to use a System Generated File Name for this project. The External Button Options and Panel Resolution selections cannot be modified once the panel project has been created. To change either of these, use the Save As Different Panel Type option (File Menu)
26
If the "Use System Generated File Names" option (in the Step 1 dialog) is not selected, this dialog is skipped since the information entered here would not apply. The options in this dialog include: Designer: Enter the name of the project designer in this field. Dealer ID: Enter the Dealer ID in this field. Sales Order: Enter the Sales Order number in this field. Purchase Order: Enter the Purchase Order number in this field. File Revision: Enter the File Revision identifier in this field. Job Comments: Enter any project-related comments in this field. If you choose not to populate one or more of these fields, they will not be included in the System Generated File Name.
27
The options in this dialog allow you to set up the initial touch panel page in the project: Name: Enter a name for the page. Colors (Page background and Text): Click the browse button (...) to open the Colors dialog, where you can select the colors for the Page Background and Page Text. Font: Click the down arrow to select the Page Font, from a list of all available fonts on your PC. Font Size: Click the down arrow to select the Page Font size.
28
29
The resulting file name would be: "1234,My TP Project,5678-9876,rev a,Super-Dave Osborne.TP4" The Purchase Order field and the (optional) Job comments field are not incorporated into the generated filename. Use these fields to enter this additional information for this project. All information entered in this dialog can be viewed/edited at any time via the Panel Properties dialog. If you select not to use System-Generated File Names, the file name will match the Job Name entered in the first dialog of the New Project Wizard.
30
Edit Focus
The page, popup page, or button(s) that are the target for change actions are said to have the Edit Focus. For pages and popup pages, edit focus is indicated in the Workspace Navigator (Pages tab) by a small arrow at the lower-left corner of the icon for the selected page or popup page. FIG. 23 shows that "Page 1" has the edit focus.
FIG. 23 Page Edit Focus as Indicated In the Workspace Navigator (Pages tab)
For buttons, edit focus is indicated in the Design View window with small red squares (with yellow outlines) on the edges of the selected button.
Buttons that do not currently have edit focus are displayed with selection handles that are black squares (with white outlines). The Cut, Copy and Paste functions in TPD4 always work on the element which has the current edit focus. This means the last thing selected (not necessarily a button displayed in the Design View windows) has the edit focus. For example, if you have selected an item in the Properties Control window (let's say you've selected "Channel Port", and you perform a "Copy", then you will have copied only the Channel Port entry in the Properties Control window, and not the associated button (even though it is selected in the Design View window). You can then paste the Channel Port number anywhere else in the Properties Control window (where the copied data is considered to be a valid entry). If for example you had copied the value "410" from the Left (position) field in the Properties window, you are not allowed to paste it to the Address Port field, since it is not a valid Address Port number - these errors are indicated by a TPD4 error dialog.
Quick Input
Select Quick Input from the Edit menu or Design View context menu to access the Quick Input sub-menu. The Quick Input setting determines how typing directly into a Design View or into the State Manager will be handled: Current Property - This setting redirects keyboard input to the currently selected property on the currently visible tab of the Properties Window (assuming one is selected). For example, if you select the Name property (in the General tab of the Properties control window), any time you select a button in the Design View, you can just type and press the Enter key to enter a new button name for the selected button.
31
Text - This setting redirects keyboard input to the button Text property for all selected button states (in the States tab of the Properties Control window). For example, if you select several states on a Multi-State button (in the State Manager window), you can type and press the Enter key to enter new button text for the selected states. If no states are selected, text is will be applied to all states of the button selected in the Design View. Disabled - Disables the Quick Input option.
Undo/Redo
TPD4 supports full Undo / Redo functionality at the panel level. This means that each panel file that is open in the program maintains a separate undo/redo stack and manages this for the user. You may either click the Undo or Redo toolbar icons, or click Edit > Undo or Edit > Redo. Click the down-arrows to view a history list that lists up to 25 of the most recent actions. Click to select one or more actions to be undone/redone. The commands alter their text dynamically to indicate which action is next in the undo/redo list. Selecting either option will immediately undo/redo the last action. These actions are independent of any file saves, therefore you may undo past a save if you so desire. Once a panel file is closed, it's undo/redo stack is flushed and is no longer available. The following actions may be undone/redone: Button Property Changes Page / Popup Page Renames Button Deletions / Cuts Button Creations / Pastes Page / Popup Page Deletions / Cuts Page / Popup Page Creations / Pastes State Deletions / Cuts State Creations / Pastes Copying/Cutting/Pasting images and sounds
32
If for example you had copied the value "410" from the Left (position) field in the Properties Control window, you are not allowed to paste it to the Address Port field, since it is not a valid Address Port number (these errors are indicated by an error dialog).
Use the Selection tool to pick/select objects in the Design View window(s). You can also select multiple buttons, using any of the following techniques:
1. Left click on the remaining desired buttons while simultaneously depressing the Shift key on your
keyboard.
2. You may perform a marquis selection by holding down the left mouse button outside the boundaries of
the desired buttons and drawing a selection box around the desired buttons.
3. In the Properties Control window, you may turn the Apply To All toggle button (located at the bottom of
the Properties Control window) On, then individually select each desired button.
4. To select all available buttons on a page or popup page you may either use the Ctrl+A hotkey, or select
Edit > Select All from the main menu. Although you may select and retain the selection of buttons on multiple pages, you may only act on the selected buttons on one page / popup page at a time. When using the Selection Tool, hold down the ALT key while clicking and dragging in a Design View window to move the current selections without selecting anything new on the mouse press (useful for moving popup pages whose entire area is filled with buttons). When using the Selection Tool, hold down the CTRL key while clicking and dragging to force a "lasso" selection to occur (even if the mouse was clicked over a button or Popup Page shown on the Page). Lasso selection forces you to draw a square around the outside of the item to select it, as opposed to clicking on the item. With an item selected in a Design View window, hold down the CTRL key while moving the item with the keyboard arrow keys to move by the grid size instead of a single pixel (regardless of the grid visibility or snap to grid setting). Holding the CTRL key while resizing the selected items with the keyboard will resize by the grid size. To de-select a button, either select another button, or left-click on the background of the page or popup page.
33
Using G4 PanelPreview
To preview your panel project, select Panel > Send To G4 PanelPreview (or click the toolbar button) to launch the G4 PanelPreview application, where you can preview the project and simulate push and release of buttons, (including multi-state and bar graph buttons) via the mouse and keyboard on your PC. The G4 PanelPreview application is available from www.amx.com, and must be installed in order to activate this menu option. Refer to the G4 PanelPreview online help file for details.
34
The information in this tab was set up when the project was created, in the New Project Wizard. These items represent the various components of the System-Generated File Name. If the Use System-Generated File Names option was not selected, these fields will be blank. The options in this tab include: Job Name - This editable field displays the current Job Name associated with this project. Designer ID - This editable field displays the current Designer associated with this project. Dealer ID - This editable field displays the current Dealer ID (identifier) associated with this project. Sales Order - This editable field displays the current Sales Order (identifier) associated with this project. Purchase Order - This editable field displays the current Purchase Order (identifier) associated with this project. Created - This read-only field displays the creation date for this project, and the build number of the TPD4 used to create this project. Modified - This read-only field displays the last date on which this project was saved (and the build number of the TPD4 used to create this project). File Revision - This editable field displays the current Revision (identifier) associated with this project.
35
Revision Date - This read-only field displays the date of the current revision of this project. File Name - This read-only field displays the full path and disc filename of the project. Job Comments - This editable field displays any comments that were added in the New Project Wizard. Protection - Click the down-arrow to select one of three levels of password protection for this project file: none - this is the default setting (no password protection). read-only - the next time this panel file is opened, the Enter Access Password dialog appears, prompting the user to enter the correct password in order to gain write access to the file. To simply view the file (as read-only), click on the Read-Only command button (in the Enter Access Password dialog). If the file opened in read-only mode, the word "[Locked]" appears immediately to the right of the project name in the Workspace Navigator, and no edits are allowed. Also, files opened as read-only cannot be saved to another file name. locked - the next time the panel file is selected to open; the Enter Access Password dialog appears, prompting the user to enter the correct password to open the file. These protection options are not Windows file attributes, and are only relevant within the context of the TPD4 application. Password - Use this text field to enter the password (1 - 259 characters) to use if the file is set as either read-only or locked. Once the password has been typed, it must be re-typed in the Confirm text field. Confirm - Use this text field to confirm the password by re-typing the password exactly as it was entered in the Password field. If the passwords don't match, a "Passwords do not match" message box is displayed. Use System Generated File Names for This Project - Click this option to apply system-generated filenames to this project. If the project was originally set up to use system-generated file names, then selecting this option will replace the original information with the updated information from this dialog. If system-generated file names were not used for the project, this information will be added on the next save.
36
This dialog identifies the panel for which this project is designed, and indicates it's screen resolution. In the case of MIO R-4 remotes, the External Button Option selected is indicated as well. The options in this tab include: Refresh Frequency - Select the desired refresh frequency for the selected panel, from the dropdown list of supported refresh frequencies (based on the selected panel/resolution). Marquee Speed - Sets the speed of motion for Marquee text. Panel Strings - Use these three fields to specify text strings to appear on the panel, during these three conditions (Startup, Wakeup and Sleep). For example, if you entered "Hello!" for the Wakeup string, the panel will send this string to the NetLinx Master on wakeup. In order to receive strings from a device, the programmer typically creates a buffer or adds a DATA_EVENT/STRING: handler for the device. This will cause an RXON command to be sent to the device, then the master will pass the strings from the device. Power Up/Inactivity Settings Power up page - Click the down-arrow to view a drop-down list of all pages currently saved in this project. Click to select the initial startup page for the panel.
37
Power up popups - This field indicates the Power-Up popup pages that will appear over the Power up page. Inactivity page - Click the down arrow to select which page to flip to after the specified period of inactivity (set on the touch panel). Feedback blink rate (10th of second) - If you are using blinking button feedback in your project, use this field to specify the blink frequency, in 1/10th-second increments (default = 5). Device Port/Channel Allocation - The use of dynamic list tables with channel codes may require the designer to specify the ports and/or channels to be allocated on the panel, if the ports/channels utilized in the dynamic table(s) will exceed those declared in the project. These options include: Automatically calculate port allocation - select to have TPDesign4 calculate the maximum ports required (default setting). Specify port allocation - select to supply a specific port number to be allocated to dynamic list tables. When this option is selected, a text field is provided for you to manually enter the port number to be allocated. Automatically calculate channel allocation - select to have TPDesign4 calculate the maximum channels required (default setting). Specify channel allocation - select to supply a specific channel number to be allocated to dynamic list tables. When this option is selected, a text field is provided for you to manually enter the channel number.
38
Light Sensor - Use these fields to specify the Level and Channel port/code assignments for the onboard light sensor. Motion Sensor - Use these fields to specify the Channel port/code assignments for the on-board motion sensor. Battery Levels - Use these fields to specify the Level port/code assignments for the on-board battery charger. Cradle Sensor (MVP panels only) - Use these fields to set the Channel port/code assignments for the Cradle Sensor on MVP panels. The channel will be turned on when the panel is docked (either in the tabletop docking station or in the wall cradle).
The NXD/T-CV7 have AMX IR receivers, and the MVP-7500/8400 and MVP-8400i have AMX and User-defined IR emitters as well as a cradle sensor (see below).
39
The options in this tab include: AMX IR Emitters (MVPs only) - These options allow you to specify the IR Channel port (either 38KHz or 455KHZ) to be used for standard AMX IR emitting for MVP-7500 and MVP-8400 panels. User IR Emitters (MVPs only) - These options allow you to specify the IR Channel port (either 38KHz or 455KHZ) to be used for user-defined IR emitting for MVP-7500 and MVP-8400 panels. Additional User IR Emitters (MVP-5220 & MVP-5200i) - These options allow you to use up to 8 IR Emitters with the panel. The User IR Emitters table displays a grid of user IR ports and their respective values in two columns. The default value for each port is zero (not used). The value associated with each port can be modified in-place. The edit field will only accept integer values ranging from zero to 100 (consistent with other port values). Non-numeric values will be rejected and the value reset to zero. Values in the Port column cannot be edited. As with the original two user IR ports, all port values entered will be validated against other existing IR emitter or receiver port values to ensure that all non-zero IR port values are unique. Modifying values in the grid control will activate the Apply button as appropriate. Applying changes made to the grid control will set the project's "dirty" flag. AMX IR Receivers (CV7 and CV10s only) - These options allow you to specify the IR Channel port (either 38KHz or 455KHZ) to be used for AMX IR receiving for NXD/T-CV7 and NXD/TCV10 panels.
1. Select File > Project Properties to open the Project Properties dialog - Project Information tab. 2. Click the down-arrow next to Protection to select a level of password protection from the drop-down list
(either read-only, locked or none - see FIG. 30).
3. Enter the password in the Password text field. Passwords can be from 1 to 259 characters in length. 4. Re-type the password in the Confirm field. If the passwords don't match, a "Passwords do not match"
message box is displayed, in which case you'll need to re-enter the password, or re-confirm the password, or both.
5. Click Apply to save the changes and apply the specified password to the Project file.
40
1. Select File > Project Properties to open the Project Properties dialog. 2. In the Panel Setup Information tab, click the down arrow next to the Power up page field to display a list
of all of the pages in this project.
3. Select the page that you want to be used as the Power-up page from this list (FIG. 31).
FIG. 31 Project Properties dialog - Power-up page settings (IR Emitters and Receivers tab)
1. Select File > Project Properties to open the Project Properties dialog. 2. In the Panel Setup Information tab, click the green Plus sign icon below the Power up popups field to
invoke the Add Power Up Popup dialog, presenting a list of all popup pages in the active Project (FIG. 32).
FIG. 32 Project Properties dialog - Power-up popups settings (Panel Setup Information tab)
3. Select a popup page that you want to be displayed over the Power-up page from this list and click OK. 4. The selected popup page is indicated in the Power up popups field.
To display multiple popups over the Power up page, repeat steps 2 and 3 to select another popup. If you select more than one popup page, you can specify the display order via the up/down arrow buttons below the Power up popups field. The popup at the top of the list is the first to be displayed.
41
To remove a popup from the Power up popups list, click the Remove Popup (X) button below the Power up popups field.
1. Select File > Project Properties to open the Project Properties dialog. 2. In the Panel Setup Information tab, click the down arrow next to the Inactivity Page field to display a list
of all of the pages in this project (FIG. 33).
FIG. 33 Project Properties dialog - Inactivity Page settings (Panel Setup Information tab)
3. Select the page that you want the panel to flip to when the panel is inactive for the amount of time
specified on the panel. You can use the Inactivity Page Flip option to create a "screen-saver" for the panel as part of your project.
42
43
44
To edit any of the listed button properties, click on an item in the right-hand column to activate the field. Depending on the item selected, you can either set the item manually, select from a drop-down menu, or both. Properties from the Properties window can be dragged and dropped onto the Design View (to Buttons on the main Page, or the Page itself). The selected property or state is automatically applied to all states of the drop target (whether a button or the page itself). General and State properties can also be copied and pasted to a Design View using standard copy/paste menu and keyboard mechanisms. Another feature of the Properties window (all tabs) is that you can click on any value in the right column, and drag it to another field. When you release the mouse button, the value is copied to the new location. With an item selected, the cursor will change to indicate any fields that cannot accept the selected value, and if the selected value is out of the acceptable range for a target field, TPD4 alerts you with an error dialog, and the original value is left unchanged.
45
46
When you copy/paste across projects, if the selected pages, popup pages and/or buttons contain bitmaps, icons and/or sounds, those elements are copied into the target project along with the page, popup page or button (assuming that Retain image references, Retain slot references and Retain sound references are all selected in the Paste Controls dialog). Once the buttons are pasted into the target project, the bitmaps, icons and sounds that came over with the pasted buttons are available in the Resource Manager for the target project. If you copy/paste a page or popup page containing buttons, the buttons are copied along with the page. Copying/Pasting Pages, Popup Pages and Buttons Across Projects:
1. Open the Paste Control Options dialog (Button > Paste Controls) to specify wether to retain Function
Codes (Address, Channel and Level codes), Page Flip Options, and Images/Slots/Sounds when the copied buttons are pasted into a page in a separate project.
2. Click to select the source page or popup page (the one that you want to copy to another project), in the
Workspace Navigator window (Pages tab). and Copy (use Ctrl+C, Edit > Copy, the Copy toolbar button (), or select Copy from the Workspace Navigator context window). You don't have to actually open a page to copy it: simply select the desired page with a single click in the Workspace Navigator window and copy the page.
3. In the Workspace Navigator (Pages tab), click to select the target project (the one that you want to paste
the page or popup page into), and Paste (use Ctrl+V, Edit > Paste, the Paste toolbar button, or select Paste from the Workspace Navigator context window). Pages and Popup pages are automatically pasted into the correct folders.
1. Step 1 of 3 (Select Source and Destination): In the TPD Conversion Wizard - Select a Source &
Destination (Step 1 of 3) dialog, select the TPD project file that you want to convert (use the browse button to navigate to the desired file, via the Open dialog).
a. Click the down arrows next to Panel Type and Resolution to specify the target G4 panel for the project
file.
b. If you selected a panel that supports multiple resolutions (i.e. NXP-TPI4, TPI-PRO, TPI-PRO-DVI),
you can specify the target resolution for the project. A description and image of the selected panel is displayed. c. Click Next to proceed.
2. Step 2 of 3 (View Warnings and Substitute Fonts): The TPD Conversion Wizard - Warnings & Font
Substitution (Step 2 of 3) dialog in the wizard contains two read-only text fields: The Pre-Conversion Warnings list box alerts you to any possible conflicts that will exist in the selected file, once the conversion process is applied. For example, if the target panel/resolution differs from the original target of the TPDesign3 file, you will see a Pre-Conversion warning
47
message indicating that scaling will occur. The conversion wizard handles most of these issues for you automatically. The lower list box indicates any fonts that were specified in the original TPDesign3 file, but that are not available to TPDesign4 (i.e. are not currently installed on your PC). For each unmatched font listed, you can select a substitute font to use instead. If all fonts used in the original file are still available, the message "No unmatched fonts" is displayed.
3. Step 3 of 3 (Finish): The TPD Conversion Wizard - Finish (Step 3 of 3) dialog lists the selected file, the
original panel/resolution association, and the target panel/resolution. When you convert a TPDesign3 project to a TPDesign4 project via the TPD Conversion Wizard, TPDesign4 generates a report that lists errors and warnings relating to the conversion process. The Errors and Warnings reports are displayed in the Errors and Warnings Report dialog. Neither errors nor warnings will prevent the file from being compiled, but will probably require that the issues be resolved in order to have buttons and pages that look and function as expected. Errors are issues that result in unexpected button borders, usually because there are button or buttons in the project that are smaller than the minimum size of the selected border. Warnings are issues that represent potential visual/formatting problems, like minor shifts in shape and size on some buttons. The bottom text box lists all Warnings encountered during the conversion process. Click Filter Warnings to select which warning messages to display or suppress via the Filter Conversion Warnings dialog.
4. Click Finish to launch the conversion process and open the Errors and Warnings Report dialog where you
can view/fix the resulting warnings. When the TPD file is converted and opened in TPD4, the pages and popup pages may appear in a different order than they occurred in TPDesign3, since TPD4 sorts the page and popup pages alphabetically.
1. Select File > New to launch the New Project Wizard (New Project Wizard - Step 1) dialog. 2. Select R-4 as the Panel Type. 3. Select an External Button Option from the drop-down list.
As with the panel resolution, this selection cannot be modified once the panel project has been created.
4. Select Next to proceed to the New Project Wizard - Step Two dialog. Fill in the fields in this dialog as
desired.
5. Select Next to proceed to the New Project Wizard - Final Step dialog. Fill in the fields in this dialog as
desired.
48
Addresses
R-4 Setup Codes - Addresses
Time Display: Date Display: Selected Format Selected Format
These setup codes apply to R-4 firmware versions beginning with version 2.61.10.
49
The default values are read in when a new project is created. These defaults will not affect any existing R-4 projects.
50
This dialog contains features and options that allow you to easily organize and manage Images, Slots and Sounds for your project, organized into four tabs: Images: The Images tab provides a convenient way to import and preview all image files to be used in your project. TPD4 supports most popular image formats. Dynamic Images: The Dynamic Images tab allows you to manage images that exist on an HTTP server or FTP server, external to the panel. Dynamic images can be refreshed at specified regular intervals or via the Panel > Refresh Dynamic Images option. Slots: The Slots tab allows you to manage slot assignments for images and icons. Sounds: The Sounds tab provides a convenient way to import and preview all sound files (.WAV or .MP3) to be used in your project. The Resource Manager contains its own toolbar, above the tabs (FIG. 39).
Depending on what you are doing with the listed Image, Dynamic Image or Sound files, one or more of the following options will be available:
51
Cut/Copy/Paste: Use these controls primarily to move images files to and from the Slots tab. They work in the typical way, and support selected multiple files. Note that if you copy or cut multiple files to clipboard memory, you must select at least the same number of slots (in the Slots tab) in order to paste all of the files. If you only select one slot, when you paste the multiple images, you'll only see the first one that you selected.
Delete: Select one or more files and click Delete to delete them from the collection. The files are not deleted from the hard drive, just from this project. If any of the files selected for deletion are used by the active project, the Resource(s) In Use dialog is displayed, with a listing of all files targeted for deletion, as well as the Page(s) on which each file is used. By default, the Resource(s) In Use dialog is set to display any time a used resource is deleted. However, you can toggle the display of this dialog either by selecting the "Don't show me again" checkbox in the dialog, or by selecting "When deleting resources in use" in the Application tab of the Preference dialog. Rename: Select an image file and click Rename to open the Rename dialog, containing two fields: Old Name (read-only, displays the current file name), and New Name (enter the new file name in this field). Click OK to rename the file. Undo/Redo: All actions in the Resource Manager can be undone and/or redone. Import: Click to invoke the Open dialog. Use this dialog to locate and select image and sound files to import into this tab. When images of any (supported) file type except PNG are imported into a project, the files are automatically converted to JPGs. For this reason, if you import (or paste) a file that has the same name as a previously imported file (even if it has a different extension), TPD4 automatically adds the "copy of" prefix to the file. PNGs are not converted because they are already sufficiently compressed. New: This option is available only on the Dynamic Images tab (and replaces the Import button that is on the other tabs). Click to open the Create Dynamic Image dialog, which allows you to add dynamic images to your project. Export: Use this option to export one or more files to a specified directory. Use the Choose Directory dialog to pick the target directory. List Style: Click the down-arrow to open a drop-down list of the available display options for this tab: Small Icons - lists the files in columns, with small file icons. List - lists the files in a single column, with small file icons. Details - lists the files with file size and image dimension descriptions. Thumbnails - displays a thumbnail image of each file.
52
Use this tab as a "library" of every image file that will be used in your project (for pages, popup pages, buttons and icons). It is important to import all of your images to this tab first, before they are applied in the project, so that you can maintain an organized profile of all images in the project, regardless of their context (i.e. button state, page background, etc). The Images tab provides the following command buttons: Select All: Click to select all image files. Sort (ascending / descending): Click to sort the image files either in ascending (A-Z) or descending (Z-A) order. Edit: Click to edit the file name of the selected item. Assign To Slot: Click to assign the selected image file(s) to slot(s).
53
Consider assigning Slot positions to those image files that you expect to use multiple times in the Project.
1. 2. 3. 4.
Select Panel > Resource Manager (or click the toolbar button) to open the Resource Manager dialog. Open the Images tab. Click the Import button to invoke the Open dialog. Click the Overwrite resources with duplicate names checkbox to automatically overwrite any existing images that have the same file name as the image selected for import. If this option is selected, anytime an image with a duplicate file name is imported, it will replace the original image on every button or page that referenced that file name in the Project.
5. Locate and select the file(s) to import. TPD4 supports most popular image formats. 6. Click Open to import the files to the Images tab.
Notes on importing image files: When images of any supported file type (except PNG) are imported into a project, the files are automatically converted to JPGs. For this reason, if you import (or paste) a file that has the same name as a previously imported file (even if it has a different extension), TPD4 automatically adds the "copy of" prefix to the file. PNGs are not converted because they are already sufficiently compressed.
54
The largest image size supported on the panels is 1280x1024. Any image files that are imported to the project that are larger than 1280x1024 are automatically scaled down to fit this maximum resolution. Any scaling that occurs is proportional, so that the image will not be stretched. If you import an image file that has already been imported to the Images tab, the filename is changed to include the prefix "Copy of...". This is true even if the second version of the image file you have imported is of a different file type with a different extension.
55
Use this tab as a "library" of every dynamic image file that will be used in your project (for pages, popup pages, buttons and icons). It is important to import all of your dynamic images to this tab first, before they are applied in the project, so that you can maintain an organized profile of all images in the project, regardless of their context (i.e. button state, page background, etc). Dynamic images can be refreshed at specified regular intervals or via the Panel > Refresh Dynamic Images option. The Dynamic Images tab provides the following command buttons: Select All: Click to select all images. Sort (ascending / descending): Click to sort the image files either in ascending (A-Z) or descending (Z-A) order. Edit: Click to edit the file name of the selected item. Assign To Slot: Click to assign the selected Image file(s) to slot(s). Get Live File: Click to retrieve a thumbnail of the live feed, to replace the generic icon in this tab.
56
Dynamic Images
Dynamic Images are images that exist on an HTTP server or FTP server, external to the panel. To use dynamic images in your project you'll specify a URL, rather than a directory path to an image file. Dynamic images can be applied to all button types except Computer Control and Text Area buttons. The Dynamic Images tab of the Resource Manager dialog provides a convenient way to import and preview all dynamic image files to be used in your project. Dynamic images can be refreshed at specified regular intervals or via the Panel > Refresh Dynamic Images option. Use the Scale Bitmap To Fit state property (Properties Control window - States tab) to automatically scale (down only) the dynamic image to fit the button that it is being displayed on.
1. Select Panel > Resource Manager (or click the toolbar button) to open the Resource Manager dialog. 2. Open the Dynamic Images tab (FIG. 41 on page 56). 3. Click the New button to invoke the Create Dynamic Image dialog (FIG. 42).
57
1. 2. 3. 4.
Open the Resource Manager to the Dynamic Images tab. Click New to invoke the Create Dynamic Image dialog. Enter a descriptive name for this dynamic image in the Name field (in this example, we'll use "Photo 1". To provide the other information required in this dialog, refer to the source image properties:
a. In a web browser, go to the image that you want to add as a dynamic image to the Resource Manager. b. Right-click to view it's element properties (FIG. 43).
As indicated in the drop-down example above, the host address information for this example is listed in the Location entry of the Element Properties dialog. Note that the Location entry consists of not only the Host address information, but also protocol and path information as well. Here is the full string provided by the image source for this photo: http://c1.ac-images.myspacecdn.com/images02/64/l_7e3368c694a94bacbbadfeb84f491004.jpg The various types of information included in the Location string (as provided in the Element Properties dialog) must be broken up and entered into the appropriate fields in the Create Dynamic Image dialog in order for this dynamic image to work: c. Copy the address string from the Element Properties dialog, and paste it into the Host field in the Create Dynamic Image dialog. Since HTTP is already selected (by default) as the Protocol in the Create Dynamic Image dialog, it is not required as part of the Host. Verify that HTTP is selected as the Protocol, and delete "HTTP://" from the pasted string. At this point, the Host string contains Host address information as well as Path and File information: c1.ac-images.myspacecdn.com/images02/64/l_7e3368c694a94bacbbadfeb84f491004.jpg d. Cut the path and file information from the string and paste it into the Path field in the Create Dynamic Image dialog. e. Cut the file information from the Path string and paste it into the File field. At this point in the Create Dynamic Image dialog (FIG. 44): Name = Photo 1 Protocol = HTTP Host = c1.ac-images.myspacecdn.com Path = images02/64 File = l_7e3368c694a94bacbbadfeb84f491004.jpg The User and Password fields are left blank, since no credentials are required by the Host to access the webcam in this case.
58
The Refresh Rate should be left to zero (default setting), to allow the image to update automatically based on the source's refresh rate. When the Refresh Rate is set to zero, the Refresh Only at Panel Startup option is available. This option directs the panel to refresh this image only when the panel is rebooted.
f. Click OK to add this image as a dynamic image to the Resource Manager (FIG. 45).
59
When Dynamic images are added to the Resource Manager, they are initially indicated by an icon rather than a thumbnail image such as is shown in the example above Double-click on any Dynamic image icon, or click Get Live File to replace the icon with a thumbnail image.
Creating a DynaMo Image 1. Select Panel > Resource Manager to open the Resource Manager dialog. 2. In the Dynamic Images tab, click on New to open the Create Dynamic Image dialog. 3. Fill in the fields provided:
Name: Enter a name for this dynamic image. Protocol: Select the communication protocol: HTTP (default), or FTP. Host: Enter the IP Address of the camera/video server. Path: Enter the Path for the image source provided in the camera or video server manufacturer's documentation (see the Network Path Information section on page 63). File: Enter the File name for the image source provided in the camera or video server manufacturer's documentation. User: Enter User name if required (this field is optional). Password: Enter Password if required (this field is also optional).
60
Refresh Rate: Refreshing resources will cause the button displaying that resource to refresh as well. The default value is 0, which means that the resource is only downloaded once. Refresh only at panel startup: This option is only available if the Refresh Rate is set to zero, and causes the dynamic image to refresh only upon restart of the panel, as opposed to upon each visit to the page (as is the default). Dynamo Resource: Click to specify this image as a Dynamo Resource (for accelerated DynaMo Dynamic images only - FIG. 47).
The User (name) and Password fields are typically used with FTP servers. To allow other users to access the files via FTP without password protection, leave the User and Password fields blank. The user must type either "Anonymous" or "Guest" to access the specified FTP site.
4. Create a General button on which the DynaMo Dynamic Image will be displayed, that matches the output
resolution of the camera/video server providing the dynamic image. Some cameras/servers support more than one output resolution. Select one that fits your application requirements and interface design.
5. Select the DynaMo Dynamic Image that you want to apply to this button, via the button's Bitmap
properties:
a. In the States tab of the Properties window, select Bitmap to enable the Browse (...) button b. Click Browse to access the Select Resource dialog. c. In the Dynamic Images tab, select the dynamic image that you want to display on this button. Adding an Dynamo Resource Image to the Resource Manager
The process of adding a Dynamo Resource image to the Resource Manager is identical to that of adding a standard Dynamo image, with one exception: to specify that the dynamic image will be treated as an (accelerated) Dynamo Resource image, simply select the Dynamo Resource option at the bottom of the Create Dynamic Image dialog. The Dynamo Resource option is only displayed if the currently selected panel-type supports Accelerated Dynamo images (see AMX Touch Panels that Support Dynamo Resource Images). When working with Dynamo Resource images, it is important to note the following: If there are multiple Dynamic images displayed on a single page, only one of them should be set as a Dynamo Resource image. While TPDesign4 will allow you to place more than one Dynamo Resource image on a page, the frame-rate on all Dynamo Resource images may be reduced as a result. Dynamic images that have the Dynamo Resource property set are displayed with a modified icon, which resembles the standard Dynamic Image icon but features a lightning bolt (FIG. 48).
61
FIG. 48 Dynamic Resource Image & Dynamic Image icons (Dynamic Images tab of the Resource Manager dialog)
62
63
64
1. 2. 3. 4.
Open the Resource Manager to the Dynamic Images tab. Click New to invoke the Create Dynamic Image dialog. Enter a descriptive name for this dynamic image in the Name field (in this example, we'll use "Beach 1"). To provide the other information required in this dialog, refer to the source image properties:
a. In a web browser, go to the web cam that you want to add as a dynamic image to the Resource
Manager.
65
As indicated above, the host address information for this example is listed in the Location entry of the Element Properties dialog. Note that the Location entry consists of not only the Host address information, but also protocol and path information as well. Here is the full string provided by the image source for this webcam: http://coralsandsinn.axiscam.net/axis-cgi/jpg/ image.cgi?camera=1&resolution=480x360&time=1228758918124&dummy=image.jpg
5. The various types of information included in the Location string (as provided in the Element Properties
dialog) must be broken up and entered into the appropriate fields in the Create Dynamic Image dialog in order for this dynamic image to work:
a. Copy the address string from the Element Properties dialog, and paste it into the Host field in the
Create Dynamic Image dialog.
b. Since HTTP is already selected (by default) as the Protocol in the Create Dynamic Image dialog, it is
not required as part of the Host. c. Verify that HTTP is selected as the Protocol, and delete "HTTP://" from the pasted string. At this point, the Host string contains Host address information as well as Path and File information: coralsandsinn.axiscam.net/axis-cgi/jpg/ image.cgi?camera=1&resolution=480x360&time=1228758918124&dummy=image.jpg d. Cut the path and file information from the string and paste it into the Path field in the Create Dynamic Image dialog. e. Cut the file information from the Path string and paste it into the File field. At this point in the Create Dynamic Image dialog: Host = coralsandsinn.axiscam.net Path = axis-cgi/jpg/image.cgi? File = camera=1&resolution=480x360&time=1228758918124&dummy=image.jpg The User and Password fields are left blank, since no credentials are required by the Host to access the webcam in this case.
66
The Refresh Rate should be left to zero, to allow the image to update automatically based on the source's refresh rate. When the Refresh Rate is set to zero, the Refresh Only at Panel Startup option is available. The Refresh Only at Panel Startup option directs the panel to refresh this image only when the panel is rebooted. Click Dynamo Resource to use this Dynamic Image as an (accelerated) DynaMo Dynamic Image.
67
The Slots tab of the Resource Manager dialog lists all Icon Slot assignments currently defined in the Project.
Where the Images and Sounds tabs contain "libraries" of all Image and Sound files (even if they have not been assigned to a slot), the Slot tab lists only those image and sound files that are currently assigned to a slot. Once a Image or Sound has been assigned to a slot in the Resource Manager, it is considered to be an Icon. All image and sound files must be assigned to a slot before they can applied to pages, popup pages and/or buttons as Icons. Once an image or sound file has been assigned a slot, it is available for selection as an icon through the Properties Control Window (States tab). Each project has 2000 slots available.
68
If you don't intend to use a image or sound file as an Icon, there is no need to assign it to a slot (see Bitmaps vs. Icons). The toolbar button in this tab contains several command options: Select All: Click to select all slots (1-2000). By default, the program limits you to 2000 slots per panel. However, you can use up to 9900 slots per panel if necessary by changing the maximum number of slots per panel. Move: Use this option to move a slot assignment. First select a file / slot assignment, then click on the target slot for the selected file and click Move. The selected file is moved to the selected slot. Note that the Overwrite and Insert options affect how the Move option works. Duplicate: Use this option to duplicate a selected file to another slot. First select the file that you want to duplicate, then select the slot that you want to target for the duplicated file, and click Duplicate. The selected file is duplicated in the targeted slot. Swap: Use this option to swap two file / slot assignments. Ctrl + click to select two files, and click Swap. The two file / slot assignments are swapped. Assign: This command assigns the selected Image or Sound file(s) to slot(s). Cancel: If have selected one or more images, and clicked Assign to Slot (in the Images tab), you can click Cancel to cancel the process before you set the slot assignment.
1. Select Panel > Resource Manager (or click the toolbar button) to open the Resource Manager dialog. 2. Open the Images, Dynamic Images or Sounds tab, depending on the type of file you are adding. 3. Select one or more files (Ctrl + click to select multiple files individually, or Shift + click to select a range
of files).
4. Click Assign To Slot. This open the Slots tab (FIG. 54 on page 68).
If there are no images or sounds already assigned to slots (the Slots tab is empty), click Assign (in the Slots tab) to assign the file to slot 1. If you selected multiple files, they will be assigned in the order in which they were selected. If there are already some slot assignments present (in the Slots tab), you'll have to more careful about how you choose to assign the files. Use the Overwrite and Insert radio buttons to select a preference for assigning files to slot(s) with previous file assignments. Select Overwrite to automatically overwrite any pre-existing file assignments in the affected slots. Select Insert to insert the files without overwriting anything. In this case, the other slot assignments are shifted to accommodate the new assignments. If you are assigning a single file to a slot with a pre-existing file assignment, click to select the slot to which you want to apply the image file and click Assign (in the Slots tab). If you are assigning multiple files to multiple slots, click the slot where you want to begin pasting the set of images. The files will be pasted consecutively, in the order in which they were selected. When pasting multiple image files to the Slots tab, you must select the same number of slots as the number of images copied. For example, if you selected ten files to assign to slots, select ten slots before assigning the files. If you select just one slot, only the first file selected will be assigned. If you select five slots, only the first five files will be assigned.
69
70
Use this tab as a "library" of every sound file that will be used in your project (for pages, popup pages, buttons and icons). It is important to import all of your sound files to this tab first, before they are applied in the project, so that you can maintain an organized profile of all sound files in the project, regardless of their context (i.e. button state, page flip, etc). The Slots tab provides the following command buttons: Select All: Click to select all sound files. Sort (ascending / descending): Click to sort the sound files either in ascending (A-Z) or descending (Z-A) order. Edit: Click to edit the file name of the selected item. Assign To Slot: Click to assign the selected sound file(s) to slot(s).
71
1. 2. 3. 4.
Select Panel > Resource Manager (or click the toolbar button) to open the Resource Manager dialog. Open the Sounds tab. Click the Import button. This invokes the Open dialog. Click the Overwrite resources with duplicate names checkbox to automatically overwrite any existing sound files that have the same file name as the file selected for import. If this option is selected, anytime a sound file with a duplicate file name is imported, it will replace the original file on every button or page that referenced that file name in the Project.
5. Locate and select the file(s) to import. 6. Click Open to import the files to the Sounds tab.
If you import an sound file that has already been imported to the Sounds tab, the filename is changed to include the prefix "Copy of...". This is true even if the second version of the sound file you have imported is of a different file type with a different extension.
Exporting Image and Sound Files From Your Project To a Specified Directory
To export image (including dynamic images) and sound files from Resource Manager dialog to a specified directory:
1. Select Panel > Resource Manager (or click the toolbar button) to open the Resource Manager dialog. 2. Open the appropriate tab for the type of file you want to export (Images, Dynamic Images, Slots or
Sounds).
3. Select one or more files to export (Ctrl + click to select multiple files individually, or Shift + click to
select a range of files).
4. Click the Export button. This opens the Choose Directory dialog (FIG. 56).
5. Use the Browse button to locate a target directory for the files. 6. Click OK. The program prompts you when the export is finished.
72
Editing Image Files 1. Open the Images tab of the Resource Manager dialog. 2. Select the image file that you want to edit. 3. Click the Edit button to launch the external program specified as the default editor for image files. Editing Sound Files 1. Open the Sounds tab of the Resource Manager dialog. 2. Select the sound file that you want to edit. 3. Click the Edit button to launch the external program specified as the default editor for sound files.
When the edit session begins, the image or sound file is opened in the default editing program, and control is returned to TPD4. Any saved changes to the resource made in the external editor will be immediately reflected in TPD4. Any action taken in TPD4 that would change the state of the image or sound file being edited (e.g., delete, rename, undo/redo, etc.) will cause the link between TPD4 and the external application to be broken. Any subsequent changes made in the external editor will not be reflected nor applied. See the Adding an External Editing Program for Image Files section on page 272, the Adding an External Editing Program for Sound Files section on page 272 and the Changing the Default External Image or Sound Editor Program section on page 273 for more information.
73
74
Page Flips (which provide the ability to "flip" from one page to another via a button press) are a button-oriented function - see the Creating a Page Flip section on page 108.
75
2. Enter a descriptive name for the new page in the Name field (avoid using inappropriate file name
characters).
3. Set the Page Background color: a. Click the browse button (...) next to Page Background to open the Colors dialog. b. Single-click to select a new color from the list. Note the current and new color selections are shown
together for comparison on the left side of the dialog.
4. Set the Page Text color (for text applied directly to the page): a. Click the browse button (...) next to Text to open the Colors dialog. b. Single-click to select a new color from the list. Note the current and new color selections are shown
together for comparison on the left side of the dialog.
5. Set the Font Name and Size. A sample of the selected font type and size is displayed in the window
beneath these fields.
6. Click OK to add the new page to the active project. The new page will be appear in the Workspace
Navigator in the Pages folder, under the project to which the page was added (as the active page). Because the RGB Color palette supports more colors than the Palette Index, you might see some slight variation in some colors if you switch from the RGB Color palette to Palette Index. In most cases, any variation that occurs in the translation is extremely subtle, since TPD4 tries to match the color exactly.
76
The following state properties are supported at the page level: Draw Order Fill Color Text Color Text Effect Color Video Fill Video Touch Pass-Thru Bitmap Bitmap Justification Icon Slot Icon Justification Font Text Text Justification Text Effect Word Wrap Sound
Renaming a Page
To rename any Page in the active project, simply click on a Page entry in the Workspace Window and type directly into the text field (FIG. 59).
FIG. 60 States tab of the Properties Control window - Fill Color field
3. Click the browse button to open the Colors dialog, and select the color that you want to apply to the page. 4. Click OK to close the Colors dialog.
77
1. Select the page to which you want to add or change a bitmap image (via the Workspace - Pages tab). 2. In the States tab of the Properties Window, click on the Bitmap field to enable the browse (...) button
(FIG. 61).
3. Click the browse button to open the Select Resource dialog, where you can select the desired bitmap.
Note that only bitmaps that have already been imported into the project are listed in the Select Resource dialog. Use the Import button (at the lower-left of this dialog) to import new bitmaps into the project.
4. Click Bitmap Justification (also in the States tab of the Properties Control window) to set the
justification of the image on the page (FIG. 62).
FIG. 62 States tab of the Properties Control window - Bitmap Justification field
78
1. Select the page to which you want to add or change an image icon (via the Workspace - Pages tab). 2. In the States tab of the Properties Control window, click on the Icon Slot field to enable the browse (...)
button (FIG. 63).
FIG. 63 States tab of the Properties Control window - Icon Slot field
3. Click the browse button to open the Select Resource dialog, where you can select the desired icon. If you
don't see the desired image icon file listed in the Select Resource dialog, you need to import the image file into the project and assign it to a slot position.
4. Click Icon Justification (also in the States tab of the Properties Control window) to set the justification
of the image icon on the page (FIG. 64).
FIG. 64 States tab of the Properties Control window - Icon Justification field
Since G4 panels utilize address and channel port/address codes (and possess a single state), you can display text directly on a Page in your project. If you are also displaying a bitmap on the Page, the text will automatically be displayed on top of the bitmap, unless otherwise directed via the Draw Order selection by the user (see the Draw Order (Z-Order) section on page 206).
1. Select the page to which you want to add or change a text (via the Workspace - Pages tab). 2. In the States tab of the Properties Control window, click on the Text field to enable the browse (...) button
(FIG. 65).
Click the browse button to open the Enter Text dialog, and type the page text as desired (up to 4096 characters). Alternatively, you can type directly into the Text field. You don't have to open the Enter Text dialog unless you intend to enter multiple lines of text.
79
Also use the Enter Text dialog to edit existing page text, if any exists.
3. Select Text Color in the States tab of the Properties Control window to enable the browse (...) button
(FIG. 66).
FIG. 66 States tab of the Properties Control window - Text Color field
Click the browse button to open the Colors dialog where you can select a color for the Page text.
4. Click on Font in the States tab of the Properties Control window to enable the browse (...) button
(FIG. 67).
5. Click Text Justification in the States tab of the Properties Control window to set the justification of the
text on the page (FIG. 68).
FIG. 68 States tab of the Properties Control window - Text Justification field
6. Click Word Wrap, and select whether to wrap text that doesn't fit on a single line on the selected Page
(Yes or No - FIG. 69).
FIG. 69 States tab of the Properties Control window - Word Wrap field
If you select No, any text that won't fit on the selected Page may not be visible, depending on the text justification setting and the size of the Page.
80
1. Select (or a create) a Page in your project. 2. In the Properties Control window - States Tab, click Video Fill to activate the drop-down list of available
video sources. The Video Fill options available will depend on the video capabilities of the panel type selected (FIG. 70):
FIG. 70 States tab of the Properties Control window - Video Fill field
3. Select a video source from the list to apply the video fill to the Page.
Copying/Pasting Pages
Copying Pages
In the Workspace Navigator (Pages tab), at the top most level are Panel Names. Immediately below the panel names is a Pages folder (containing Pages), and a Popup Pages folder (containing Popup pages). You can copy a page either by selecting a Page only (ensuring that no buttons are selected) in an active Design View window, or by single-clicking on a page in the Workspace Navigator (Pages tab) then clicking Edit > Copy from the main menu (or the Copy button in the main toolbar).
Pasting Pages
You may paste (by either clicking Edit > Paste from the main menu or the Paste button in the main toolbar) a previously copied page onto: (1) an active Design View window (2) the panel name in the Workspace Navigator (3) the folder named Pages Pasting a page onto the Popup Pages folder (which is for popup pages only) is not allowed.
81
1. Select Panel > Export Page Images to open the Export Page Images dialog (FIG. 71).
2. Use the checkboxes in the Pages and Popups lists to select which Pages and Popup Pages to export. 3. Specify a target directory for the exported image files in the Export Directory field. Use the browse button
(...) to navigate to a target directory via the Browse For Folder dialog.
4. Specify a template for the resulting filenames in the Filename Template field. By default, the template is
set to include the Panel file name and the Page name into the generated image's file name. As described on the dialog, use $P to insert the Panel name and $p to insert the Page name into the exported file's name. The file extension is automatically, based on the File Format selection.
5. Use the Scale% up and down arrows indicate a percentage to down-scale the exported images. The
default setting is 100% (no scaling).
6. Select a image file type (JPG, PNG or BMP) for the resulting image files from the File Format dropdown. If JPG is selected, you can select the desired level of image compression
7. Select Export current display state for buttons to capture the Pages as they are currently displayed in the
Design View, with the button's current display state. If this option is not selected, it will export the buttons in the (default) Off state. By default, this option is enabled.
8. Select Export popup pages shown on pages to include any Popup Pages that are being displayed on the
Design View at the time of selection in the exported Page image file. If this option is not selected, only the Page underneath any currently viewed Popup Pages will be exported. By default, this option is enabled.
9. Select Export information overlay to include any function code information this is currently being
displayed on the Design View at the time of selection in the exported Page image file. If this option is not selected, only the Page underneath any currently displayed function codes will be exported. By default, this option is disabled.
82
Printing Pages
Select File > Print Preview to display a preview of the pages and popup pages in the active project, as they will appear when printed, in the Print Preview window (FIG. 72).
Each page and popup page in the project is printed one per page. The options in the Print Preview window toolbar include: Print: Prints the current page view Next Page: Displays the next page of the selected file Prev Page: Displays the previous page of the selected file One Page/Two Page: Toggles the page view to one or two pages. This option is enabled only if the active file is longer than one page. Zoom In: Zooms in on the page view Zoom Out: Zooms out from the page view Close: Closes the Print Preview window If you don't have a printer installed on your PC, the File > Print and File > Print Preview options invoke a message alerting you to install a printer.
83
84
1. Select Panel > Add Popup Page (or click the toolbar icon) to open the Add Popup Page dialog (FIG. 73).
2. Enter a descriptive name for the new popup page in the Name field (avoid using inappropriate file name
characters - see the Inappropriate File Name Characters section on page 29).
3. Click the down-arrow to open the Border Style drop-down menu, and click to select the desired border
style for the popup page.
4. In the Position fields, enter Left and Top coordinates (in pixels, relative to the upper-left corner of the
page which is 0,0) for the desired placement of the popup page when it displayed on the panel. Use the Position fields when you need to achieve exact positioning. You can also set it's position manually by dragging it wherever you want it to appear. To position the Popup manually, you must first enable the Show Popup Pages option in the Page menu. You must first select a Popup Page (in the Workspace window) in order to enable the Show Popup Page option in the Page menu. Once the Popup is displayed on the page, you can click and drag to position it manually.
85
Note that once you specify the position of the Popup on the page, any time you display the Popup (via the Page > Show Popup Pages option), the Popup will always appear in the position specified, regardless of the page that you display on.
5. In the Size fields, enter the desired Width and Height dimensions (in pixels) for the popup window.
Popup Pages may be created in any size beyond the minimum and up to the maximum size of the panel.
You can also set the dimensions manually by dragging the sizing handles on the Popup. To resize the Popup manually, you must first enable the Show Popup Pages option in the Page menu. This option opens the Select Popup Pages to Show dialog, where you can select the Popup Page that you want to display on the page. Once the Popup is displayed on the page, you can click and drag the red handles on the Popup to resize it manually. Note that once you resize the Popup on the page, any time you display the Popup (via the Page > Show Popup Pages option), the Popup will retain the dimensions specified, regardless of the page that you display on.
6. Set the Page Background color: a. Click the browse button (...) next to Fill Color (in the States tab) to open the Colors dialog (FIG. 74).
b. Single-click to select a new color from the list. Note the current and new color selections are shown
together for comparison on the right side of the dialog.
7. Set the Border color: a. Click the browse button (...) next to Border Color (in the States tab) to open the Colors dialog. b. Single-click to select a new color from the list. Note the current and new color selections are shown
together for comparison on the left side of the dialog.
8. Set the Text color (for text applied directly to the popup page): a. Click the browse button (...) next to Text Color to open the Colors dialog. b. Single-click to select a new color from the list. Note the current and new color selections are shown
together for comparison on the left side of the dialog.
86
9. Set the Font Name and Size. a. Click the browse button (...) next to Font to open the Choose Font dialog (FIG. 75).
b. A sample of the selected font type and size is displayed in the Sample window. 10. Use the Group drop-down list to assign the newly created popup page to an existing group, if desired. 11. Click OK to add the new Popup Page to the active project. The new Popup Page will be displayed in the
Workspace Navigator Pages folder, under the project to which the page was added. Because the RGB Color palette supports more colors than the Palette Index, you might see some slight variation in some colors if you switch from the RGB Color palette to Palette Index. In most cases, any variation that occurs in the translation is extremely subtle, since TPD4 tries to match the color exactly.
The technique is similar to drawing a button, and the result is the same as through standard means:
1. Select Edit > Popup Draw Tool (or click the toolbar button) to activate the Popup Draw tool.
To access the Popup Draw toolbar button, click and hold the Button Draw tool (in the Selection/Drawing Tools toolbar) for one second to open the drop-down menu containing the Popup Draw tool.
2. Left-click inside the desired page (in the active Design View window), and while holding the left mouse
button down, drag to draw the popup page to the desired size and shape. The minimum popup page size is 15 pixels in height or width. When using the Button Draw or Popup Draw tools, hold down the SHIFT key while drawing to constrain the item to a square. When using the Selection tool, hold down the ALT key while clicking and dragging in a Design View window to move the current selections without selecting anything new on the mouse press (useful for moving popup pages whose entire area is filled with buttons).
87
When using the Selection tool, hold down the CTRL key while clicking and dragging to force a "lasso" selection to occur (even if the mouse was clicked over a button or Popup Page shown on the Page). Lasso selection forces you to draw a square around the outside of the item to select it, as opposed to clicking on the item. With an item selected in a Design View window, hold down the CTRL key while moving the item with the keyboard arrow keys to move by the grid size instead of a single pixel (regardless of the grid visibility or snap to grid setting). Holding the CTRL key while resizing the selected items with the keyboard will resize by the grid size.
3. Upon the creation of a popup page, you will see selection handles appear on the outsides of the popup that
are small yellow squares with red interiors. This is a visual indication that the newly created popup has the Edit Focus.
4. The General tab of the Properties Control window displays general (non-states related) properties for the
popup page in a editable table. Use this table to set the popup page's general properties.
5. The Programming tab of the Properties Control window displays programming-related properties for the
popup page in a editable table. Use this table to set the popup page's programming properties.
6. The States tab of the Properties Control window displays state-related information for the new popup in a
editable table. Edit the (Off) state properties as desired.
88
89
Size Assist Tools toolbar FIG. 77 Position Assist Tools and Size Assist Tools toolbars
With only the popup page selected, you can use the Center Horizontal and Center Vertical, the Size to Image tool (if an image has been placed on the popup page), all five border tools (if a border has been applied to the popup page), as well as apply any of the options from the Aspect Ratio tool. With the selection of one or more buttons on the page in conjunction with a popup page selection, all of the existing Drawing Assist tools are available to allow you to size and align their popup page(s) with existing buttons on the page.
FIG. 79 States tab of the Properties Control window - Fill Color field
3. Click the browse button to open the Colors dialog, and select the color that you want to apply to the
Popup Page.
90
1. Select the Popup Page to which you want to add or change a bitmap image (via the Workspace - Pages
tab).
2. In the States tab of the Properties Control window, click on the Bitmap field to enable the browse (...)
button.
3. Click the browse button to open the Select Resource dialog, where you can select the desired bitmap.
Note that only bitmaps that have already been imported into the project are listed in the Select Resource dialog.
4. Use the Import button (at the lower-left of this dialog) to import new bitmaps into the project. 5. Click Bitmap Justification (also in the States tab of the Properties Control window) to set the
justification of the image on the Popup Page.
FIG. 81 States tab of the Properties Control window - Bitmap Justification field
1. Select the Popup Page to which you want to add or change an image icon (via the Workspace - Pages tab). 2. In the States tab of the Properties Control window, click on the Icon Slot field to enable the browse (...)
button.
FIG. 82 States tab of the Properties Control window - Icon Slot field
3. Click the browse button to open the Select Resource dialog, where you can select the desired icon. If you
don't see the desired image icon file listed in the Select Resource dialog, you need to import the image file into the project and assign it to a slot position.
91
4. Click Icon Justification (also in the States tab of the Properties Control window) to set the justification
of the image icon on the Popup Page.
FIG. 83 States tab of the Properties Control window - Icon Justification field
Since G4 panels utilize address and channel port/address codes (and possess a single state), you can display text directly on a Popup Page in your project. If you are also displaying a bitmap on the Popup Page, the text will automatically be displayed on top of the bitmap, unless otherwise directed via the Draw Order selection by the user (see the Draw Order (Z-Order) section on page 206).
1. Select the Popup Page to which you want to add or change a text (via the Workspace - Pages tab). 2. In the States tab of the Properties Control window, click on the Text field to enable the browse (...) button
(FIG. 84).
Click the browse button to open the Enter Text dialog, and type the page text as desired (up to 4096 characters). Alternatively, you can type directly into the Text field. You don't have to open the Enter Text dialog unless you intend to enter multiple lines of text.
Also use the Enter Text dialog to edit existing page text, if any exists.
3. Select Text Color in the States tab of the Properties Control window to enable the browse (...) button
(FIG. 85).
FIG. 85 States tab of the Properties Control window - Text Color field
Click the browse button to open the Colors dialog where you can select a color for the Popup Page text.
4. Click on Font in the States tab of the Properties Control window to enable the browse (...) button
(FIG. 86).
92
5. Click Text Justification in the States tab of the Properties Control window to set the justification of the
text on the Popup Page (FIG. 87).
FIG. 87 States tab of the Properties Control window - Text Justification field
6. Click Word Wrap, and select whether to wrap text that doesn't fit on a single line on the selected Popup
Page (Yes or No - FIG. 88).
FIG. 88 States tab of the Properties Control window - Word Wrap field
If you select No, any text that won't fit on the selected Popup Page may not be visible, depending on the text justification setting and the size of the Popup Page.
1. Select (or a create) a Popup Page in your project. 2. In the Properties Control window - States Tab, click Video Fill to activate the drop-down list of available
video sources. The Video Fill options available will depend on the video capabilities of the panel type selected (FIG. 89):
FIG. 89 States tab of the Properties Control window - Video Fill field
3. Select a video source from the list to apply the video fill to the Page.
1. Select a popup page in the Workspace Navigator (Pages tab). 2. In the Properties Control window (General tab), click Group to activate the text field (FIG. 90).
93
3. Enter a name for the popup group folder. 4. The named Popup Group folder is created under the Popup Pages folder in the Workspace Navigator
Pages tab (FIG. 91), .
To remove a popup page from a group, select the popup page in the Workspace Navigator, and drag it out of the group, or set the Group field to None in the Properties Control window.
94
FIG. 93 Main Toolbar - Show Popup Page, Hide Popup Page & Hide All Popup Pages buttons
This option deals only with showing a popup page (selected in the workspace) on a page that is currently open in the design view. To show a Popup Page: Select a Popup Page in the Workspace Window (Popup Pages tab), and select Show Popup Page (or click the toolbar button). To hide a selected Popup Page: Select a Popup Page in the Workspace Window (Popup Pages tab), and select Hide Popup Page (or click the toolbar button). To hide all Popup Pages: Select Hide All Popup Pages in the Page menu, Design View context menu, or click the Hide All Popup Pages toolbar button. Additionally, you can drag and drop a Popup Page from the Workspace Window onto a Design View window to show the selected Popup Page.
95
96
Button Draw Tool Popup Draw Tool List Box Draw Tool FIG. 94 Selection/Drawing Tools toolbar
Click and hold the Button Draw Tool to select from the other types of Draw Tools: Button Draw Tool - Select to draw buttons (all types, except List Box buttons). Popup Draw Tool - Select to draw Popup Pages. List Box Draw Tool - Select to draw List Box Buttons.
97
Drawing a Button
Within the Selection/Drawing Tools toolbar is the Button Draw Tool. Click and hold the Button Draw Tool to access a drop-down of the other types of Draw Tools (FIG. 95):
Alternatively, select Edit > Button Draw Tool from the main menu.
1. Select the Button Draw Tool (used for all button types other than List Box Buttons). 2. Open the Page (or Popup page) that the button will be added to, and place your cursor within the
boundaries of an open Design View.
3. Hold down the left mouse button and drag the mouse diagonally. You will see a sizing rectangle as you
drag the mouse, indicating the size of the button you are drawing (FIG. 96).
Hold down the SHIFT key while drawing to constrain the button to a square. With an item selected in a Design View window, hold down the CTRL key while moving the item with the keyboard arrow keys to move by the grid size instead of a single pixel (regardless of the grid visibility or snap to grid setting). Holding the CTRL key while resizing the selected items with the keyboard will resize by the grid size. Minimum button size is 4 x 4 pixels.
4. To complete the button draw action, release the left mouse button (FIG. 97).
The maximum number of buttons per page / popup page = 500. Buttons are always drawn in the Off State. The Button Selection/Draw toolbar allows you to control certain new button creation properties for both the Off and the On state of a button. To toggle between Off and On states, single-click the State button. When using the circle, oval or diamond border types, you may notice the slider bar appearing partially outside of the button border. This is a result of scaling the button smaller than what the selected border requires to accommodate the slider bar. If you see this, try using a "smaller" border (i.e. try using "Circle 50" rather than "Circle 100"). Experiment with different border types to get the results you're after.
5. Upon the creation of a button on a page (or popup page) you will see selection handles appear on the
outsides of the button that are small yellow squares with red interiors, indicating edit focus.
6. Use the fields and options in the General, Programming and States tabs of the Properties Window to
specify general, programming, and state-specific properties for the selected button. Refer to Properties Window for details.
98
7. Select File > Save to save your changes. 8. Select View > Button Preview to preview the button (click Push to simulate a button press) in the Button
Preview window (FIG. 98):
99
1. Select or a create a button. 2. In the General tab of the Properties Window, select Type to access the drop-down menu of Supported
Button Types (FIG. 99).
If a Border Style was specified (in the General tab), then the borders listed here are limited to those contained in the selected Border Style. If no Border Style was specified (none), then all border names are available in the provided list. For List Box buttons, this property applies to all the buttons in the selected column. Refer to the TPD4 online help for previews of each Border Style.
1. Select the button to which you want to add or change text (with the Selection tool). 2. In the States tab of the Properties Control window, click on the Text field in the state that you want add
the text to. This enables the browse (...) button (FIG. 101).
3. Click the browse button to open the Enter Text dialog (FIG. 102), and type the button text as desired.
Alternatively, you can type directly into the Text field.
100
You don't have to open the Enter Text dialog unless you intend to enter multiple lines of text. You can also use the Enter Text dialog to edit existing button text, if any exists. Button text is state-specific, so keep in mind wether you want the text to occur on all states, or only on specific states. Each state of the selected button is represented individually in the States tab of the Properties Control window, so use the Text field in the state that you want to change, or use the Text field under All States to add the text to every state in the button.
4. Click anywhere outside of the Text field to set the button text (or click OK to close the Enter Text dialog). Foreign Language Support for Text
For page and button state text properties, TPD4 supports non-complex scripts (those that can be printed correctly without the use of a rendered script) to the extent that the True Type font currently selected for that state supports the language in question. The size of the font required to support the language (particularly in the case of East Asian languages that utilize ideograms) might be prohibitive due to limits of available memory on the target device. If the size of the font exceeds the memory available on the device, the panel designer may be forced to use a pre-rendered graphic to display the desired text. TPD4 (and the G4 firmware itself) do not provide explicit support for languages that utilize complex scripts. These languages include (but are not limited to) Arabic, Hebrew, and Devangari. In order to display such languages on a page or button state, the panel designer must create a pre-rendered graphic of the desired text (using a suitable graphics application) that can then be imported into the TPD4 panel project as a graphic (icon or bitmap). Once imported into the panel project, the graphic can be assigned to one or more page or button states.
101
1. Select the button to which you want to add or change the Fill Color (with the Selection tool). 2. In the States tab of the Properties Control window, click on the Fill Color field in the state that you want
add the Fill Color to. This enables the browse (...) button (FIG. 103).
Button Fill Colors are state-specific, so keep in mind wether you want the Fill Color to occur on all states, or only on specific states. Each state of the selected button is represented individually in the States tab of the Properties Control window, so use the Fill Color field in the state that you want to change, or use the Fill Color field under All States to add the Fill Color to every state in the button.
3. Click the browse button to open the Colors dialog, and select the color that you want to apply to the
Button/State (FIG. 104).
4. Click OK to close the Colors dialog. Changing the Button Fill Color
Since button fill color is a state-specific property, you can add or change the button fill color via the State tab of the Properties Control window:
1. Select the button that you want to add or change the fill color on (with the Selection tool). 2. In the States tab of the Properties Control window, click on the Fill Color field in the state that you want
to change the fill color on. This enables the browse button (...). Each state of the selected button is represented individually in the States tab of the Properties Control window, so use the Fill Color field in the state that you want to change, or use the Fill Color field under All States to change the fill color on every state in the button.
102
3. Click the browse button (...) to open the Colors dialog, where you can change the fill color. 4. Click OK to close the Colors dialog.
1. Select the button to which you want to add or change a bitmap image (with the Selection tool). 2. In the States tab of the Properties Control window, click on the Bitmap field in the state that you want
add the bitmap to. This enables the browse (...) button (FIG. 105).
Button bitmaps are state-specific, so keep in mind wether you want the bitmap to occur on all states, or only on specific states. Each state of the selected button is represented individually in the States tab of the Properties Control window, so use the Bitmap field in the state that you want to change, or use the Bitmap field under All States to add the bitmap to every state in the button.
3. Click the browse button to open the Select Resource dialog, where you can select the desired bitmap
(FIG. 106).
Note that only bitmaps that have already been imported into the project are listed in the Select Resource dialog. Use the Import button (at the lower-left of this dialog) to import new bitmaps into the project (see the Importing Image Files Into Your Project section on page 54).
103
4. Click Bitmap Justification (also in the States tab of the Properties Control window) to set the
justification of the image on the button (FIG. 107).
1. Select the button that you want to add an Icon to (with the Selection tool). 2. In the States tab of the Properties Control window, click on the Icon Slot field in the state that you want
add the icon to. This enables the browse (...) button (FIG. 108).
Button icons are state-specific, so keep in mind wether you want the icon to occur on all states, or only on specific states. Each state of the selected button is represented individually in the States tab of the Properties Control window, so use the Icon Slot field in the state that you want to change, or use the Icon Slot field under All States to add the icon to every state in the button.
3. Click the browse button to open the Select Resource dialog, where you can select the desired icon
(FIG. 109).
104
If you don't see the desired image file listed in the Select Resource dialog, you need to import the image file into the project and assign it to a slot position.
4. Click Icon Justification (also in the States tab of the Properties Control window) to set the justification
of the icon on the button (FIG. 110).
105
and you apply an icon that doesn't use transparent as the background color, you'll wind up with something like this (FIG. 112):
Obviously you don't want that unsightly box framing the icon! You need to edit the icon's fill color and make the background color transparent. With a transparent background color, the icon actually retains its original rectangular shape, but will display without the background (FIG. 113):
FIG. 113 Button With Image and Icon using transparent background
Check the documentation for your image-editing program to learn about applying transparency to your images. Generally speaking, you will apply a fill to the areas that you want to appear transparent (in most cases the background), and select transparent as the fill color, just like you would for any other color in the palette. When using images with transparencies in TPD4, there are a few key concepts to understand: Of all the image file formats supported by TPD4, only PNGs accommodate transparency as a color. For the transparent color to be interpreted correctly by TPD4, the PNG file must be saved with RGB colors. Unless you are actually using transparency, JPGs are recommended over PNGs, since they are usually slightly smaller in size.
106
1. Select (or a create) a Button in your project. 2. In the Properties Control window - States Tab, click Video Fill to activate the drop-down list of available
video sources (FIG. 114).
The Video Fill options presented will depend on the panel type selected for this project. Since this is a state-oriented setting, be sure to consider all of the button states when applying the video fill. To apply the video fill across all states, use the All States option in the Properties Control window (States tab). Alternatively, you can use Ctrl+A to select all states in the State Manager window.
3. Select a video source from the list to apply the video fill to the button.
For List Box buttons, this property applies to all the buttons in the selected column. Refer to the TPD4 online help for previews of each Text Effect.
Page Flips
A basic touch panel page design concept is the Page Flip. A page flip is a button attribute that allows the user to press a button to "flip" through different panel pages. A basic example would be a button labeled "DVD Player" on a main page that when touched, opens a DVD Player page, containing only buttons that control the DVD player. Typically you would set up a different control page for each piece of equipment. Organization of device controls is essential to good touch panel design, and page flips allow you to separate, organize and cross-link your control pages.
107
Creating a Page Flip 1. Select a (or create a new) button. 2. In the Properties Control window (General tab), click on Page Flip to enable the editable field. 3. Click the browse button (...) to open the Button Page Flip Actions dialog (FIG. 116).
4. Click the Add command button to create a new page flip for this button, and access a drop-down list of
Page Flip Actions (FIG. 117). See the Page Flip Actions section on page 109.
FIG. 117 Button Page Flip Actions dialog (Page Flip Actions drop-down menu)
5. Depending on the type of page flip action selected, you may need to also specify the target page, popup
page or popup group to open. Click the down arrow in the Target column to select the target of the selected Page Flip Action (FIG. 118).
108
FIG. 118 Button Page Flip Actions dialog (Target page selection)
6. Repeat this process as desired to create multiple page flips on the button.
You can apply multiple page flips to any button. Use the up and down arrows to re-arrange the order of the page flips if necessary. TPD4 supports a shortcut for adding page flips: Simply select the target page or popup page for the flip in the Workspace window (Pages tab), drag it into a Design View window and drop it onto a button to create a flip to that page or popup page. Alternatively, you can also drag and drop a page or popup page from the Workspace window onto the Page Flip property in the Properties Control window (General tab). By default, dropping a page will add a 'standard page' flip action, and dropping a popup will add a 'show popup' flip action to that button. If dragged with the right mouse button, the drop will offer a list of all applicable page flip actions.
109
Toggle Popup - This selection populates the Target list box with a list of popup pages in your project. Select a target popup page for the page flip (to toggle hide/show when the button is touched). Hide Popup Group - This selection populates the Target list box with a list of popup page groups in your project. Select a target popup page group for the page flip (to hide when the button is touched). Hide Popups on Page - This selection populates the Target list box with a list of standard pages in your project. Select the page that you want to hide the popups on when the button is touched. Hide All Popups - This selection sets the page flip to clear all popup pages when the button is touched. Page Flip Forget - This selection flips to the page specified, but does not retain the source page in the page flip stack (which is used to execute previous page flips). Use this option when you do not wish to return to the page that initiated the page flip when a subsequent previous page flip action is performed. This allows the user start on page one, flip to page two, flip to page three, then with a previous page flip go directly back to page one. Multiple Popup actions like Toggle popup, Show Popup and Hide Popup for the same Popup Page are allowed on the same button.
Copying/Pasting Buttons
The Copy and Paste functions in TPD4 always work on the element (including buttons, bitmaps, even individual button properties displayed in the Properties Control window) which has the current Edit Focus. This means the last thing selected, which is not always necessarily a button displayed in the Design View windows. For example, if you have selected an item in the Properties Control window (let's say you've selected "Channel Port", and you perform a "Copy", then you will have copied only the Channel Port entry in the Properties Control window, and not the associated button (even though it is selected in the Design View window). You can then paste the Channel Port number anywhere else in the Properties Control window (where the copied data is considered to be a valid entry). If for example you had copied the value "410" from the Left (position) field in the Properties Control window, you are not allowed to paste it to the Address Port field, since it is not a valid Address Port number.
Copying Buttons
Copying a button or buttons from a page or popup page is possible by selecting the desired buttons in an active Design View window then either selecting Edit > Copy from the main menu or by clicking the Copy button in the main toolbar.
Pasting Buttons
You can paste (by either clicking Edit > Paste from the main menu or the Paste button in the main toolbar) a previously copied button or buttons onto: (1) a page or popup page name in the Workspace Navigator window - Pages tab (no open Design View window required) or (2) the active Design View window. When you copy a button from one project into another project that is using a different palette, the pasted button will use the palette that is currently active in the project that the button is copied into (as opposed to the palette that was used to create the button). Depending on the differences between the palette in the button's source project and the palette in the target project, this can cause color shifting on the button. If, when copying buttons from a page to a popup page, the location or dimensions of the copied buttons exceeds the boundaries of the target popup page, the pasted items will attempt to maintain their size, only adjusting the properties required for them to properly fit on the target popup page.
110
111
General Buttons
General buttons are basic dual-state buttons that can be used for most touch panel functions, and are not associated with a specific functionality, as opposed to other button types, which have specific functionalities.
112
113
114
Bargraph Buttons
Bargraph buttons are level monitors and adjustable level controls that can be configured to monitor or adjust audio outputs and lighting levels.
115
116
Slider Types
There are several slider types available for use with Bargraph buttons, selectable via the General tab of the Properties Control window):
Formatting Codes
Formatting codes can be used in the Text for Bargraph and Multi-State Bargraph buttons. The following formatting codes will be replaced with the identified values: $P - level percentage $V - raw level value $L - range low $H - range high $A - adjusted level value (raw level value - range low) $R - range (range high - range low) $$ - $ character
117
1. 2. 3. 4. 5.
Create a Multi-State Bargraph button. Select State 1 in the Properties Control Window (States tab), or in the State Manager window. Apply a Icon Slot assignment to State 1. Set the Icon Justification to Absolute. In the Icon X Offset state property, click the Browse button (...) to open the Image and Text Positioning dialog (FIG. 124).
6. In the Image and Text Positioning dialog, move the icon into the position that you want to be the "start
position" for the bargraph slider. The start position for Multi-State Bargraph buttons is always the bottom of the bargraph (representing the minimum level setting).
118
One key difference between regular and Multi-State Bargraph buttons is the way they work on the panel. The button action is the same (press the bargraph slider and drag to adjust the level), but while regular bargraph buttons can be set as either horizontal or vertical, Multi-State Bargraph buttons are always oriented vertically. The user will always press and drag the slider up and down to adjust the level. Keep this in mind when setting up a custom slider. Always begin the icon animation starting (at State 1) at the bottom position, and ending at the top.
7. Add States to the button (up to 255 total), duplicating State 1 (containing the icon). Generally, you'll want
to delete the "extra" state at the end of the sequence, which does not contain the icon (the original State 2 setting). FIG. 125 shows the State Manager Window with 10 states:
FIG. 125 State Manager Window (showing Multi-State Bargraph button with 10 states)
Keep in mind that the more states used to animate the movement of the icon, the smoother and more accurate the slider will be. The range of motion (i.e. the size of the button that the icon will travel across) needed for the slider should be taken in to consideration as well. A "short" bargraph button would require less states to create a smooth motion than a "long" one (that for example spans the entire touch panel page).
8. Select the last State in the Properties Control Window (States tab), or in the State Manager window. 9. In the Image and Text Positioning dialog, move the icon into the position that you want to be the "end
position" for the bargraph slider. The end position for Multi-State Bargraph buttons is always the top of the bargraph (representing the maximum level setting). When you close the Image and Text Positioning dialog, the icons new position in the last State is indicated in the State Manager window (FIG. 126):
FIG. 126 State Manager Window (new Icon position for final State)
10. In the State Manager window, Ctrl+click to select just the first and last states.
119
11. Right-click on either of the selected states and select Slot Position from the Tweeners sub-menu. The
results of the tweening are displayed in the State Manager window (FIG. 127).
To preview the custom slider in action, open the Button Preview window, and click and drag the cursor up and down within the button to move the slider up and down. Remember, you can also utilize the other tweeners in conjunction with the custom slider to create complex color transition effects. See the Working With Animation Effects section on page 223.
Click the browse button (...) next to Touch Map to select an image to use as a Touch Map (via the Resource Manager). The alpha values in the selected image represent the areas where touch will be registered, and the red-channel values represent the overall value to change the control to.
120
Joystick Buttons
Joystick buttons are vertical and horizontal direction controllers that can be used for pan and tilt control (typically for camera operation).
Because Joystick buttons don't work in the same way as the other button types (in that they don't generate pushes/releases), there is no On state associated with them. Joystick buttons only use the Off state, as is reflected in the State tab of the Properties Control window.
121
122
123
Computer Control buttons are constrained to one of three predefined sizes (640x480, 800x600 or 1024x768). Computer Control buttons support password protection separate from any additional username/ password credentials that the user may require to access the remote system once the connection has been made. Computer Control buttons only use one state: Off.
124
TakeNote Buttons
TakeNote buttons work in conjunction with G4 Computer Control to provide a remote desktop to an attached PC running a VNC server, allowing you to use a G4 panel to annotate to either a windows desktop or on other G4 panels.
125
The settings that are specified in this toolbar become the default settings for all new buttons, until the settings are changed. This way, you can quickly create sets of buttons that are visually consistent. This toolbar is normally at the top of your screen and provides you with a mechanism for controlling various elements of future button creation. This toolbar can either be free floating or docked, but cannot be docked in a vertical fashion, as the drop down lists contained on the toolbar do not support this type of docking. On the extreme left side of the toolbar, you will see a button that will allow you to toggle the default choices for both the Off and the On state of a button. You can control the button type, border family, font, font size, button fill color, border color and text color. To set new button parameters:
1. Select the Button Draw tool from the Selection/Draw toolbar (FIG. 134). When the Button Draw tool is
selected, the Drawing toolbar becomes activated.
2. Buttons are always drawn in the Off State. The Drawing toolbar allows you to control certain new button
creation properties for both the Off and the On state of a button.
3. Click the down-arrow on the first drop-down menu to the right of the State button to select the Type of
button you want to create (default = general). This selection becomes the default for all subsequent buttons, until the Button Type selection is changed.
4. Click the down-arrow on the second drop-down menu (to the right of the Button Type drop-down) to
select a Border Style for the button. This selection becomes the default for all subsequent buttons, until the Border Style selection is changed.
5. Use the next two drop-down menus to specify a Font and Font Size as the default text attributes for new
buttons. These selections become the default text settings for all subsequent buttons, until the Font and Font Size specifications are changed.
6. Click the down-arrow on the first palette button (see FIG. 133) to set the Border Color for the button.
Again, this selection becomes the default for all subsequent buttons, until the Border Color setting is changed.
7. Click the down-arrow on the second palette button (see FIG. 133) to set the Fill Color for the button. This
selection becomes the default for all subsequent buttons, until the Fill Color setting is changed.
8. Click the down-arrow on the third palette button (see FIG. 133) to set the Text Color for the button. Of
course, this selection becomes the default for all subsequent buttons, until the Text Color setting is changed.
126
Send to Front/Send To Back - When you have one or more buttons that overlap on the page, use these commands to place the selected button(s) to either the top or bottom layer on the page. Shift Up/Shift Down - When you have one or more buttons that overlap on the page, use these commands to shift the selected button(s) up and down just one layer on the page (as opposed to placing them on just the top or bottom layer).
Align: Left, Horizontal Center, Right, Top, Vertical Center, Bottom - Use the Align commands to quickly align selected buttons on the page, relative to each other (not relative to the area of the page). Choose which Align tool to use based on the shape and size of the selected buttons, and the desired design effect. You must select at least two buttons to enable the Align options, and note that the first button you select becomes the controlling button (all other buttons are moved to align with the controlling button). Center Horizontal/Vertical - Use these commands to quickly center one or more selected buttons either Horizontally or Vertically on the page. Horizontal Spacing (Equal, Increase, Decrease, Remove) - Use these commands to control the horizontal spacing between selected buttons. To distribute buttons evenly on the page, select equal spacing, then increase or decrease spacing as necessary. You must have at least three buttons selected to enable these options, and note that the first button you select becomes the controlling button (all other buttons are moved to align with the controlling button). Vertical Spacing (Equal, Increase, Decrease, Remove - Use these commands to control the vertical spacing between selected buttons. To distribute buttons evenly on the page, select equal spacing, then increase or decrease spacing as necessary. You must have at least three buttons selected to enable these options, and note that the first button you select becomes the controlling button (all other buttons are moved to align with the controlling button).
127
Make Same Width/Height/Size - Select a button that has the width or height that you want to match, then select the button(s) that you want to resize, and click one of these commands. All selected buttons are resized to match the width or height of the controlling button (the first button selected). Size To Image - Select a button that has either a bitmap or icon image assigned to it, and click Size To Image to automatically resize the button to the same size as it's associated bitmap or icon. Note that the border uses some of the interior area of the button. Depending on the size of the button, and the selected border type, Size To Image may appear to resize the button to be too small to display the entire image (because part of the image is hidden, or cropped by the border style). As a design concept, try to choose button border styles that accommodate and compliment the button image (if there is one). For example, the Circle and Oval border types are more problematic in terms of potential image cropping than are rectangular borders (assuming the associated image is rectangular). Aspect Ratio - This tool allows you to set the aspect ratio (for use with video fills). Click this button to select from the drop-down menu: 4:3 Video 16:9 Letterbox Video 16:9 Anamorphic Video 1.85:1 Letterbox Video 1.85:1 Anamorphic Video 2.35:1 Letterbox Video 2.35:1 Anamorphic Video Make Ideal For Border - This command automatically resizes the selected button(s) to the smallest size possible that still accommodates the selected border. This option is typically for use with the Circle, Oval and Diamond border types. For example, if you create a button with the border "Circle 150", and draw a circle that is smaller than 150 pixels in diameter (or not perfectly round), the resulting button will not appear as a perfect circle. Click this command to resize the button to become a perfect circle. Increase/Decrease Width/Height For Border - These commands are like nudge controls for button width and height. Click these buttons to adjust the button width/height in increments specific to the selected border. Note that since all measurements in TPD4 are zero-based, the Increase/ Decrease Width commands will always adjust the width on the right side of the selected button(s), and the Increase/Decrease Height command will always adjust the height on the bottom side of the selected button(s).
128
The options in this dialog include: Alignment - These options allow you to align the selected buttons horizontally, vertically (or both) along either the centers of the buttons, or along any edge (top, bottom, left or right). Note that the order in which the buttons are selected in the Design View window controls how several of these options work. Horizontal - select the type of horizontal alignment to apply to the selected buttons: none: No alignment (default setting). left edges: Aligns the left edges of all selected buttons. centers: Aligns the centers of all selected buttons. right edges: Aligns the right edges of all selected buttons. left edges to right: Aligns the left edges of selected buttons to the right edge of the button that was selected first. right edges to left: Aligns the right edges of selected buttons to the left edge of the button that was selected first. left to right spacing: Aligns the left edge of the first selected button to the right edge of the next selected button. All selected buttons are aligned this way in the order in which they were selected. right to left spacing: Aligns the right edge of the first selected button to the left edge of the next selected button. All selected buttons are aligned this way in the order in which they were selected. Offset - The horizontal alignment values may be offset either absolutely or incrementally. Indicate the number of pixels to offset the alignment options (range = 0 - the horizontal measurement of the selected panel in pixels). Default = 0. Positive values offset the selections to the right, negative values offset them to the left. Vertical- select the type of vertical alignment to apply to the selected buttons: none: No alignment (default setting). top edges: Aligns the top edges of all selected buttons. centers: Aligns the centers of all selected buttons. bottom edges: Aligns the bottom edges of all selected buttons. top edges to bottom: Aligns the top edges of selected buttons to the bottom edge of the button that was selected first. bottom edges to top: Aligns the bottom edges of selected buttons to the top edge of the button that was selected first.
129
top to bottom spacing: Aligns the top edge of the first selected button to the bottom edge of the next selected button. All selected buttons are aligned this way in the order in which they were selected. bottom to top spacing: Aligns the bottom edge of the first selected button to the top edge of the next selected button. All selected buttons are aligned this way in the order in which they were selected. Offset - The vertical alignment values may be offset either absolutely or incrementally. Indicate the number of pixels to offset the alignment options (range = 0 - the vertical measurement of the selected panel in pixels). Default = 0. Sizing - These options allow you to resize the selected buttons to make them match in width, height or both. Note that the order in which the buttons are selected in the Design View window controls how several of these options work. Make Same Width - Resizes all selected buttons to match the width of the button that was selected first. Change - specify a number of pixels to add or subtract from the selections width (positive values add pixels, negative values subtract). Specify whether to adjust the sizing values absolutely or incrementally. Make Same Height - Resizes all selected buttons to match the height of the button that was selected first. Change - specify a number of pixels to add or subtract from the selections height (positive values add pixels, negative values subtract). Specify whether to adjust the sizing values absolutely or incrementally.
Previewing a Button
The Button Preview Window allows you to preview a button so you can check size, border, text and color settings on a Push and Release of the button. To preview a button:
1. Select the button that you want to preview. 2. Select View > Button Preview to open the Button Preview window (FIG. 139).
Like the other windows in TPD4, the Button Preview window is fully dockable, but initially it opens undocked. Double-click inside the title bar to dock the window. The Button Preview window displays a preview of the selected button. Initially the button is shown in its Off state.
130
1. Create a new button. The button can be of any type, but normally you would use the General button type. 2. In the Programming tab of the Properties window, click the Address Port field to enable the drop-down
menu.
4. Click the Address Code field to enable the drop-down menu (FIG. 141).
5. Click the plus (+) symbol next to Date Display to expose a drop-down menu of time display formats to
choose from (FIG. 142).
131
1. Create a new button. The button can be of any type, but normally you would use the General button type. 2. In the Programming tab of the Properties window, click the Address Port field to enable the drop-down
menu.
4. Click the Address Code field to enable the drop-down menu (FIG. 141).
132
5. Click the plus (+) symbol next to Time Display to expose a drop-down menu of time display formats to
choose from (FIG. 145).
133
134
135
When copying a page between panels, or when converting between panel types that both support external buttons, the configuration of the source panel's external controls are copied to the destination panel's controls according to the type of control (general, LED, cursor up, cursor down, cursor left, cursor right, or cursor select.
1. Double-click on the External Controls entry to display a Design View Window representing the layout of
the external controls on the target panel, which may be selected like any other button to edit their properties.
2. Use the Selection Tool to pick the external control that you want to configure (in the Design View
Window).
3. Once you have selected an external button, you can use the General tab of the Properties Control window
to set/edit general external control properties. To edit any of the properties in the table, click on an item in the right-hand column to activate the field. Depending on the item selected, you can either set the item manually, select from a drop-down menu, or both. The following global button properties are supported for external Pushbuttons: External Pushbuttons - Supported Properties
General Properties Name Disabled Password Protection Page Flip Programming Properties Address Port Address Code Channel Port Channel Code Level Control Type String Output Port String Output Command Port Command Output Note: Maximum command, string and text length = 4096 characters. States Properties Note: There are no State properties to configure for external controls.
136
Global (panel-wide) settings for external controls are accessed through the new External Controls entry in the panel's tree (displayed in the Pages tab of the Workspace Navigator Window). Double-click on the External Controls entry to display a Design View Window representing the layout of the external controls (buttons and LEDs) on the target panel, which may be selected like any other button to edit their properties. Note that are no State properties to configure for external controls. The following global button properties are supported for external LEDs: External LEDs - Supported Properties
General Properties Name Disabled Programming Properties Feedback Address Port Address Code Channel Port Channel Code States Properties Note: There are no State properties to configure for external controls.
1. Double-click on a Page entry (in the Pages tab of the Workspace Navigator Window) to display the
selected page in a Design View Window.
2. Select Pages > Show External Controls to change the Design View to represent the layout of the external
buttons on the target panel.
3. Use the Selection Tool to pick the external control that you want to configure (in the Design View
Window).
4. Once you have selected an external control, you can use the General tab of the Properties Control window
to set/edit general button properties. To edit any of the properties in the table, click on an item in the righthand column to activate the field. Depending on the item selected, you can either set the item manually, select from a drop-down menu, or both. The following page-specific properties are supported for external Pushbuttons: External Pushbuttons - Supported Properties
General Properties Override Global Settings Name Disabled Password Protection Page Flip Programming Properties Address Port Address Code Channel Port Channel Code Level Control Type String Output Port String Output Command Port Command Output Note: Maximum command, string and text length = 4096 characters. States Properties Note: There are no State properties to configure for external controls.
Override Global Settings - This option (Yes/No) determines if the button performs the global action defined for the button, or if its behavior is specific to this page. If set to Yes, the remainder of the external buttons properties will indicate their global values as read-only (default = No).
137
138
139
The use of Unmanaged mode is typically limited to special circumstances where moving or modifying individual subordinate buttons is absolutely necessary, and should be considered an advanced mode for seasoned programmers only.
All toolbars in TPD4 are dockable, so they can be arranged within the application window. To undock any toolbar, double-click anywhere inside the toolbar (but not on a toolbar button). Double-click again to dock the toolbar. To move the toolbar, click and drag using the handle (the single vertical bar) at the far-left side of the toolbar. Select View>Toolbars>List Box Toolbar to show/hide this toolbar: Add Row: Click to add a row to the selected List Box Button. Add Column: Click to add a column to the selected List Box Button. Delete Row: Click to delete the last row from a selected List Box Button. Delete Column: Click to delete the selected column from a selected List Box Button.
140
1. Select the List Box Draw Tool from the Selection/Drawing Tools toolbar (FIG. 147):
Use the List Box Button draw tool to draw list box buttons on the design view as you would any other button type.
2. Create a list box button by holding down the right mouse button on the view and dragging the mouse.
This will create a list box button with one subordinate button (FIG. 148):
By default the list box container is created with a transparent background and a white border. If the background color of the page is white, you will not see the container. You can select the container and change the border color to black. This property is only visible in TPD4 and will not appear on the panel. This way you can see the container (FIG. 149):
3. In managed mode you add subordinate buttons by adding columns or rows to the list box. Select the List
Box Container button and click the Add Column or Add Row buttons from the List Box Toolbar (see FIG. 146 on page 140). The example below shows a List Box button with two columns and three rows (FIG. 150):
141
When the List Box Draw Tool is selected, the Drawing Tools toolbar can be used to set the border type, font, border color, fill color and text color for the on and off states of the subordinate buttons, when the List Box Button is created.
Adding Rows 1. Select a List Box button in the Diagram Area (FIG. 151).
2. Click the Add Row toolbar button (in the List Box toolbar). This function adds a row to the bottom of the
list box container (FIG. 152).
The height of the row will be equal to the List Row Height (general) property of the list box container. The number of buttons added will be equal to the List Column (general) property. The width of each button is equal to the Column Width (general) property of each column in the list box. When a new row is added, each button will have the same state properties (i.e. Fill Color, Border Color etc.) as the button above it.
142
Adding Columns 1. Select a List Box button in the Diagram Area (FIG. 153).
2. Click the Add Column toolbar button (in the List Box toolbar). This function adds a column to the righthand side of the list box container (FIG. 154).
The width of the last column is used for the new column. If a column is selected, the new column will have the same width as the selected column. A column of buttons will appear on the right-hand side of the list and will contain the number of buttons equal to the List Row (general) property. The maximum number of column allowed in a List Box Button is 20.
Deleting Columns 1. Select the List Box button in the Diagram Area. 2. Click the Delete Column toolbar button (in the List Box toolbar) to delete the right-most column in the
list box container. After deletion the container will be resized. If only one column exists, this function is disabled. If a column is deleted, and is part of the Column Display Order field of the parent, the Column Display Order field will be reset to "empty".
Deleting Rows 1. Select the List Box button in the Diagram Area. 2. Click the Delete Row toolbar button (in the List Box toolbar) to delete the bottom-most row in the list
box container. If the preferred row is deleted, the preferred row property should be set back to 1. If only one row exists, this function is disabled.
143
Select the Container to set button properties for the entire button (affecting all subordinate buttons within the container). Alternatively, you can select individual columns within the Container button to set button properties at the column level. Click on the outside edge of the List Box button to select the Container. The (red) handles indicate that the entire button is selected, as shown below (FIG. 156):
144
1. The List Box button that contains all the subordinate buttons (called the List Box Container button)
presents properties that deal with the list box as a whole. These properties are viewed by selecting the list box Container (FIG. 157):
2. The other perspective is based on columns of the list box. Managed mode will not allow you to select or
move buttons outside of the container. Instead, you select columns of the list box to change properties for all the buttons in that column such as button width, border type, fill color etc (FIG. 158).
145
1. Select the Container to set button properties for the entire button (affecting all subordinate buttons within
the container). Click on the outside edge of the List Box button to select the Container. The (red) handles indicate that the entire button is selected, as shown in FIG. 159:
2. To edit any of the properties in the table, click on an item in the right-hand column to activate the field.
Depending on the item selected, you can either set the item manually, select from a drop-down menu, or both.
146
There are additional properties that can be applied to a selected column within the Container button. See the Setting List Box Button Column Properties section on page 149 for details.
147
List Box button columns support multiple states. To edit any of the properties in the table, click on an item in the right-hand column to activate the field. Depending on the item selected, you can either set the item manually, select from a drop-down menu, or both.
148
Note: All of the above are available only for Bitmap Justification unmanaged list boxes. Managed list boxes Scale Bitmap To Fit do not have any programming Icon Justification properties available. Font Text Text Justification Text Effect Word Wrap Marquee Direction Marquee Repeat
149
150
151
removing the check for whether the list box is managed or not, this functionality should carry over to unmanaged list boxes. State properties of individual unmanaged list box button can be changed. The High Port of a parent can not be changed via properties. The Channel Port/Code of a child can not be changed via properties.
By default, List Box buttons are in managed mode when first created.
1. Select the List Box Draw Tool from the Selection/Drawing Tools toolbar (FIG. 162):
Use the List Box Button draw tool to draw list box buttons on the design view as you would any other button type.
2. Create a list box button by right clicking on the view and dragging the mouse. This will create a list box
button with one subordinate button (FIG. 163):
3. Select the List Box Container button and click the Add Column or Add Row buttons from the List Box
Toolbar. The example below shows a list box button with two columns and three rows (FIG. 164):
152
5. The program displays a warning message concerning the rules concerning unmanaged mode:
Once set, the List Box cannot be set back to managed mode except through the Undo feature. In unmanaged mode you can resize and move individual subordinate buttons of the list box but you cannot add nor delete rows and columns.
If the change in size specified by the drag is not equally divisible by the number of rows, the remainder is applied to the Preferred Row Height. If Preferred Row is 0, the remainder is dropped. The minimum height for each row is 4 pixels, plus the offset of the parent if the List Offset Enabled (General) property is set to "yes". Use the corner resize handles to do a combination what the center handles do by resizing one of the corners. If the List Preferred Row is set to a non-zero value (i.e. 1), up to the number of rows present in the list box, resizing maintains the size ratio of the preferred row vs. the other rows. When a List Box Column is selected, only the right center handle is enabled for resizing (FIG. 166).
When a single column is selected (not including the last column) resizing is limited to the width of the selected column and the next column to the right. After resizing the column, the next column to the right will resize to reflect the change. If the last column is selected, resizing is limited to the size of the last column plus the width left on the right hand side of the list box to the right edge of the page or popup. This allows you to change the overall width of the list box. When two or more columns are selected, the maximum width allowed per column is the amount of width from the right-hand side of the list box to the right edge of the page or popup divided by the
153
number columns selected. When resized in this way, the new width is applied from right-to-left until the maximum width is met. When resizing the width of a column, the minimum allowed is 4 pixels.
When you draw a List Box button with the List Box Draw Tool, you can use the Drawing Tools Toolbar to specify the border type, font, border color, fill color and text color for the On and Off states of the subordinate buttons, when the List Box Button is created. When you add columns and rows (with the List Box Button Container selected), the colors are defined via the Drawing Tools Toolbar; the width of the new column is defined based on the last column in the list box. If you select a column, then click the Add Column button (in the List Box Toolbar), the properties (including width) of the new column are taken from the selected column.
154
FIG. 168 illustrates a List Box (in white), five navigation buttons (in cyan) and a scroll bar (in yellow):.
Creating List Box Navigation Buttons 1. Add a general button to the page and set the Channel Port to the List Box and set the Channel Code to the
desired function. For example, the three large cyan button in the figure above could be used to sort columns of the list box.
2. All three button's Channel Port should be set to the List Box (via the Properties Control - Programming
Tab - assuming that at least one List Box button is defined in the project).
3. The first button's Channel Code would be set to "Sort Column 1". 4. The second button's Channel Code would be set to "Sort Column 2". 5. The third button's Channel Code would be set to "Sort Column 3".
The smaller cyan buttons, one above and one below the yellow button could be set to scroll the list box up and down:
6. Set both button's Channel Port to the List Box. 7. Set the top button's Channel Code to "Up" and the bottom button's Channel Code to "Down".
Alternatively you could leave these buttons out and program the external buttons (R4) to move the list up and down. If you haven't renamed any of the List Box buttons that have been added to this project, they will be listed as "List Box 1", "List Box 2", etc. See the SystemGenerated Project File Names section on page 30 for details.
155
FIG. 169 List Box Navigation Scroll Bar - Level Code set to Scroll (option1)
The Off state fill color is set to white and the On state fill color is set to green. The user can drag the bargraph at runtime to scroll the list up and down. The second option (shown below) uses the slider property to indicate position (FIG. 170):
FIG. 170 List Box Navigation Scroll Bar - Level Code set to Scroll (option 2)
Both state fill colors for On and Off are set to white. Again, the user can drag the bargraph at runtime to scroll the list.
These bargraphs depict position only. The size of the list is not represented.
156
FIG. 172 List Box Feedback Scroll Bar - Scroll Bar Components
Buttons bg1 and bg2 are called Mask buttons. They mask portions of button bg3 to visually indicate slider position and size. To set these buttons up as a list box scroll bar set the button properties as follows: Button bg1 properties: Level Port: set to List Box Level Code: bottom mask Off Button State: Fill color set to Transparent On Button State: Fill color set to yellow
157
Button bg2 properties: Level Port: set to List Box Level Code: top mask Off Button State: Fill color set to yellow On Button State: Fill color set to Transparent Button bg3 is not connected to the list box. It is located behind buttons bg1 and bg2 and it's color will show through the transparent parts of bg1 and bg2 to represent the slider of the scroll bar. Button bg3 is not really needed. It could have been left out leaving the background color to show through as the slider.
158
159
Dynamic tables are great for creating parameters for displaying changing options, i.e., date, time or temperature; however, if the device loses power it will not be able to display the last known states.
1. If you haven't already done so, create a new List Box button, with enough rows and columns to
accommodate the data that you will enter into the List Data Table.
2. Select Panel > Edit List Tables (or click the toolbar button) to open the Edit List Tables dialog
(FIG. 173 on page 159).
3. Click New to open the Create New Table dialog (FIG. 174), where you will specify basic properties for
the new table.
Name of Table: Type a unique name for the table. Number of Columns: Enter the number of columns to include in the table. Number of Rows: Enter the number of rows to include in the table. Port: Assign a Port and Address for the table. See the Working With Function Codes section on page 207 for more information on Ports and Addresses. Address: Assign a Port and Address for the table.
4. Click OK to save your changes and proceed to the Column Types dialog (FIG. 175). Use the options in
this dialog to assign a name and type to each column in the table. This dialog displays the number of columns indicated in the Create New Table dialog:
160
Column: Displays the number associated with each column in the table. Click the Column button to sort the columns in descending/ascending order. Name: Use these text fields to enter a unique name for each column. Type: Click inside these fields to access the Type drop-down menu, to assign a specific type to each column. The following are the available column types to select from: Text - The column will contain a variable length text value. Icon - The column will display icons from a table of icon references. Bitmap - The column will display bitmap images from a table of bitmap references. Page Flip - The column will display valid page names that will be activated as page flips. This column is hidden from the user on the display and is used as navigation. Port/Channel Code - This column will contain a port/channel code combination that is sent to the master upon activation of a particular row.
5. Click OK to save your changes and return to the Edit List Tables dialog.
Note that the Table Data display reflects the columns/rows and column names that you specified. Also note that the table you just created is listed in the Tables list box (left side of the dialog). As you create more new tables, each one is added to the Tables list. You can select any table from the list to edit its properties.
6. At this point, use the command buttons along the top of this dialog to add/delete rows and columns from
the active table, resize the table, and specify a Port and Address to the table: Add Row - Click to add a row to the table. Delete Row - Click to delete one or more selected rows from the table. Add Column - Click to add a column to the table. This option invokes the Add List Table Column dialog (FIG. 176). Use the options in this dialog to assign a name and type to each column in the table.
161
This dialog displays the number of columns indicated in the Create New Table dialog: Column: Displays the number associated with each column in the table. Click the Column button to sort the columns in descending/ascending order. Name: Use these text fields to enter a unique name for each column. Type: Click inside these fields to access the Type drop-down menu, to assign a specific type to each column. The column type options include: Text (default) - Assign to columns that will be used to display text. Bitmap - Assign to columns that will be used to display bitmaps. Icon - Assign to columns that will be used to display icons. Channel Code - Assign to columns that will be used to display channel code information. Page Flip - Assign to columns that will invoke a page flip when selected.
8. Edit the cell data as desired: When you click inside a particular cell:
If column is of the type "Text", the user will be able to enter data. If the column is of the type "Page Flip", then a drop-down list of available pages is displayed. If the type is of the type "Channel Code", then you will need to enter a channel port/code combination value. If the column is of the type "Bitmap", you will be able to select a bitmap that has already been defined in the project.
162
If the column is of the type "Icon", you will be able to select an icon that has already been defined in the project. To move rows, select one or more rows and click and drag them to another spot in the table.
9. Now you will attach the List Data Table to a List Box Button - see Attaching a List Data Table to a List
Box Button section on page 160.
1. In the Design View window, select the List Box Button that you want to associate with a List Data Table. 2. In the General tab of the Properties Control Window, click inside either the List Table Port or the List
Table Address fields. Clicking inside these fields enables the browse (...) button. Click this button to access the Attach Table To List Box dialog (FIG. 177).
3. This dialog lists all Static List Data Tables in your project. Select the table that you want to attach to the
selected List Box Button. Once a table is selected, the Table Port and Table Address fields are automatically updated with that table's port/address assignments.
163
1. 2. 3. 4.
Select Panel > Edit List Tables to open the Edit List Tables dialog (FIG. 173 on page 159). Select the table that you want to delete, in the Tables list. Click the Delete command button. The program will prompt you to verify this action before the table deleted. Click OK to proceed.
1. Use Data List Commands to define List Data in your NetLinx Code. 2. Attach the Dynamic List Data Table to a List Box Button
There are two types of List Box Commands that can be used to define List Box Data in your NetLinx Code: Data List Commands Command Structure List View
164
165
166
167
168
169
SEND_COMMAND Keypad, "'^LDA-1,0,02,The Shins, Chutes Too Narrow, "Mine's Not a High Horse", "10,2"'" SEND_COMMAND Keypad, "'^LDA-1,0,03,The Shins, Chutes Too Narrow, So Says I, "10,3"'" SEND_COMMAND Keypad, "'^LDA-1,0,04,The Shins, Chutes Too Narrow, Young Pilgrim, "10,4"'" SEND_COMMAND Keypad, "'^LDA-1,0,05,The Shins, Chutes Too Narrow, Saint Simon, "10,5"'" SEND_COMMAND Keypad, "'^LDA-1,0,06,The Shins, Chutes Too Narrow, Fighting in a Sack, "10,6"'" SEND_COMMAND Keypad, "'^LDA-1,0,07,The Shins, Chutes Too Narrow, Pink Bullets, "10,7"'" SEND_COMMAND Keypad, "'^LDA-1,0,08,The Shins, Chutes Too Narrow, Turn a Square, "10,8"'" SEND_COMMAND Keypad, "'^LDA-1,0,09,The Shins, Chutes Too Narrow, Gone for Good, "10,9"'" SEND_COMMAND Keypad, "'^LDA-1,0,10,The Shins, Chutes Too Narrow, Those to Come, "10,10"'" //Sets the column number (4) to display in the view with address 2 SEND_COMMAND Keypad, "'^LVC-2,4'" //Updates the view at address 2 SEND_COMMAND Keypad, "'^LVU-2'" } } //Sort the list by title instead of Track number BUTTON_EVENT[Keypad,6] { PUSH: { //Set the sort order for view address 2. The 1 indicates forward sort. SEND_COMMAND Keypad, "'^LVO-2,1'" //Set the column of the list on which to base the sort of the data displayed //at view address 2 (in this case column 4 which contains titles) SEND_COMMAND Keypad, "'^LVS-2,4'" //Updates the view at address 2 SEND_COMMAND Keypad, "'^LVU-2'" } } //Sort the list by Track number instead of title BUTTON_EVENT[Keypad,7] { PUSH: { //Set the sort order for view address 2. The 1 indicates forward sort. SEND_COMMAND Keypad, "'^LVO-2,1'" //Set the column of the list on which to base the sort of the data displayed //at view address 2 (in this case column 1 which contains track numbers) SEND_COMMAND Keypad, "'^LVS-2,1'" //Updates the view at address 2 SEND_COMMAND Keypad, "'^LVU-2'" } } BUTTON_EVENT[KeypadMusic,1] BUTTON_EVENT[KeypadMusic,2] BUTTON_EVENT[KeypadMusic,3]
170
BUTTON_EVENT[KeypadMusic,4] BUTTON_EVENT[KeypadMusic,5] BUTTON_EVENT[KeypadMusic,6] BUTTON_EVENT[KeypadMusic,7] BUTTON_EVENT[KeypadMusic,8] BUTTON_EVENT[KeypadMusic,9] BUTTON_EVENT[KeypadMusic,10] { PUSH: { SEND_COMMAND Keypad2, "'^TXT-1,0,[Track ',itoa(BUTTON.INPUT.CHANNEL),']'"
1. In the Design View window, select the List Box Button that you want to associate with a List Data Table. 2. In the General tab of the Properties Window, click inside either the List Table Port or the List Table
Address fields. Clicking inside these fields enables the browse (...) button. Click this button to access the Attach Table To List Box dialog (FIG. 178).
3. Enter the Table Port and Table Address of the dynamic List Table. 4. Click OK to save your changes and close the dialog.
171
Changing Port and Address Assignments for a List Data Table 1. Open the Edit List Tables dialog (FIG. 173 on page 159), via Panel > Edit List Tables, or click the
toolbar button).
2. Select a List Data Table (in the Tables list). 3. Click the Port/Addr command button.
This opens the Change/Port Addr dialog (FIG. 164), showing the current Port/Address assignments for the selected table.
4. Enter the new Port and Address assignments for this List Data Table in the Table Port and Table
Address fields at the bottom of this dialog.
172
173
174
175
Use the Apply to All option to set button properties to edit multiple buttons simultaneously. If the Apply To All button is not depressed, and you select more than one button to act on, the Prev or Next buttons will activate on the Properties Control window. Also note that while you have multiple buttons selected, only one of them has the edit focus at any given time. Use the Prev and Next buttons to cycle through the selected buttons to view each button's properties in the Properties Control window. The button represented in the Properties Control window is the one with edit focus. All modifications are always on the button with the edit focus. If the Apply To All button is depressed and you select more than one button to act on, the Prev or Next buttons are unavailable and every selected button has the edit focus. You may also notice that one or more (if not all) of the property values in the grid are blank. The only values that will display in the grid while the Apply To All button is depressed are those values that are common among all selected items. Typing in or changing a value in any property box will immediately affect all selected buttons, provided that the change can be applied to them all. In the event that a value is appropriate for one (or more) buttons but inappropriate for others, you will see a message that states that the value was only applied to those buttons for which it was valid. This Apply To All button works on multiple button selections, but not on multiple states for a single button. To make state-oriented changes across multiple states, select the states that you want to edit and they will appear listed in the States tab of the Properties Control window. To make changes that affect all states on a button at once, use the All States option in the States tab (located directly above the other listed states for the selected button).
These buttons allow you to quickly edit the selected buttons individually. Hold down the Shift key and click to select multiple buttons. When you have multiple buttons selected, only one of them has the edit focus at any given time. Use the Prev and Next buttons to cycle through the selected buttons to view each button's properties in the Properties Control window. The button represented in the Properties Control window is the one with edit focus. All modifications are always done on the button with the edit focus.
176
1. Select Grab Properties Tool from the Edit menu, the Design View context menu, or click the toolbar
button to activate the Grab Properties tool (FIG. 183).
2. Click on a Button or Page in a Design View window to take a snapshot of the properties and values of the
Button, Page or Popup Page that is clicked on. This action invokes the Property Painter dialog (also accessible via the View menu). The following example shows the Property Painter dialog invoked as a result of selecting a General-type button (FIG. 184).
3. In the Property Painter dialog, click the checkboxes to select the Properties of the selected Button, Page
or Popup Page that you want to grab. The set of selected properties (but not their values) may be named and saved for later use by entering a name in the Property Set text box. See Saving a Properties Set.
4. Click Grab Selected to grab (copy) the selected Properties. 5. With the Selection tool (FIG. 185), select another Button, Page or Popup Page in the Design View.
177
Hold the Shift key and left-click to apply the properties to multiple selected Buttons.
6. Click Paint Selected to apply the properties that were "grabbed" from the first item to the selected item(s)
(FIG. 186).
178
General Properties
All General properties (including Page, Popup Page and Button properties) are listed below. These properties are editable via the General tab of the Properties Window:
Above Popups
This option allows you the selected button(s) on a Main page to always remain on top of any popup pages (Yes/No, default = No). This option is not available for buttons on a popup page.
Animate Time Up
The time intervals between states as the button animates from the Off to the On state. This value is in 1/100th second increments (default = 2). This property is available for Multi-State buttons only.
Auto-Repeat
Select wether to apply auto-repeat to the button. Auto-repeat causes the button to constantly cycle through its states (Yes/No, default = No). This property is available for Multi-State buttons only.
Border Style
To change the Border Style for the selected button, click Border Style, and select the desired style from the drop-down list There are several types of border styles to choose from, and they all can all be assigned to both popup pages and buttons.
Color Depth
Select the color depth to be applied to the button. The options are high-color (16-bit) or true color (24-bit). Default = high-color (16-bit) This setting should match that of the host PC. This button property is available for Computer Control buttons only.
For example, using a List Data Table that contains 5 columns, you could enter (without quotes) "3 4 5 2 1" to populate the List Box Button as follows: Column 1 on the List Box Button will display column 3 from the List Data Table. Column 2 on the List Box Button will display column 4 from the List Data Table. Column 3 on the List Box Button will display column 5 from the List Data Table.
179
Column 4 on the List Box Button will display column 2 from the List Data Table. Column 5 on the List Box Button will display column 1 from the List Data Table. This property is enabled only for List Box Buttons, when a List Data Table is assigned, and a List Table Address and Port is assigned.
Compression
Select wether to compress the image on the button (Yes/No, default = No). This button property is available for Computer Control buttons only.
Cursor Color
Specify a color for the Joystick cursor. Click the browse (...) button to select a color from the Colors dialog. This button property is available for Joystick buttons only.
Cursor Name
Select the desired visual style for the joystick cursor. Click the down arrow to select from the list of available cursor types. This button property is available for Joystick buttons only.
Description
Use this text field to enter a general or functional description for this button. Click the browse (...) button to open the Enter Text dialog, where you can type the description.
Disabled
Indicates how the selected button will be rendered. If the button is set as Disabled (select Yes from the drop-down), the button will be rendered by the panel in a subdued state (default = No).
Display Type
Click to select the display type to be invoked by this Text Input button (single line or multiple lines). The default is single line. This button property is available for Text Input buttons only.
Group
Use this field to add the selected Popup Page to a specific Popup Page Group. This property is available for Popup Pages only. To add a group, type any value in the Group field. This will create a corresponding folder under the Popup Pages folder in the Workspace Navigator (Pages tab). To place a popup page in a particular popup group, simply drag the desired popup pages into the desired group folder. Click the browse (...) button to open the Enter Text dialog, where you can type the description.
180
Height
Size values. The Height rows indicate the vertical dimensions of the selected button, in pixels. You can edit these fields to apply specific dimension info for the button. Note that if you select the button and manually resize it on the page, these values constantly update to indicate the current dimensions.
Hidden
Indicates wether or not the selected button is displayed on the panel. If the button is set as Hidden (select Yes from the drop-down), the button will disappear when transferred to the panel (default = No).
Hide Effect
This property allows you to apply a transition effect to the popup page, to be invoked when the popup is closed (hidden). This property is available for Popup Pages only.
Input Mask
This field allows you apply a mask to user input on the panel. An input mask allows you to force the user to enter the correct type of characters (numbers vs. characters), suggest a proper format with fixed characters, to change or force character case, to create multiple logical fields that act as a single field, to specify a range of characters / numbers for each field, to set the input as required or optional, and/or fill the field from the right or the left. This button property is available for Text Input buttons only. To define a literal, enter any character other than those shown in the topics above, including spaces and symbols. A back-slash ('\') causes the character that follows to be displayed as the literal character. For example, \A is displayed as just A.
181
Left
Position values. The Left and Top rows indicate the position of the selected button, in pixels, relative to the upper-left corner of the Design View window. You can edit these fields to apply specific positioning info for the button. Note that if you select the button and manually move it around on the page, these values constantly update to indicate the button's current position.
List Column
An integer value representing the total number of columns in the List Box button. This property is available for List Box buttons only. This property is read-only and cannot be edited. In unmanaged mode this property is visible (but still read-only) for the unmanaged subordinate buttons. This way you can keep track of which row the button is identified with. A list box column contains one or more subordinate buttons of the same width, justified vertically. The number of subordinate buttons in a column depends on the number of rows defined for the list box. The width of the first column is determined at creation by the width of the list box control. At creation, one subordinate button is created automatically. The maximum number of columns that can be set/created is 10, and the minimum is 1.
List Display
A string formatted as a space-delimited list of table column numbers in a List Box Button that the columns of the List Data Table are assigned to. This button property is available for List Box buttons only, and only when a List Table Port is assigned.
182
List Managed
This display-only field indicates wether the selected List Box Button is in Managed or Unmanaged mode. This button property is available for List Box buttons only.
183
List Row
An integer value representing the total number of rows in the List Box button. A list box row contains one or more subordinate buttons of the same height, justified horizontally. The number of subordinate buttons in a row depends on the number of columns defined for the list box. The height of the first row is determined at creation by the width of the list box control. At creation, one subordinate button is created automatically. The maximum number of rows that can be set/created is 50, and the minimum is 1. This button property is available for List Box buttons only. This property is read-only and cannot be edited. In unmanaged mode this property is visible (but still read-only) for the unmanaged subordinate buttons. This way you can keep track of which row the button is identified with.
List Selectable
This property is a value representing the current selection type: single or multi. This button property is available for List Box buttons only.
184
Modal
This setting (Yes/No) controls the user's ability to press a button outside the boundaries of the popup page when the popup page is visible. This property is available for Popup Pages only.
Name
To give the button a specific name other than the default Button/Popup 1, Button/Popup 2, Button/Popup 3 etc., click Name in the Properties Control Window (General tab) to activate the text field, where you can type the new name. You must use a unique name for each button, page and popup page, and you cannot apply the Job name (set in the New Project Wizard) to a page.
Page Flip
Use this option to assign a page flip (type and target page) to the selected button(s). Click the browse button (...) to open the Button Page Flip Actions dialog. S See the Page Flips section on page 107 for details.
Password
The password supplied by the designer. This button property is available for Computer Control buttons only. This password must match the password entered into the PC remote desktop server.
Password Character
Type a single character to be used as the password to access this Text Input button on the panel. This button property is available for Text Input buttons only.
Password Protection
This option allows you to apply password protection to the selected button(s). You can set up to four passwords per panel; use this drop-down list to select which of four possible passwords to apply to the selection (none, password 1, password 2, password 3, or password 4).
Remote Host
The IP or DNS resolvable address of the PC whose desktop is to be displayed. This button property is available for Computer Control buttons only.
Remote Port
The port to be used on the PC whose desktop is to be displayed. Default = 5900. This button property is available for Computer Control buttons only.
185
Scale To Fit
Select wether to automatically scale the image to fit the button (Yes/No, default = No). This button property is available for Computer Control buttons only. By default, scaling is disabled.
Show Effect
This property allows you to apply a transition effect to the popup page, to be invoked when the popup is opened (shown). This property is available for Popup Pages only.
Slider Color
Select a color to apply to the bargraph slider. Click the browse button (...) to open the Colors dialog. This property is available for Bargraph buttons only.
Slider Name
Select the desired visual style for the bargraph slider from the list of Slider types. This property is available for Bargraph buttons only.
State Count
This field indicates the number of states currently associated with the selected button. This property is available for Multi-State (General and Bargraph) buttons only. To change the state count for the selected button, click inside the text field and enter the desired number. If the state count is increased, new states are added to the end of the set as a duplicate of the last existing state. If the count is decreased, states are removed from the end of the set. This feature allows the state count to be changed via Edit > Find & Replace and with the Paint Properties tool.
186
TakeNote Enabled
Select wether to enable TakeNote functionality on the selected Computer Control button (Yes/No, default = No). This button property is available for Computer Control buttons only.
TakeNote Host
Enter the IP or DNS resolvable address of the PC whose desktop is to be displayed on this TakeNote button. This button property is available for TakeNote buttons only.
TakeNote Port
Enter the port to be used on the PC whose desktop is to be displayed on this TakeNote button (default = 1541). This button property is available for TakeNote buttons only.
Timeout
This property allows you to specify the Popup Page Timeout, in 1/10th second increments. Popup Page Timeout specifies how long a popup page will remain open and active without a button press (default = 0). This property is available for Popup Pages only.
Top
Left/Top - Position values. The Left and Top rows indicate the position of the selected button, in pixels, relative to the upper-left corner of the Design View window. You can edit these fields to apply specific positioning info for the button. Note that if you select the button and manually move it around on the page, these values constantly update to indicate the button's current position.
Touch Map
Click the browse button (...) to select an image to use as the Touch Map image, via the Select Resource dialog. This button property is available for Multi-State Bargraph buttons only, and only if the Value Direction is set to Touch Map.
Touch Style
This selection drop-down allows you to set a "touch style" for the selected button(s). Touch style describes the way buttons behave when pressed, in terms of the shape and border style used. For example, by using transparencies you could create a button that appears to be round (although the actual shape of the button is rectangular), in which case you may not the button to respond if the user presses outside of the circular border. Active touch: This touch style limits the active touch area to the visible area of the button. Areas of the button that are totally transparent will not respond to a press. For example, if you created a totally transparent button with no border and an icon, only the icon would respond to a press. Similarly, if a transparent button has a visible border but no icon, only the border will respond to a press. Touching the transparent areas of the button does not active the button. Active Touch requires total transparency on the button in order to work. To make a button totally transparent, set the Overall Opacity (state) setting to 0. If Overall Opacity is set to any other value (for partial transparency), Active Touch will not work. Bounding box: This touch style forces the panel to respond to a press anywhere within the rectangular boundaries of the button (regardless of transparencies or border styles). Pass through: This style allows the user to press "through" one button to press another button underneath. If there is no other button underneath the pass through button, the user simply presses the page (with no resulting action).
187
Type
The Type (button type) defaults to the button type that was set when the button was created. To change a selected button's type, click Type in the Properties Control Window (General tab) to activate the button type drop-down menu, containing a list of all available button types.
Value Direction
Click the down arrow to select the orientation of the bargraph. This property is available for Bargraph and Multi-State Bargraph buttons only. For non-multi state Bargraph buttons, the options are Vertical or Horizontal. For Multi State Bargraph buttons, the options are Vertical, Horizontal, or Touch Map.
Width
Size value. This property indicates the horizontal width in pixels of every button in the column. You can edit this field to apply specific dimension info for the button. Note that if you select the button and manually resize it on the page, these values constantly update to indicate the current dimensions.
188
Programing Properties
All Programming properties (including Page, Popup Page and Button properties) are listed below. These properties are editable via the Programming tab of the Properties Window:
Address Code
Select or enter the address code sent to the master on the selected port.
Address Port
Select or enter the port to which the selected button's address code will be associated. The combination of Address Port and Address Code must be unique.
Channel Code
Select or enter the channel code sent to the master on the selected port. If the Channel Port is set to 0 = Setup Port, you can click on Channel Code to open the Basic Codes options, then click on Advanced Codes to access the advanced codes menu. Click the '+' sign beside Computer Control, to expand the Advanced Codes menu to show the available functions. The NXP-PLV (PosiTrack Video Touch Panel) uses a set of reserved channel and level codes that are reserved for hardware functionality. These codes cannot be re-assigned to other pages or buttons in the panel project.
Channel Port
Select or enter the port to which the selected button's channel code will be applied. The combination of Channel Port and Channel Code must be unique.
Command Output
Specify the command string sent to the master on button push.
1. Click the browse button (...) to open the Enter Text dialog. 2. Enter the command output and click OK (or Cancel to exit without saving). Command Port
Select or enter the port to which the command string output will be applied.
Feedback
Select the type of feedback to associate with this button (channel, inverted channel, always on, momentary, blink, or none). none - the button will always display the Off state (and will not indicate a Push/Release) channel - the button will change states (Off to On) on a Push/Release to indicate a channel event inverted channel - the button will change states (On to Off) on a Push/Release to indicate a channel event always on - the button will always display the On state (and will not indicate a Push/Release) momentary - the button will change states, only while the button is being pressed. blink - the button will "blink" (switch between On and Off states) on a Push/Release
Level Aux
This (read-only) field indicates the auxiliary level sent to the Master on the selected port. This button property is available for Joystick buttons only, and only if a Level Code has been assigned.
189
Level Code
Select or enter the level code sent to the Master on the selected port (none, 1, 2 or auto-assign). Select Auto-Assign to automatically assign a level code to this button. The NXP-PLV (PosiTrack Video Touch Panel) uses a set of reserved channel and level codes that are reserved for hardware functionality. These codes cannot be re-assigned to other pages or buttons in the panel project.
Level Function
This option is only available for Bargraph, Multi-State Bargraph and Joystick buttons. Select the desired level function: Display Only: This option creates a bargraph or joystick button that only displays level information (but cannot be used to control levels). Active: This option creates a bargraph or joystick button for controlling levels according the other button parameters set here. Active Centering: This option creates an active bargraph or joystick button that returns to it's center position when released. Drag: This option creates an active bargraph or joystick button that responds to a relative touch distance on the button after the initial touch, to allow for glide-point style controls. When set to Drag, the user can touch anywhere inside the joystick button and move the level (according to the Range Drag Increment setting). Drag Centering: This option creates an active drag bargraph or joystick button that returns to it's center position when released.
Level Port
Select or enter the port to which the Level Code will be applied. Select 0 (Setup port) or 1 as the level port for this button.
190
Range Low
Set the bottom of the level range (0-255).
Range High
Set the top of the level range (0-255).
Range Inverted
If set to Yes, the range is inverted, so that the top of the level range is 0 and the bottom of the range is 255 on both the X and Y axis (default = No). This button property is available for Bargraph, Multi-State Bargraph and Joystick buttons only.
Range Time Up
Specify the amount of time (in 1/10th seconds) it will take for the bargraph to go from the bottom to the top of the specified range (default = 2). This button property is available for General buttons, if a Level Control Type (other than "none") has been selected. This button property is available for Bargraph and Multi-State Bargraph buttons, and only if one of a specific set of Level Functions was selected. These are: Active Active Centering Drag Drag Centering It is not applicable if the Level Function property is set to "display only".
String Output
Specify the output string sent to the master on button push, on the specified String Output Port.
1. Click the browse button (...) to open the Enter Text dialog. 2. Enter the output string and click OK (or Cancel to exit without saving). String Output Port
Select or enter the port to which the String Output will be applied.
191
State Properties
All State properties (including Page, Popup Page and Button properties) are listed below. These properties are editable via the States tab of the Properties Window:
Bitmap
To apply an image file as the background image to the selected state(s), click the browse button (...) to open the Select Resource dialog, where you can select an image file from among those imported into the project. If pairs of image resources exist that end in *off/*on, *f/*n, *0/*1, *1/*2 (case insensitive), and the first in the pair is applied to the Off state of a General button, the second will be automatically applied to the On state to make it easier to set up images on a General button.
Bitmap Justification
To set or reset the justification setting for the bitmap (on the selected state(s)), click the down-arrow and select an option from the list. For List Box buttons, this property applies to all the buttons in the selected column.
Bitmap X Offset
To apply an X and/or Y offset to the bitmap (on the selected state(s)), enter the value for the desired offset (in pixels) in these text fields. Alternatively, you can click the browse button (...) to open the Image/Text Positioning dialog where you can make several alignment adjustments to the bitmap, icon and text elements of the button, for each state. This property is available only if the Bitmap Justification State property has been set to Absolute.
Bitmap Y Offset
To apply an X and/or Y offset to the bitmap (on the selected state(s)), enter the value for the desired offset (in pixels) in these text fields. Alternatively, you can click the browse button (...) to open the Image/Text Positioning dialog where you can make several alignment adjustments to the bitmap, icon and text elements of the button, for each state. This property is available only if the Bitmap Justification State property has been set to Absolute.
Border Color
To change the border color for the selected state(s), click the browse button (...) to open the Colors dialog. For List Box buttons, this property applies to all the buttons in the selected column.
Border Name
To change the Border Name for the selected button, click Border Name, and select the desired border from the drop-down list. If a Border Style was specified (in the General tab), then the borders listed here are limited to those contained in the selected Border Style. If no Border Style was specified (none), then all border names are available in the provided list. For List Box buttons, this property applies to all the buttons in the selected column.
Chameleon Image
This field allows you to apply a Chameleon Image to the selected state(s). This property is only available only if the Border Name has been set to None. Chameleon Images can be used to create special effects such animated glow and drop-shadows. Click the browse button (...) to open the Select Resource dialog, where you can select an image to apply as a Chameleon Image.
192
Draw Order
This field allows you to specify the order in which the elements of a button, page or popup page are drawn. By default, the draw order is: 1) fill, 2) bitmap,3) icon, 4) text, 5) border. Click the browse button (...) to access the State Draw Order dialog to change the draw order. For List Box buttons, this property applies to all the buttons in the selected column.
Fill Color
To change the fill color for the selected state, click the browse button (...) to open the Colors dialog. For bargraph buttons, the preview image in the State Manager works differently than for the other button types. For bargraph buttons, the on and off states are used to indicate a level setting rather than a push/release. As a result, the button image in the Design View window will indicate the bargraph button as it will appear on the touch panel, but the thumbnails in the State Manager window indicate each state as a separate preview image. For example, the bargraph button shown below uses yellow as the On state fill color, and green as the Off state fill color. In the State Manager window you would see the On state (yellow) and the Off state (green) as individual thumbnails. The Button Preview window works differently for bargraph buttons than for the other button types. Rather than using the Push button to view the different states, click and drag on the slider with your mouse cursor (in the Button Preview window) to preview the feedback. For List Box buttons, this property applies to all the buttons in the selected column.
Font
To change the font used for text on the selected state(s), click the browse button (...) to open the Font dialog, where you can select a Font, Style and Size for the button text. For List Box buttons, this property applies to all the buttons in the selected column.
Icon Justification
To set or reset the justification setting for the icon (on the selected state(s)), click the down-arrow and select an option from the list. For List Box buttons, this property applies to all the buttons in the selected column.
Icon Slot
To apply an icon to the selected state(s), click the browse button (...) to open the Select Resource dialog, where you can select a slot assignment (icon) to apply.
Icon X Offset
To apply an X and/or Y offset to the icon (on the selected state(s)), enter the value for the desired offset (in pixels) in these text fields. Alternatively, you can click the browse button (...) to open the Image/Text Positioning dialog where you can make several alignment adjustments to the bitmap, icon and text elements of the button. This property is only available only if the Icon Justification State property has been set to Absolute.
Icon Y Offset
To apply an X and/or Y offset to the icon (on the selected state(s)), enter the value for the desired offset (in pixels) in these text fields. Alternatively, you can click the browse button (...) to open the Image/Text Positioning dialog where you can make several alignment adjustments to the bitmap, icon and text elements of the button. This property is only available only if the Icon Justification State property has been set to Absolute.
193
Marquee Direction
This field allows you to specify the direction in which marquee text will move. By default, this property is set to Disabled. Click inside the field to activate the down arrow, to select from the other marquee direction options: The marquee direction options include: Disabled - When this property is set to Disabled, the text on the button will not be treated as marquee text. Scroll left - Text scrolls horizontally to the left. Scroll right - Text scrolls horizontally to the right. Ping-pong - Text "bounces" back and forth horizontally between the left and right boundaries of the button area. Scroll up - Text scrolls vertically upward. Scroll down - Text scrolls vertically downward. Both Marquee Direction and Marquee Repeat are disabled if Word Wrap is set to Yes.
Marquee Repeat
This field allows you to specify whether the marquee text element on a button will appear to repeat the text string once it has moved all the characters beyond the boundaries of the button. The movement of marquee text is specified by the Marquee Direction button state property. By default, this property is set to No. To enable repeat marquee text, click inside the field to activate the down arrow to change to Yes. Both Marquee Direction and Marquee Repeat are disabled if Word Wrap is set to Yes.
Overall Opacity
Use this field to specify the level of opacity for the selected button (0 - 255, where 0 is totally transparent, and 255 is totally opaque). The default is 255. For List Box buttons, this property applies to all the buttons in the selected column.
194
Sound
To change or apply a new sound file to the selected state(s), click the browse button (...) to open the Select Resource dialog, where you can select a sound file (WAV or MP3) from among those imported into the project.
Streaming Source
Enter the URL or IP Address of the server that will provide the video stream. This property is available only if Streaming Video is selected as the Video Fill). Streaming Video is only available as a Video Fill option if the project specifies a touch panel that supports streaming video.
Text
To change or enter the text to be displayed on the selected state(s), click the browse button (...) to open the Enter Text dialog, where you can type the new button text. Use the Preview Using Font option to view the text as it will appear in the selected font, style and size (on by default). Unicode characters may be entered via the Enter Text dialog only (not through in-place editing in the States tab of the Properties Control window). When Unicode text is input, the name of the button will not match it's Off state text. Formatting codes can be used in the state text for Bargraph and Multi-State Bargraph buttons.
Text Color
To change the text color for the selected state, click the browse button (...) to open the Colors dialog. For List Box buttons, this property applies to all the buttons in a selected column.
Text Effect
Text effects are graphic effects that can applied to button/page/popup text (for example, the Glow effect applies a neon glow or halo effect to the text on the selected button/state(s). Each text effect is available in several variations ((i.e. Small, Medium, Large or XtraLarge). To apply a text effect to the button text, click the browse button (...) to access the Text Effect sub-menu. This sub-menu presents all available text effects, sorted by type. Click the + symbol next to any effect type in the sub-menu to see all of the variations on that effect. Once you have selected a text effect, use the Text Effect Color field to specify a color for the effect. For List Box buttons, this property applies to all the buttons in the selected column.
Text Justification
To set or reset the justification setting for the button text (on the selected state(s)), click the down-arrow and select an option from the list. For List Box buttons, this property applies to all the buttons in the selected column
Text X Offset
To apply an X and/or Y offset to the text (on the selected state(s)), enter the value for the desired offset (in pixels) in these text fields. Alternatively, you can click the browse button (...) to open the Image/Text Positioning dialog where you can make several alignment adjustments to the bitmap, icon and text elements of the button. This property is available only if the Text Justification State property has been set to Absolute).
195
Text Y Offset
To apply an X and/or Y offset to the text (on the selected state(s)), enter the value for the desired offset (in pixels) in these text fields. Alternatively, you can click the browse button (...) to open the Image/Text Positioning dialog where you can make several alignment adjustments to the bitmap, icon and text elements of the button. This property is available only if the Text Justification State property has been set to Absolute).
Video Cropping
Use this field to specify the number of scan lines to be removed from both the top and bottom of the video signal. For best results, set the video button's aspect ratio to match the video input aspect ratio. This property is only available if the Video Fill State property is set to either Composite Video or Component/RGB Video.
Video Fill
Click the down arrow to select from a drop-down list of video formats that are supported by the touch panel specified in your project. Video-capable Modero panels support Composite video, and Enhanced Modero panels support Composite, Component/RGB and Streaming video formats. If you have specified the NXP-TPI4, click the down-arrow to select from the list of available video slots on the TPI4 (video slot 1,2,3 or 4) to use as the source for this video fill. If you select Streaming Video as the Video Fill, then the Streaming Source state property is made available. Enter the URL or IP Address of the server that will provide the video stream. This property is only available for video-capable panels. See the Video Capabilities for Modero Panels section on page 5 and the Video Capabilities for Enhanced Modero Panels section on page 5 for details.
Word Wrap
Use this option to enable the wrapping of text strings that are too long to be displayed across the page on one line. Click the down-arrow and select Yes or No from the drop-down list (default = No). Note that both Marquee Direction and Marquee Repeat are disabled if Word Wrap is set to Yes. For List Box buttons, this property applies to all the buttons in the selected column.
196
2. In the Search Criteria table, select the button properties to use as the search criteria. You can include any
General or State button property as search criteria. General and State properties are separated into two sections (labeled as General and States). Scroll down to view all of the available button properties that can be used as search criteria. Click the minus symbol (-) next to the General and States headings to collapse the sections. Click the plus symbol (+) to expand the views. To select all General button properties, click in the checkbox next to the General heading; to select all State-oriented button properties, click in the checkbox next to the States heading.
3. In the Search Scope area, select either Entire Panel or Current Page.
If the scope of the search is set to Entire Panel, the Select All button is disabled, in which case you can use the Find Next button to cycle through the pages that contain buttons whose values match the search criteria. If the scope of the search is set to Current Page, use the Find Next button to search the current page only, based on the specified criteria and scope.
4. When the first instance of the criteria is found, the Find In Page dialog is compressed to only show the
buttons that satisfy the search criteria, and the first button found that satisfies the search criteria is selected in the Design View. Select Find Next to continue the search. Select Select All to close the Find dialog and select every button that meets the criteria. The program will inform you if no buttons are found that match the search criteria.
197
When you select a General as well as a State-oriented search criteria, only buttons that match the General criteria, and within that set, the states that match the State criteria will be candidates for the replace operation. For example, if you set the search criteria to include both the Glow-S border style (a General property) and yellow as the Fill Color (a State property), only those buttons with a Border Style of Glow-S are candidates, and within that set of candidates, only those states whose Fill Color is set to yellow satisfy the search criteria.
1. Open the Find & Replace dialog (see above). 2. In the Search Criteria table, select the button properties to use as the search criteria. You can include any
General or State button property as search criteria. General and State properties are separated into two sections (labeled as General and States). Scroll down to view all of the available button properties that can be used as search criteria. Click the minus symbol (-) next to the General and States headings to collapse the sections. Click the plus symbol (+) to expand the views. To select all General button properties, click in the checkbox next to the General heading; to select all State-oriented button properties, click in the checkbox next to the States heading.
3. In the Search Scope area, select either Entire Panel or Current Page.
If the scope of the search is set to Entire Panel, the Select All button is disabled, in which case you can use the Find Next button to cycle through the pages that contain buttons whose values match the search criteria. If the scope of the search is set to Current Page, use the Find Next to search the current page only, based on the specified criteria and scope.
4. In the Replace Values table, select the button properties to use as the replace values. The Replace Values
do not necessarily have to match the Search Criteria (although they may). It is also possible to replace multiple values or establish multiple search criteria. For example, to change the Border Style on one or more buttons, select Border Style in the Search Criteria table, then select the particular border style to search for from the drop-down list. Then, select
198
Border Style in the Replace Values table, and select the desired replacement border style from the dropdown list. Repeat this process for as many other button properties as needed.
5. When the first instance of the criteria is found, the Find In Page dialog is displayed, listing the buttons
that satisfy the search criteria, and the first button found that satisfies the search criteria is selected in the Design View. Select Find Next to continue the search. Select Replace All to close the Find dialog select every button that meets the criteria. The program informs you of the number of buttons affected by this change. All replace actions support full Undo / Redo capabilities. The program will inform you if no buttons are found that match the search criteria. When you select a General as well as a State-oriented search criteria, only buttons that match the General criteria, and within that set, the states that match the State criteria will be candidates for the replace operation. For example, if you set the search criteria to include both the Glow-S border style (a General property) and yellow as the Fill Color (a State property), only those buttons with a Border Style of Glow-S are candidates, and within that set of candidates, only those states whose Fill Color is set to yellow satisfy the search criteria.
199
200
The State Manager context window (open via right mouse click on any thumbnail in the State Manager) support allows the user to Add single or multiple states, Replace states, Insert single or multiple states and Remove states. For Multi-State General buttons the different states are used to animate a button from Off to On (Range Time Up) and back again to Off (Range Time Down). When the button is turned on it will display all the assigned states from first to last with a specified time interval between each state's display. When the button is turned back off, the states will be displayed in reverse order. The interstate time intervals are user definable in 1/10th second increments. A zero entry will automatically advance / retreat to the ending / beginning state without displaying any intervening states. For Multi-State Bargraph buttons, the level will directly reflect the displayed state. You can set an allowable range within a bargraph that has states. Anything outside of that range will not be represented by a state. For buttons with multiple states, Send Commands can set the state number, provided it is not a level type button.
201
The items in this context menu include: Size - This option sets the size of the button thumbnail views as they appear in the State Manager window. Add States - This option opens the Add States dialog, which allows you to add multiple states to the selected button (up to a total of 255 states). Insert States - This option opens the Insert States dialog, which allows you to insert multiple states to the selected button. This option inserts the specified number of states directly after the selected (highlighted) state. Quick Input - Click to open the Quick Input sub-menu, where you can specify how to use the Quick Input feature (Current Property, Text or Disabled). Use Quick Input to make fast edits to various page and button elements and properties. Cut/Copy/Paste - Use these options to either cut, copy or paste a selected button state to/from clipboard memory. Replace - Use this option to replace the selected button state with the contents of clipboard memory. Delete - Use this option to delete the selected button state(s) from the button. Select All - This option selects all states associated with the selected button. Reverse States - This option reverses the order of states selected in the State Manager window. The selected states do no have to be contiguous. Set As Display State - This option sets the state that is currently being displayed in the Design View as the display state for the button. Image/Text Positioning - This option opens the Text/Image Position dialog, which allows you to specify the position of images and/or text on the selected button state(s). Animation Wizard - This option launches the Animation Wizard. The Animation Wizard guides you through the process of creating an animated button. Tweeners - Click to open the Tweeners sub-menu where you can select from several types of tweeners to use (for animation purposes).
1. If the new states are to be added to the end of the collection (in the State Manager window), right-click to
open the State Manager Context Menu, and select Add States.
2. If the new states are to be inserted elsewhere in the collection, first select the state prior to which the new
states will be created, then right-click to open the State Manager Context Menu and select Insert States.
3. The Add States dialog (or the Insert States dialog if you selected Insert States) is displayed (FIG. 191).
202
Use these dialogs to specify the number of states to be created, and which existing state to duplicate (which will be highlighted in the State Manager as the state number is changed).
4. When the desired number of states and the state to duplicate have been chosen, press OK and the new
states will be added to the collection in the desired location. Otherwise, press Cancel to exit the dialog without creating any states.
1. First select the button, page, or popup page whose states will be copied. 2. In the State Manager window, select the source states. Hold down the Ctrl key while left-clicking to add
states to the selection. Left-click + Shift to select a range of states.
3. When the source states have been selected, copy them to the clipboard (Ctrl-C). 4. With the source states copied to the clipboard, select the Multi-General or Multi-Bargraph button to
which the states in the clipboard should be copied (in the State Manager). Select the state prior to which the new states will be inserted. To add the copied states to the end of the series, ensure that no states are currently selected in the State Manager (or select the last state in the series).
1. First select the source state(s). Hold down the Ctrl key while left-clicking to add multiple states to the
selection. Hold down the Shift key while left-clicking to select a range of states.
2. With the source states selected, press and hold the right mouse button while over one of the selected
states. While continuing to press the right mouse button, move the mouse to the location where the states will be copied (FIG. 192).
If the states are to be added to the end of the collection, drag the source states beyond the last state. If they are to be added elsewhere in the collection, drag the source states either over the state prior to which the new states will be inserted, or over the space between state thumbnails where the new states will be inserted.
203
3. Release the right mouse button and select Insert copy... from the drag-and-drop menu (FIG. 193).
4. The new States are added according to the option selected in the drag-and-drop menu (FIG. 194):
FIG. 194 Drag & Drop To Add States (States copied before State 3)
Deleting States 1. Select the states to be deleted. Hold down the Ctrl key while left-clicking to add states to the selection.
Hold down the Shift key while left-clicking to add a range of states to the selection.
2. Delete the selected states by selecting the Edit > Delete, State Manager Context Menu > Delete, or the
Del key.
204
Cutting States To the Clipboard 1. Select the states to be cut. Hold down the Ctrl key while left-clicking to add states to the selection. Hold
down the Shift key while left-clicking to add a range of states to the selection.
2. Cut the selected states to the clipboard by selecting Edit > Cut, State Manager Context Menu > Cut, or
the Ctrl-X keyboard accelerator.
Reordering States Through the Clipboard 1. In the State Manager window, select the states to be moved.
Ctrl + click to select multiple states individually. Shift + click to select a range of states.
2. Cut the selected states to the clipboard (Ctrl-X). 3. If the states are to be moved to the end of the collection: a. Ensure that no states are currently selected in the State Manager (click anywhere outside of a state
thumbnail, or press ESC).
b. Then, paste the states from the clipboard by selecting Edit > Paste, State Manager Context Menu >
Paste, or the Ctrl-V keyboard accelerator.
4. If the states are to be moved elsewhere in the collection: a. Left-click to select the state prior to which the new states will be inserted. b. Then insert the states from the clipboard by selecting Edit > Insert, State Manager Context Menu >
Insert, or the Ctrl-V keyboard accelerator.
2. Press and hold the left mouse button while over one of the selected states. While continuing to press the
left mouse button, move the mouse to the location where the states will be moved. If the states are to be moved to the end of the collection, drag the states beyond the last state. If they are to be moved elsewhere in the collection, drag the states over the space between state thumbnails where they will be moved.
3. Release the left mouse button (the same operation can also be performed with a right mouse button dragand-drop, selecting "Move" from the drag-and-drop menu).
205
Pasting a state on the panel name in the Panel Navigator (which is for pages or popup pages only), on the folder named Pages (which is for pages only), on the folder named Popup Pages (which is for popup pages only) is not allowed.
1. 2. 3. 4. 5.
You can change the draw order via the options in the State Draw Order dialog.
1. Select a button, page or popup page. 2. Click the Browse button (...) in the Draw Order State property to access the State Draw Order dialog
(FIG. 195).
3. Select an element in the list, and use the Move Up and Move Down buttons to move the element up or
down in the list.
4. Repeat with the other elements in the list to rearrange the order as desired. 5. Click OK to close the dialog.
Note that the new draw order is indicated in the Draw Order state property.
206
The easiest way to handle function codes is to create and finalize your touch panel pages and buttons (with function codes) before generating the supporting Axcess or NetLinx program code. That way, in case you have to change any aspect of the project (i.e. add/remove controlled equipment, test strings, graphics, etc), you can update the function code assignments in TPD4, rather than having to re-write your code. There are several key differences in the way Function Codes work in TPD4 relative to the way they worked in TPDesign3: "Devices" in TPDesign3 are known as "Ports" in TPD4 (the maximum number of available ports in TPD4 is 100). Where there was a maximum number of 255 channel codes per device in TPDesign3, you can assign up to 4000 codes per port in TPD4. Unlike TPDesign3, TPD4 lets you to assign Address and Channel Codes directly to a page.
207
If Display Function Codes is enabled, they will also be included in printed output.
208
The Function Code Map is a representation of the Channel codes, Address codes, Level codes, String Outputs and Command Outputs utilized in the panel file, displayed in a hierarchical tree format in the Function Map tab of the Workspace Navigator window. This list is sorted by Port, and within Port by Code. If codes have been assigned to any of the panel's sensors (light, motion, battery, and/or cradle), they will now appear in the Function Map and can be modified there just like button function codes. You can use the Function Code Map to delete codes as well as drag and drop items from one port to another, within the primary folder the selected item belongs to (i.e. Channel Codes, Address Codes, Level Codes). For example, you cannot drag and drop an Address Code (regardless of the port folder that contains it) into any port folder contained in either the Channel or Level folders.
Neither String or Command Outputs support any type of drag and drop operations.
Selecting an item in the tree and then left clicking again will provide an in-place edit of the code value. While you can (in-place) edit the Channel, Address and Level codes via these folders, you cannot edit String or Command Outputs the same way. These can only be edited via the Programming tab of the Properties Control window. A double-click action on the item will open the associated page (or popup page) and place the edit focus on that item. Setting the Address, Channel or Level port to the setup port provides a list of predefined actions. Select Panel > Verify Function Codes to automatically verify the active project's Function Code Map, and fix any problems that are found.
0- Setup Port
Setting the Address, Channel or Level port to the setup port ("0") provides a list of predefined actions. Some of the actions may be hardware dependent. Therefore, ensure that the codes selected apply to your particular panel type. In the event that an inappropriate code is selected for a given panel type, that code will be ignored.
209
One valuable use of this feature is to establish a contiguous range of channel / address codes on a set of buttons. To accomplish this, left-click on the button in the set that should receive the first channel / address code, then by holding down the CTRL key, select each of the remaining buttons in the set in the order in which you want the channel / address codes to be assigned. Finally, by following the instructions below and utilizing the Begin Assignment At and Ensure Contiguous Code Assignment options, one can assign channel / address codes to every button in the set with significantly fewer mouse clicks and keystrokes than would otherwise be possible. Power Assign works only at the button level, and does not affect pages or popup pages.
1. Under Function Code Action, select Clear. 2. Under Function Code Type, select Channel, Address or Level. 3. Click Assign.
It is good practice to clear the function codes before any Assign Codes operations. If you don't clear the codes first, and any of the buttons in the group you are assigning already have codes assigned, they will show up as used when Power Assign does its' checks. In some cases, this may be what you want to have happen, but usually you'll want to clear them before assigning.
Assign Codes
Next assign new function codes:
1. Under Function Code Action, select Assign. 2. Under Function Code Type, select Channel, Address or Level. 3. Click Assign.
To use take full advantage of Power Assign, you need to understand the nuances of some of the options involved:
210
1. Check Begin Assignment At and Ensure Contiguous Code Assignment. 2. Then supply the port and channel code values, click Channel under Function Code Type, and click
Assign.
3. Next, click Address under Function Code Type, and click Assign again.
You can visually verify that the desired action was accomplished by ensuring that the Display Function & State Overlay option is selected from the View menu. This will visually display the channel, address, and level codes (in addition to the currently displayed state) in the corners of the buttons. While initially somewhat confusing, an immense amount of power is available in the options within the floating Power Assign dialog. Since the selection is retained after any operation, if you make a mistake, it's easy to click Clear Codes and hit the assign button again. One can also simply undo the action if desired. Remember that Power Assign processes the function code assignments based on the order in the selection so, if the order is important to you, make sure to create the selection using CTRL-Select.
211
212
1. RGB Color: a full-feature RGB palette that allows you specify RGB (plus Hue, Saturation, Brightness
and Opacity) values numerically, or by dragging the cursor around the palette. The RGB palette offers millions of possible colors (FIG. 199).
213
2. Palette Index: a default palette that provides the Base 88 colors (which the can be modified if desired).
The Palette Index offers a maximum of 255 colors (FIG. 200).
3. Color Name: a named color selection dialog based on the Base 88 color scheme. These Base 88 colors
are identical to those provided in previous versions of TPDesign3, and include the transparent color in position 255 (FIG. 201).
214
Neither JASC nor Microsoft palette files support transparency in the same manner that TPD4 utilizes transparency, so once imported, custom palettes cannot be reopened in another graphics package.
Creating New Palette Entries 1. Select Panel > Edit Palettes (or click the toolbar button) to open the Edit Palettes dialog (FIG. 202).
215
By default, the palette that is currently being used for the active Project is selected. Note that it is tagged as (active) in the palette selection drop-down list (in the upper-left corner of this dialog). Each color that is listed in the palette is considered to be a palette entry, and each palette entry is represented by an index number (1-256). The index numbers correlate to the slot in the palette that this color occupies.
2. Select the palette that you want to add a new palette entry (color) to, in the palette selection drop-down
list.
4. Use the cursor in the Color Value chart, in conjunction with the Hue/Sat/Bright, Red/Blue/Green, opacity
(and/or Hex value) to specify the color that you want to add to the palette.
5. Enter a description of the new palette entry in the Name text field. This is optional, but highly
recommended since this is the name that will appear with the color in the palette when the view option is set to details.
6. Click on the Commit button to add the selected color and color name (if applicable) to the selected slot in
the palette.
Creating Custom Palettes 1. Select Panel > Edit Palettes (or click the toolbar button) to open the Edit Palettes dialog (FIG. 202 on
page 215). By default, the palette that is currently being used for the active Project is selected. Note that it is tagged as (active) in the drop-down list.
2. Click the New button to clear the palette index of all entries. By default, the new palette is titled
Unnamed, as indicated in the palette selection drop-down list in the upper-left corner of this dialog.
3. To add palette entries (colors) to this palette, use the cursor in the Color Value chart, in conjunction with
the Hue/Sat/Bright, Red/Blue/Green, opacity (and/or Hex value) to specify the color that you want to add to the palette.
4. Enter a description of the new palette entry in the Name text field. This is optional, but highly
recommended since this is the name that will appear with the color in the palette when the view option is set to details.
5. Click on the Commit button to add the selected color (and color name if applicable) to the selected slot in
the palette.
6. Repeat steps 3 - 5 to add as many additional colors to this palette as needed. Renaming Palettes 1. Select Panel > Edit Palettes (or click the toolbar button) to open the Edit Palettes dialog (FIG. 202 on
page 215). By default, the palette that is currently being used for the active Project is selected. Note that it is tagged as (active) in the drop-down list.
2. Select the palette that you want to rename from the palette selection drop-down list, in the upper-left
corner of this dialog.
3. Click the Rename button to open the Rename dialog (FIG. 203 on page 216).
4. Enter the new name for this palette in the text field and select OK.
216
5. The new name of the palette is indicated in the palette selection drop-down list. Note that the new name
overwrites the previous name (removing the previous name from the list).
1. Select Panel > Edit Palettes to open the Edit Palettes dialog (FIG. 202 on page 215). 2. Click the Import button to access the Open dialog. Use this dialog to locate and select the desired *.PAL
file.
3. Click Open to import the selected palette file and close the Open dialog. 4. If you desire to make the imported palette the active palette, you must select the Set Active button at the
top of the dialog.
1. Select Panel > Edit Palettes to open the Edit Palettes dialog (FIG. 202 on page 215). 2. Click the Export button to access the Save As dialog. Use this dialog to save the palette to a specified
directory, as a *.PAL file.
Copying Palettes
Use the Copy and Paste buttons at the top of the Edit Palettes dialog to copy and paste entire palettes:
1. Select Panel > Edit Palettes (or click the toolbar button) to open the Edit Palettes dialog (FIG. 202 on
page 215).
2. Select the palette that you want to copy from the palette selection drop-down list (in the upper-left corner
of the dialog).
3. Click the Copy button. 4. Click the Paste button to paste the contents of the source palette into the new (target) palette.
Alternatively, you could open an existing palette and paste over the existing palette entries.
1. Select Panel > Edit Palettes (or click the toolbar button) to open the Edit Palettes dialog (FIG. 202 on
page 215).
2. Select the palette that contains the color(s) that you want to copy from the palette selection drop-down list
(in the upper-left corner of the dialog).
3. 4. 5. 6.
Click to select the palette entry that you want to copy. Click the Copy Entry button. Click the New button to open a new (empty palette) or select an existing one from the drop-down list. Select the slot that you want to paste the copied palette entry into and click Paste Entry.
If you select a slot that already has a palette entry, the copied color will overwrite the original.
217
218
1. Select (or a create) a Page in your project. 2. In the Properties Control window - States Tab, click Video Fill to activate the drop-down list of available
video sources. The Video Fill options available will depend on the video capabilities of the panel type selected (FIG. 204).
If you are working with an existing page with buttons, be sure to click on the page (not on a button) to bring up the State Properties for the Page, and not a button on the page.
3. Select a video source from the list to apply the video fill to the Page.
219
1. Select (or a create) a Popup Page in your project. 2. In the Properties Control window - States Tab, click Video Fill to activate the drop-down list of available
video sources (Source 1-4). If you are working with an existing Popup Page with buttons, be sure to click on the popup page (not on a button) to bring up the State Properties for the Popup Page, and not a button on the Popup Page.
3. Select a video source from the list to apply the video fill to the Popup Page. Displaying a Video Source on a Button
TPD4 allows you to assign a video source as the background image on a Page, Popup Page or Button. To apply a video fill to a Button:
1. Select (or a create) a Button in your project. 2. In the Properties Control window - States Tab, click Video Fill to activate the drop-down list of available
video sources (Source 1-4). Since this is a state-oriented setting, be sure to consider all of the button states when applying the video fill. To apply the video fill across all states, use the All States option in the Properties Control window (States tab). Alternatively, you can use Ctrl+A to select all states in the State Manager window.
3. Select a video source from the list to apply the video fill to the button.
220
221
222
1. Select Button > Animation Wizard to start the wizard. This opens the first of six dialogs: Animation
Wizard - Select Type (Step 1 of 6).
2. Click Next to proceed to the Animation Wizard - Create Sequence (Step 2 of 6) dialog. Use this dialog to
specify the images to be included in the animation, and set the sequence of the images.
223
You can bring existing animated GIF files into your project via a third-party application (for example JASC 's Animation Shop which comes bundles with Paint Shop Pro - version 7 or higher; there are also many freeware applications available). The general concept is that you start with an existing animated GIF image, and save each frame in the animation out as an individual image file (resulting in a series of image files). Once extracted, these files can be imported into your TPD4 project, and the original GIF animation can be simulated. Note that since TPD4 does not support the (proprietary) .GIF file type, you will have to save the frames out to a supported file type. Click OK in the Select Resource dialog to return to the Animation Wizard - Create Sequence (Step 2 of 6) dialog. The image files you selected now appear in alpha-numeric order in the preview window of this dialog. If the images were named consecutively, you shouldn't have to modify the sequence at all. Use the Move Left and Move Right buttons to re-arrange the image sequence (if necessary). Use the Add and Remove buttons to add/remove selected images from the sequence (if necessary).
3. Click Next to proceed to the Animation Wizard - Size & Position (Step 3 of 6) dialog. Animation Wizard - Size & Position (Step 3 of 6)
Use this dialog to specify the size and position of the animation relative to the button that will contain it. This dialog tells you two important pieces of information: the size of the animated image, and the size of the button that will contain it. Use the radio buttons in the top-half of the dialog to specify wether to scale the button to fit the animated image, or to simply apply the animation to the button at its current size. If you are applying an animation that is bigger than the containing button, a warning message is displayed along the bottom of the dialog, and the animated image will be clipped (cropped) to fit in the button. Use the options in the lower-half of this dialog to specify the positioning of the animated image relative to the button containing it. Select the desired position option from the drop-down list. If you select Absolute, use the X and Y fields to indicate the desired position. All position (X-Y) values in TPD4 are zero-based (measured in pixels), meaning that the upper-left corner of each page is represented by the X-Y value of 0, 0.
4. Click Next to proceed to the Animation Wizard - Assign Frames (Step 4 of 6) dialog. Animation Wizard - Assign Frames (Step 4 of 6)
Use this dialog to create enough states to accommodate the number of frames in the animation sequence. For example, if you create a multi-state button, and open the Animation Wizard before adding any states, you have only two states on the button. Obviously, the animation sequence will have more than two frames. Lets say that your sequence has ten frames. The options in this dialog allow you to automatically detect the number of frames in the animation sequence, and the number of states available on the button to which the animation is to be applied. So, for a ten-frame animation, you'll have to add at least eight states to the button (one frame per button state). Use the first field to indicate which state to start the animation on (default = 1, the first state). Use the next field to indicate which of the existing states to duplicate, if more states are required for the animation. If button states exist beyond the end of the animation, use the radio buttons to indicate how to handle them (Leave Alone or Remove).
224
6. Click Next to proceed to the Animation Wizard - Finish (Step 6 of 6) dialog. Animation Wizard - Finish (Step 6 of 6)
This dialog lists the actions to be taken to generate the button animation, including: The number of states to be added to the button, and which state to duplicate. The position of the animation on the button. The starting state for the animation, the number of frames in the animation, and the animation type (Bitmap or Icon). A listing of each state and the image file associated with it. Click Finish to generate the animation. Note that the animation is indicated in the State Manager window. Use the Button Preview window to view the animation (select View > Button Preview, and click Push). Remember, many other animation effects can be achieved via the Tweening tools of TPD4.
Tweening
Short for in-betweening, "tweening" is the process of altering the display properties of intermediate frames between two images to give the appearance that the first image evolves smoothly into the second image. Tweening is a common concept in all sorts of animation software. TPD4 supports multi-state buttons, which can have up to 256 states which are used to animate a button push from Off to On and back again to Off. In TPD4, each state of a multi-state button can be thought of as an individual frame. So, if you create a multi-state button with 256 states, you might say that you have 256 frames available for the animation. When the multi-state button is turned On it will display all the assigned states from first to last within a specified time interval. This is called "Animate Time Up", and is definable in 1/10th second increments. When the button is turned back Off, the states will be displayed in reverse order. This is called "Animate Time Down", also definable in 1/10th second increments. The Animate Time Up and Animate Time Down values are set in the General tab of the Properties Control window. Provided you are not creating an image-based animation, the tweening process greatly simplifies the process of generating each state individually by automatically creating a gradual transition across all states based on the state properties of the first and last states. Beyond simplifying the process of creating motion animations, tweening also generates very smooth color transition effects that would be difficult or impossible to do any other way. When used in combination with TPD4's ability to handle RGB colors (including the opacity setting), it is also possible to use tweening to make buttons fade in and out on the page. Since transparent borders are not supported in this version of TPD4, to make a button fade completely in/out on a page, you would have to create the button without borders.
225
1. Select (or create a new) multi-state button with at least three states (FIG. 205). Note that the more states
you use, the smoother the transitions will appear.
2. Apply a color (Fill Color, Border Color, Text Color, Text Effect Color or any combination) to the last state
that is different from that of the first state (FIG. 206).
To create a fade effect, leave the colors the same for the first and last states, but change the opacity on one of them to zero (via the Colors dialog, set to RGB colors). An opacity setting of zero makes the button totally transparent. An opacity setting of 255 (max) makes the button totally opaque.
3. Ctrl+click to select two states in the State Manager window that are separated by at least one state (do not
select the intermediate states). The color tweener(s) will generate a transition effect that fades the first color into the second (FIG. 207).
226
The most basic type of color transition effect starts at the first state (or frame) and ends at the last. However, the TPD4 tweening tools are not limited to one tween effect per multi-stage button press. Experiment with applying multiple color tweens to the same button, and with different combinations of tweeners.
4. Right-click on one of the highlighted states in the State Manager window, and select Tweeners from the
context menu to open the Tweeners sub-menu.
5. Select one or more of the color tweeners to apply effects. The results are displayed immediately in the
State Manager window (FIG. 208).
Use the All Colors Tweener to tween all colors applied to the button.
1. 2. 3. 4.
Select (or create a new) multi-state button. Add an icon to the button (via the Icon field in the Properties Control window - States tab). Set the Icon Justification property to Absolute. Move the icon into it's starting position for the animation via the Image/Text Positioning dialog (select Image/Text Positioning from the State Manager context menu).
5. Insert at least one state (tweeners require at least three states to work). 6. Duplicate the state that the tweening should begin across all states to be included in the tween. 7. In the last state included in the tween, place the icon in its end position in the animation via the Image/
Text Positioning dialog (select Image/Text Positioning from the State Manager context menu).
8. Ctrl+click to select just the two states containing the icon start and end positions in the State Manager
window. They must be separated by at least one stage, and you should not select the intermediate states).
227
To create animated bitmap effects with a bitmap image, follow the steps outlined above. The only difference is that you will select and apply a bitmap rather than an icon to the button. In order to apply motion tweening to an icon, bitmap or text, the justification for the icon, bitmap or text must be set to Absolute.
1. 2. 3. 4.
Select (or create a new) multi-state button. Add text to the button (via the Text field in the Properties Control window - States tab). Set the Text Justification property to Absolute. Move the text into it's starting position for the animation via the Image/Text Positioning dialog (select Image/Text Positioning from the State Manager context menu).
5. Insert at least one state (tweeners require at least three states to work). 6. Copy the text from the first state to the last state to be tweened, and move it to its end position in the
animation via the Image/Text Positioning dialog (select Image/Text Positioning from the State Manager context menu).
7. Ctrl+click to select just the two states containing the text start and end positions in the State Manager
window. They must be separated by at least one stage, and you should not select the intermediate states). The Text Position tweener will generate a motion effect that moves the text across the button. In order to apply tweening to an icon, bitmap or text, the justification for the icon, bitmap or text must be set to Absolute.
Tweeners sub-menu
Select Tweeners from the States Menu or the State Manager context menu to open the Tweeners sub-menu. This menu allows you to select a type of tweener to use in creating animations on multi-state buttons. Note that depending on the elements of the selected buttons, some of these options may not be available. For example, the Bitmap Position option is only available if the selected buttons use a bitmap. The options in this menu include: Border Color - This option tweens the Border color (only) between two selected button states. Fill Color - This option tweens the Fill color (only) between two selected button states. Text Color - This option tweens the Text color (only) between two selected button states. Text Effect Color - This option tweens the Text Effect Color (only) between two selected button states. All Colors - This option tweens the Border, Fill, Text, and Text Effect colors between two selected states all at once. Overall Opacity - This option tweens the Overall Opacity (only) between two selected button states. Bitmap Position - This option tweens the position of a bitmap applied to two selected button states. Icon Position - This option tweens the position of an icon applied to two selected button states. Text Position - This option tweens the position of text applied to two selected button states. All Positions - This option will tween the Bitmap, Icon, and Text positions applied to two selected button states all at once.
228
Text Size - This option tweens the size of text applied to two selected button states. The position-oriented tweener options only work when the selected elements are set to use absolute positioning.
Chameleon Images
TPD4 supports a button state property called Chameleon Image. A chameleon image is a PNG image file that, when applied to a button/state, uses the Fill and Border colors assigned to the button/state to determine the colors in the image. In other words, it is an image that can have its colors changed on the panel itself (at runtime). PNG images consist of four separate color channels (Alpha, Red, Green and Blue), and chameleon images use the button/state's Fill and Border color assignments to determine the colors used in the image as follows: The Alpha channel of the Chameleon image defines the overall shape mask for the state. The Red channel defines the area that will be filled with the state's Fill Color. The Green channel defines the area that will be filled with the state's Border Color. The Blue channel is not used. As a result, if the Fill and/or Border colors are changed, then the colors used in the chameleon image will change accordingly. One possible benefit of using chameleon images is that, when used in conjunction with custom palettes, they enable the ability to create multiple color schemes that can be applied to a single template in the G4 PanelBuilder application. Refer to the Chameleon Images, Custom Palettes and G4 PanelBuilder help topic for details. When creating an image to be used as a Chameleon image in TPD4, set the image properties to RGB Color and 8 Bits/Channel. For an example of a chameleon image, refer to the "Chameleon Demo" TPD4 file attached to Tech Note TN733 to provide an example of chameleon images. This file can be viewed in G4 PanelPreview or on an actual G4 panel. To access AMX Tech Notes, you must be logged into www.amx.com as a dealer.
229
1. It meets the technical requirements for a chameleon image. 2. It has been applied to a button as the Chameleon Image (via the Chameleon Image state property). Working With Chameleon Images
Chameleon Images utilize the 4 color channels (Red, Blue, Green and Alpha) that comprise 32-bit images to define separate colorizable regions (FIG. 209).
1. Using an image editing program to create an image to use as the chameleon image:
Only PNG image files can be used as chameleon images, since in TPD4, only PNGs accommodate transparency as a color. For the transparent color to be interpreted correctly by TPD4, the PNG file must be saved with RGB colors (32-bit). Use the alpha channel to define the overall desired shape of the button (see Working with Transparent Backgrounds for more information). When creating an image to be used as a chameleon image, keep in mind that the Red and Green color channels will be replaced by the colors specified as the Fill and Border colors in TPD4 for each state of the button. The Blue color channel is not used for chameleon buttons.
2. Export the image as a PNG file. The exported file must be a 32-bit RGB Color (8 Bits/Channel) file in
order to be interpreted correctly by TPD4 as a chameleon image.
3. Import the image file into TPD4 (via the Import button on the Images tab of the Resource Manager
dialog).
4. In a Design View window, create or select a button to which you wish to apply the chameleon image.
Keep in mind that the Chameleon Image state property is not available for Text Input, Computer Control or TakeNote button types.
230
5. In the States tab of the Properties Window, set the button's Border Name to None. Note that at this point,
the Chameleon Image property becomes available (directly beneath Border Name).
6. In the Chameleon Image property, click the browse button (...) to access the Resource Manager dialog.
Select the chameleon image (in the Image tab) and click OK to apply it to the selected button. Now that the image has been applied as a chameleon image, note that any portion of the image that exists on the Red color channel now matches the color specified in the Fill Color state property. Similarly, any portion of the image that exists on the Green color channel now matches the color specified in the Border Color state property. A few examples of color changes resulting from changing the Fill and Border colors for the button/state with the chameleon image (FIG. 210):
Since chameleon buttons rely on the Border and Fill color settings, you can use the Fill Color and Border Color Tweening tools to quickly create color transition effects for each of the color channels (FIG. 211):
In fact, the Chameleon images can by used in conjunction with any of the other Tweening tools, depending on what elements (Bitmaps, Icons, Text) make up your button.
231
The project must include one preview image for each of the custom palettes that are included. These preview images are used to display the color options that are available for this template in G4 PanelBuilder. Note that if the exported project does not meet these requirements, the Color Schemes feature in G4 PanelBuilder will be disabled for this template. When a valid TPD4 project file is exported as a G4 PanelBuilder template, and then opened in the G4 PanelBuilder application, the Project > Color Schemes option (in the G4 PanelBuilder application) allows you to apply different color schemes to the template with a single click.
232
1. To access the Connection Settings dialog, select Transfer > Connect (or click the toolbar button) to open
the Connect dialog, and select New to create a new communication configuration, or select an existing configuration from the drop-down list and click Properties to edit those saved settings.
2. Click the Connection requires authentication checkbox to enable the User and Password text fields. 3. Enter the User Name/Password combination to save them as part of this configuration. 4. Once they are entered here, you will be able to establish this connection (by selecting it by name in the
Connect dialog) without having to type the authentication information each time you connect (FIG. 212).
233
When attempting to connect to a secured NetLinx Master, if the correct User Name/Password combination is not entered (or if the entries are incorrect), the connection will fail and TPD4 will display an error message indicating why the connection was denied. If a User Name/Password is specified for a Master that does not require authentication, they will be ignored. The status bar reflects the status of the connection as follows (FIG. 213):
not connected connected to an unsecured master connected to a secured but unencrypted master connected to a secured and encrypted master FIG. 213 Connection Status (indicated in the Status Bar)
Anytime you establish a new communication connection configuration (via the New button in the Connect dialog), the program requires you to enter a name for the configuration (in the Name field of the Connection Settings dialog). See the Connecting to a NetLinx Master section on page 235 for details on establishing a new connection. Specify the User Name and Password for NetLinx Master that require authentication in the Connection Settings dialog. The configuration you specify under that name can then be accessed via the Connection drop-down list in the Connect dialog. To recall a saved communication configuration, select Transfer > Connect to open the Connect dialog, and select the desired configuration from the Connection drop-down list (FIG. 215).
234
To delete a saved configuration, select a configuration (in the Connect dialog) and click the Delete button.
1. Select Transfer > Connect (or click the toolbar button) to open the Connect dialog. 2. In the Connect dialog, click New to establish a new connection. The invokes the Connection Settings
dialog (FIG. 212 on page 233).
3. In the Connection Settings dialog, enter a unique name for the connection configuration that are you
setting up (in the Name field). This allows you to recall the configuration you specify later, without having to re-configure.
5. Enter the IP Address of the target NetLinx Master in the IP Address/DNS Name field. 6. The IP Port should always be set to 1319 (default). Do not change this number. 7. If the target NetLinx Master has authentication enabled, you will prompted to enter a User Name and
Password in order to establish a connection.
235
Click the Connection requires authentication checkbox to enable the User and Password text fields. Enter the User Name/Password combination to save them as part of this configuration. Once they are entered here, you will be able to establish this connection (by selecting it by name in the Connect dialog) without having to type the authentication information each time you connect. Refer to the NetLinx Studio (v2.3 or higher) online help for details on enabling authentication on NetLinx Masters.
8. Click OK to save these settings and return to the Connect dialog. 9. Press the Connect button to establish the connection. Connecting to a NetLinx Master via Serial Port
These steps describe establishing serial communication with a NetLinx Master for the first time. Once these steps have been completed, you will have defined a named communication configuration that will then be included in the Connection list (in the Connect dialog). Then the communication configuration can be easily reused by simply selecting it from the drop-down list in the Connect dialog.
1. Select Transfer > Connect to open the Connect dialog. 2. In the Connect dialog, click New to establish a new connection. The invokes the Connection Settings
dialog (FIG. 212 on page 233).
3. In the Connection Settings dialog, enter a unique name for the connection configuration that are you
setting up (in the Name field). This allows you to recall the configuration you specify later, without having to re-configure.
5. Configure the Settings parameters (COM Port, Data Bits, Parity, Baud Rate, Stop Bits and Flow control)
as needed.
6. If the target NetLinx Master has authentication enabled, you will prompted to enter a User Name and
Password in order to establish a connection. Click the Connection requires authentication checkbox to enable the User and Password text fields. Enter the User Name/Password combination to save them as part of this configuration. Once they are entered here, you will be able to establish this connection (by selecting it by name in the Connect dialog) without having to type the authentication information each time you connect. Refer to the NetLinx Studio (v2.3 or higher) online help for details on enabling authentication on NetLinx Masters.
7. Click OK to save these settings and return to the Connect dialog. 8. Press the Connect button to establish the connection.
236
1. In the Connect dialog, click New to establish a new connection. The invokes the Connection Settings
dialog (FIG. 212 on page 233).
2. In the Connection Settings dialog, enter a unique name for the connection configuration that are you
setting up (in the Name field). This allows you to recall the configuration you specify later, without having to re-configure.
4. Configure the Settings parameters (COM Port, Data Bits, Parity, Baud Rate, Stop Bits, Flow control and
Phone #) as needed.
5. If the target NetLinx Master has authentication enabled, you will prompted to enter a User Name and
Password in order to establish a connection. Click the Connection requires authentication checkbox to enable the User and Password text fields. Enter the User Name/Password combination to save them as part of this configuration. Once they are entered here, you will be able to establish this connection (by selecting it by name in the Connect dialog) without having to type the authentication information each time you connect. Refer to the NetLinx Studio (v2.3 or higher) online help for details on enabling authentication on NetLinx Masters.
6. Click OK to save these settings and return to the Connect dialog. 7. Press the Connect button to establish the connection.
237
1. Select Transfer > Send to Panel or Receive From Panel. If you are not already connected to the Master,
the Connect dialog is invoked (FIG. 214 on page 234). If you have already established a TCP/IP communication configuration, select it from the dropdown list. Otherwise, create and save a serial communication configuration via the Connection Settings dialog:
a. In the Name field, enter a name for this communication configuration. This is the name that will b. c. d. e.
appear in the drop-down list of the Connect dialog. Select TCP/IP from the Transport drop-down list. Configure the TCP/IP connection (IP Address/DNS Name of the target/source device). The IP Port should always be set to 1319 (default). Do not change this number. Click OK to save the configuration and close the Connection Settings dialog
238
3. Once communication is established, either the Send To Panel or Receive From Panel dialog is invoked
(depending on wether you selected Send to Panel or Receive From Panel from the Transfer menu), displaying an online device tree, indicating all devices connected to the Master that are currently online (according to the Filter setting). The online device tree lists the online devices by System #, Device #, Description, (firmware) Version, and Manufacturer. To refresh the Online Devices Tree, disconnect and reconnect via the commands in the Transfer menu.
4. Use the Options checkboxes in the Send to Panel or Receive From Panel dialog to enable/disable the
transfer options. See the Transfer Options section on page 241.
1. Select Transfer > Send to Panel or Receive From Panel. If you are not already connected to the Master,
the Connect dialog is invoked. If you have already established a serial communication configuration, select it from the drop-down list. Otherwise, create and save a serial communication configuration via the Connection Settings dialog:
a. In the Name field, enter a name for this communication configuration. This is the name that will
appear in the drop-down list of the Connect dialog.
b. Select Serial from the Transport drop-down list. c. Configure the selected serial (COM port) connection (Baud Rate, Data Bits, Parity, Stop Bits and
Flow Control). The suggested settings are: Baud Rate - 38400 Data Bits - 8 Parity - none Stop Bits - 1 Flow Control - none
d. Click OK to save the configuration and close the Connection Settings dialog 2. Click Connect in the Connect dialog to establish the serial connection. 3. Once communication is established, either the Send To Panel or Receive From Panel dialog is invoked
(depending on wether you selected Send to Panel or Receive From Panel from the Transfer menu), displaying an online device tree, indicating all devices connected to the Master that are currently online (according to the Filter setting).
239
The online device tree lists the online devices by System #, Device #, Description, (firmware) Version, and Manufacturer. To refresh the Online Devices Tree, disconnect and reconnect via the commands in the Transfer menu.
4. Use the Options checkboxes in the Send to Panel or Receive From Panel dialog to enable/disable the
transfer options. See the Transfer Options section on page 241.
5. Click Send or Receive to begin the transfer. Panel File Transfers via Modem
In TPD4, file transfer operations are always routed through the Master to which the target/source touch panels are connected. While the Master manages all file transfers to and from the panels, the panel files are routed to the panels, where they will reside (panel files never reside on the Master). Note: Modem transfer is the slowest method of transferring TPD4 panel files to the target device. This method can range in speed but on average communicates at 3 Kbps. To use Modem as the transport type:
1. Select Transfer > Send to Panel or Receive From Panel. If you are not already connected to the Master,
the Connect dialog is invoked. If you have already established a modem communication configuration, select it from the dropdown list. Otherwise, create and save a modem communication configuration via the Connection Settings dialog:
a. In the Name field, enter a name for this communication configuration. This is the name that will
appear in the drop-down list of the Connect dialog.
b. Select Modem from the Transport drop-down list. c. Configure the selected modem connection (Baud Rate, Data Bits, Parity, Stop Bits, Flow Control and
Phone Number). The suggested settings are: Baud Rate - 38400 Data Bits - 8 Parity - none Stop Bits - 1 Flow Control - none
d. Click OK to save the configuration and close the Connection Settings dialog 2. Click Connect in the Connect dialog to establish the modem connection. 3. Once communication is established, either the Send To Panel or Receive From Panel dialog is invoked
(depending on wether you selected Send to Panel or Receive From Panel from the Transfer menu), displaying an online device tree, indicating all devices connected to the Master that are currently online (according to the Filter setting). The online device tree lists the online devices by System #, Device #, Description, (firmware) Version, and Manufacturer. To refresh the Online Devices Tree, disconnect and reconnect via the commands in the Transfer menu.
240
4. Use the Options checkboxes in the Send to Panel or Receive From Panel dialog to enable/disable the
transfer options. See the Transfer Options section on page 241.
1. Configuring the Touch Panel for Virtual NetLinx Master TCP/IP Transfers 2. Configuring TPD4 for Virtual NetLinx Master TCP/IP Transfers 3. Transferring Files Using a Virtual NetLinx Master TCP/IP Connection Configuring the Touch Panel for Virtual NetLinx Master TCP/IP Transfers
If it is not already powered up and connected, apply power to the touch panel and verify that it is connected to the LAN via the TCP/IP connector on the rear (or side) of the panel (G4 panels only). To configure the panel for Virtual NetLinx Master transfers via TCP/IP:
1. On the Touch Panel, press and hold the Setup Access button (on the front panel, below the touch screen)
for 3 seconds to access the Setup page.
2. 3. 4. 5. 6. 7. 8.
Press the Protected Setup button to access the Protected Setup page. Use the on-screen keyboard to enter the password (the default password is 1988). Press the System Connection button to access the System Connection Setup page. Select Ethernet as the Master Connection. Select URL as the Connection Mode. Set the System Number to 0 (zero). Select the Master URL / IP input box and enter the IP address of your PC (displayed in the Virtual NetLinx Master Properties dialog).
241
9. Press the Back button to return to the Protected Setup page and press the Reboot button to reboot the
panel.
10. After several seconds, the panel should appear in the online device tree, listed as Virtual NetLinx
Master. Once you can see the device online, you may transfer panel files to and from the G4 device without the need for an intermediate NetLinx master.
Configuring TPD4 for Virtual NetLinx Master TCP/IP Transfers 1. Select Transfer > Connect to open the Connect dialog (or click the toolbar button). 2. Select <Virtual NetLinx Master>[] from the Connection drop-down list.
The Virtual NetLinx Master connection allows G4 devices to directly connect to TPDesign4 instead of a physical NetLinx master for transfers.
3. Click the Properties button to access the Virtual NetLinx Master Properties dialog, which displays the
Host Name and IP address for your PC.
4. Write down the IP address. a. Enter this IP address as the Master's URL/IP on the System Connection Setup page on the touch
panel. b. Once you have entered the IP address of the PC (acting as a Virtual NetLinx Master), press the Reboot button on the System Connection Setup page to reboot the panel.
5. Select Transfer > Send to Panel to open the Send To Panel dialog. The panel should appear in the list of
Online Devices. Once you can see the panel online, you may transfer the files. To receive files from the panel, select Transfer > Receive From Panel. Allow several seconds after the panel is rebooted for it to appear in the Online Device list in the Send To Panel or Receive From Panel dialogs.
Powering Up and Connecting the Panel (via TCP/IP) 1. Verify that an Ethernet cable is connected from either the rear (NXT models) or side (NXD models) of the
panel to a valid Ethernet Hub.
2. Connect the terminal end of the PSN6.5 power cable to the 12 VDC power connector on the rear/side of
the touch panel.
3. Verify the green Ethernet LED (on the rear Ethernet port) is illuminated (indicating a proper connection).
Sending Files To the Panel 1. Select Transfer > Send to Panel to open the Send to Panel dialog. 2. Select any Options (Smart Transfer, Normal Transfer or Full Clean) as desired. 3. Click the Send button to initiate the transfer. The progress of the transfer is indicated in the Status column
of the Transfer Status Window.
242
Receiving Files From The Panel 1. Select Transfer > Receive from Panel to open the Receive from Panel dialog. 2. Select any Options (Smart Transfer, Normal Transfer or Full Clean) as desired. 3. Click the Receive button to initiate the transfer. The progress of the transfer is indicated in the Status
column of the Transfer Status Window.
1. Configuring the Touch Panel for Virtual NetLinx Master USB Transfers 2. Configuring TPD4 for Virtual NetLinx Master USB Transfers 3. Transferring Files Using a Virtual NetLinx Master USB Connection Installing the AMX USB Driver for G4 Touch Panels
After installation of TPD4, please follow the steps below to ensure a valid USB connection to the G4 panels:
1. 2. 3. 4.
Power up the Panel without the USB cable connected to the panel. Plug in the USB cable into the G4 panel. You should see an USB icon show up in the System Tray. Double click on the icon to bring up the list of USB devices (you should see the AMX USB LAN LINK device in the list). Driver button.
5. If the Install Driver dialog doesn't appear automatically, select the Properties button and then the Update 6. When the Install Driver dialog does appear, click on the Next buttons, accepting all the default prompts. 7. The OS will complain about the fact that the driver you are installing/updating does not have a digital
signature. This is acceptable; select to continue the installation. After installation is complete, you are ready to connect to the USB port of the G4 panel. This is done via the Virtual NetLinx Master connection in the Connect dialog (Transfer > Connect).
Configuring the Touch Panel for Virtual NetLinx Master USB Transfers
If it is not already powered up and connected, apply power to the touch panel and verify that it is connected to the LAN via the TCP/IP connector on the rear (or side) of the panel (G4 panels only). To configure the panel for Virtual NetLinx Master transfers via USB:
1. Press and hold the grey Front Setup Access button (below the touch screen) for 3 seconds to access the
Setup page.
2. 3. 4. 5.
Press the Protected Setup button to access the Protected Setup page. Use the on-screen keyboard to enter the password (the default password is 1988). Press the System Connection button to access the System Connection Setup page. Select USB as the Master Connection (this selection causes all other fields in the Master Connection section become read-only). panel.
6. Press the Back button to return to the Protected Setup page and press the Reboot button to reboot the 7. After several seconds, the panel should appear in the online device tree, listed as Virtual NetLinx Master.
in the Send To Panel or Receive From Panel dialog
243
Once you can see the device online, you may transfer panel files to and from the G4 device without the need for an intermediate NetLinx master.
Configuring TPD4 for Virtual NetLinx Master USB Transfers 1. Select Transfer > Connect to open the Connect dialog (or click the toolbar button). 2. Select <Virtual NetLinx Master>[] from the Connection drop-down list.
The Virtual NetLinx Master connection allows G4 devices to directly connect to TPDesign4 instead of a physical NetLinx master for transfers.
3. Select Transfer > Send to Panel to open the Send To Panel dialog. The panel should appear in the list of
Online Devices. Once you can see the panel online, you may transfer panel files. To receive files from the panel, select Transfer > Receive From Panel. Allow several seconds after the panel is rebooted for it to appear in the Online Device list in the Send To Panel or Receive From Panel dialogs.
Powering Up and Connecting the Panel (via USB) 1. Connect the terminal end of the PSN6.5 power cable to the 12 VDC power connector on the rear or side
(depending on the model) of the touch panel.
2. Use a (type-A) USB cable to connect the panel to an available USB port on your PC.
First plug the USB cable into the PC, then connect to the panel.
Sending Files To the Panel 1. Select Transfer > Send to Panel to open the Send to Panel dialog. 2. Select any Options (Smart Transfer, Normal Transfer or Full Clean) as desired. 3. Click the Send button to initiate the transfer. The progress of the transfer is indicated in the Status column
of the Transfer Status Window.
Receiving Files From The Panel 1. Select Transfer > Receive from Panel to open the Receive from Panel dialog. 2. Select any Options (Smart Transfer, Normal Transfer or Full Clean) as desired. 3. Click the Receive button to initiate the transfer. The progress of the transfer is indicated in the Status
column of the Transfer Status Window.
244
1. Launch the Network Connections dialog (select Start > Programs > Accessories > Communications >
Network Connections - FIG. 219).
2. Right-click on the Network Connection that indicates "AMX USB Device Link", and select Properties
from the context menu. This invokes the Local Area Connection Properties dialog (FIG. 220).
245
3. Select Internet Protocol (TCP/IP), and click on Properties. This invokes the Internet Protocol (TCP/
IP) Properties dialog (FIG. 221).
4. Select Use the following IP address, and enter the desired (static) IP Address and Subnet Mask for the
panel.
246
1. Select File > Import Touch Panel Template to open the Import Touch Panel Template dialog. 2. Locate and select a Touch Panel Template file (*.VAT or *.TPT) to import into TPD4 for editing.
When a VAT or TPT template file is imported, a Status dialog indicates the progress as the various component files are loaded. Depending on the size of the template, this could take several minutes. Once the template has been loaded, it is opened in TPD4 as a project file. The buttons and pages can be edited, copied and pasted just like any other TPD4 project.
247
The System Page template is a resource that you can use to copy/paste entire System Pages into your project, or copy/paste selected elements from a System Page into a page in your project. For example, you may want to include the entire RGB Setup page in your project. Once you copy the System Page into your project, it is treated like any other page in your project. You can edit or modify the page and contained buttons, just like you would for any other page in the Project. Alternatively, you may decide that rather than pasting an entire system page into your project, you only want to use some of the features on a System Page. In this case, you can copy/paste just the buttons you want out of a System Page, and paste them into any page in your project. The System Page Template Pages are all intentionally locked. The pages and the buttons they contain are not editable until they are copied out of the System Page Template folder, and pasted into a Project. Note that the System Page Templates all have names that begin with two underscores (i.e. "__RGBsetup"). When these pages are pasted into a Project, the name is automatically changed to a single underscore (i.e. "_RGB setup"). This is to protect the original System Page Template pages from being edited. TPD4 will not allow you to create and save a page with the two underscore prefix. Again, once the System Page Template is copied into a Project, and the name is (automatically) changed to use a single-underscore prefix, it is fully editable, just like any other page in the Project. Note that if you click on a button on a System Page, the Address and Channel Port/Code assignments work differently than the buttons you create. System Page buttons always use these settings: Address Port: System Page buttons which require communication from the master controller to the panel, are always set to the reserved setup port (0 - setup port) by default. Address Code: System Page buttons are each assigned a descriptive name as the Address Code for easy identification. Channel Port: Since System Page buttons require communication out of the panel to the master controller, the Channel Port is always set to the reserved setup port (0 - setup port) by default. Channel Code: System Page buttons are each assigned a descriptive name as the Channel Code for easy identification. The pages that make up the template cannot be modified directly. You can open the System Page Template (via the File menu) and copy entire pages or particular elements from a page, and them paste them into your Project, and once these pages or buttons exist within your Project they can be modified as needed. However, TPD4 treats the System File Template as a password-protected file to avoid accidentally modifying the template pages directly. Keep in mind that if the System Page Template was opened as part of the Workspace, the Reload last workspace option (in the Application tab of the Preferences dialog) will cause the application to attempt to open the (protected) System Page Template as part of the last opened workspace. In this case you will be presented with the Enter Access Password dialog. Since there is not a password to unlock the file, the only option is to open the System Page Template as a Read-Only file.
248
1. Select the System Page (or pages) that you want to copy (in the Pages tab of the Workspace Navigator). 2. Select Edit > Copy (or use the Copy toolbar button).
You cannot cut a System Page out of the System Page Template.
3. Select the target project and select Edit > Paste (or use the Paste toolbar button). Note that once the
System Page is pasted into the project, the System Page name automatically changes from a double- to a single-underscore prefix (i.e. "_RGBsetup"). This indicates that the page will be treated like a "normal" project page from this point on. Double-click the copied System Page to open it in a Design View window, and edit the page and contained buttons like you would any other page in the project.
keyboardPrivate: This is a more secure version of the keyboard popup page, where only asterisks are displayed when you type. keypad: keypadExtend: keypadPrivate: keypadTele: This is standard 10-key numeric keypad (also includes Backspace, Clear, Abort and Done buttons). Similar to the keypad popup page, but with several additional symbols (-, /, ., :, '). This is a more secure version of the keypad popup page, where only asterisks are displayed when you type. Similar to the keypadExtend popup page, but includes asterisk and pound symbols additional symbols, for use with telephone connections.
Use the keyboard and keypad System Popup Pages anytime you need to add text/numeric entry functions to your Project.
249
1. Copy and Paste the entire Keyboard or Keypad Popup Page into an existing project: Select the appropriate
System Template Popup Page in the Workspace Navigator (Pages tab), select Edit > Copy, then select the target Project in the Workspace Navigator and select Edit > Paste. The pasted popup page is automatically pasted to the Popup Pages folder for the target Project.
2. Copy and Paste only selected elements from a Keyboard or Keypad Popup Page into an existing project:
Open a Keyboard or Keypad Popup Page, and copy only the buttons/keys that you plan to use into an existing page in a Project. Either way, you won't have to do any additional work to make the keyboard/keypad work on the panel. However, remember that once pasted into your Project, these popup pages and buttons are fully editable.
Protected:
Protected Secondary ID: This page contains options to allow you to apply password protection to a secondary (wireless) connection. Protected Sensors: Resolution: Setup: This page contains options to allow you to configure light and motion sensors on the panel. This page allows you to match the outgoing screen resolution on an NXP-TPI/4 to the connected touch panel. The Setup page allows you to set several basic setup options (Panel Timeout, Bus Blink, Panel Volume and Default Panel Sounds - single or double-beep). This page also contains buttons that have page flips to other related System Pages (Project Information, Panel Information, Time Adjustment, Video/RGB Adjustment, Protected Setup). Use the Time page to set the system clock, and to specify how time and date values will be displayed on the panel.
Time:
250
RGB Setup:
Video Setup:
Volume:
251
1. You should spend some time deciding what you want the panel to do. What navigation model are you
going to use? You know you're going to have the required template elements but are some of your menus so complex they will require sub-menus? What devices and features will the template include? Consider using some optional template elements. Careful consideration will reveal the type of navigation you will need. Things to remember: You must have a minimum of 1 Navigation element. You must have a minimum of 1 Placeholder element. You must have a main preview image ("[preview].jpg" or "[preview].png"). You cannot create a "drill-down" style of navigation with G4 PanelBuilder. Your navigation menus will always be on top of your Devices. Make sure they do not conflict with each other. Suggestion: Create a simple TPD4 file showing the desired output. Doing this gives you a starting point to begin looking at how to modify the TPD4 file to create a template.
2. You are ready to begin restructuring the elements to fit your needs. Start with the Device and Navigation
elements first and the Placeholder elements last. The key for creating your own elements naming conventions. G4 PanelBuilder looks for navigations with the name, [nav#navName]pageName. Suggestion: Start with the most complex Device element first, then make copies of it. This method allows you to modify and delete thus the pages are more likely to be similar. Also, create several different variations of Navigation and Sub-Navigations (3 items, 4 items, etc...).
3. Create the preview images for the elements. Images do not have to be full size, in fact AMX templates
utilize a 1/4 screen size to reduce the template file size. Suggestion: Mock up the interface in TPD4 by opening the corresponding page and display all applicable popups. Select Page > Copy Image To Clipboard. Then open the resource manager and select Paste. Now rename the new image to the appropriate element name.
252
4. After you have completed the template design, do a generate. A .TPT file is created and a list of errors
and warnings are displayed at this time, if applicable.
253
The template must have at least one of each of the following elements:
Navigation Elements
This is the main menu where most of your navigation selections are made. Consists of at least one popup but can contain multiple popups. Cannot contain any pages Only one can be displayed at a time. Element Specific Conventions: [nav#navName]pageName navName - The name of the Navigation as it will appear within G4 PanelBuilder. pageName - The base page name that will be used in the generated TP4 project. Only one of the pages or popups in A Navigation element can contain an Info button. The Info button contains the page flip information for displaying the Navigation element and can contain an optional icon image. [info]buttonName This text is used to populate the mouse-over element description in the toolbox. buttonName- This is unused and the button is deleted in the generated TP4 project. The popups in the Navigation element must contain at lest one item button that will be filled with navigation information. Item buttons are ordered within the Navigation element in order of left to right then top to bottom. [item]buttonName buttonName - This is the button name used in the generated TP4 project. Popups in a Navigation element can contain one or more Title buttons. The text will be replaced with the name given to the Navigation in the generated TP4 project. [title]buttonName buttonName - This is the button name used in the generated TP4 project.
254
navName - The name of the Navigation as it will appear within G4 PanelBuilder. pageName - The base page name that will be used in the generated TP4 project. buttonName - This is unused and the button is deleted in the generated TP4 project. buttonName - This is the button name used in the generated TP4 project. buttonName - This is the button name used in the generated TP4 project.
Placeholder Elements
This is a blank device element that allows you to represent unique items in the diagram area. Consists of one page and may have optional popups. Only one Placeholder element can be displayed at a time. Element Specific Conventions: [placeholder#placeholderName]pageName placeholderName - The name of the Placeholder element as it appears in G4 PanelBuilder. pageName - The base page name used in the generated TP4 project. Only one page or popup within a Placeholder element can contain an Info button. The Info button contains the page flip information for displaying the Placeholder element and can also contain an optional icon image. [info]buttonName This text is used to populate the mouse-over element description in the toolbox. buttonName - This is unused and the button is deleted in the generated TP4 project. The pages and popups in a Placeholder element can contain one or more Title buttons. The text is replaced with the name given to the Placeholder element in the generated TP4 project. [title]buttonName buttonName - The button name will be used in the generated TP4 project.
255
Mode Elements
This element is generally used for designating "modes" your system will work in, i.e., "Video Conference Mode" or "Presentation Mode." Additionally, Mode elements can be associated with rooms. Consists of a single page and can contain multiple popups. Only one Mode element can be displayed at a time. Element Specific Conventions: [mode#modeName]pageName modeName - The name of the Mode as it will appear in G4 PanelBuilder. pageName - The base page name used in the generated TP4 project. Only one page in a Mode element can contain an Info button. The Info button contains the page flip information for displaying the Mode element and can also contain an optional icon image. [info]buttonName This text is used to populate the mouseover element description in the toolbox. buttonName - Unused; the button is deleted in the generated TP4 project. The page in the Mode element must contain at least one Item button that contains the navigation information. Item buttons are ordered within the Mode element by left-to-right then top-to-bottom. [item]buttonName buttonName - The button name used in the generated TP4 project.
256
Popups in a Mode element can contain one or more Title buttons, whose text is replaced with the name given to the Mode in the generated TP4 project. [title]buttonName buttonName - The button name used in the generated TP4 project. modeName - The name of the Mode as it will appear in G4 PanelBuilder. pageName - The base page name used in the generated TP4 project. buttonName - Unused; the button is deleted in the generated TP4 project. buttonName - The button name used in the generated TP4 project. buttonName - The button name used in the generated TP4 project.
Sub-Navigation Elements
This element is a submenu and can occur on screen with Navigation elements. Consists of at least one popup and can contain multiple popups. Cannot contain pages. Element Specific Conventions: [subnav#navName]pageName navName - The name of the Sub-Navigation element as it appears in G4 PanelBuilder pageName - The base page name that is used in the generated TP4 project. Only one of the popups in a Sub-Navigation element can contain an Info button, which contains the page flip information for displaying the Sub-Navigation element and can also contain an optional icon image. [info]buttonName This text is used to populate the mouseover element description in the toolbox. buttonName - Unused; the button is deleted in the generated TP4 project. Popups in the Sub-Navigation element must contain at least one Item button that will contain navigation information. Item buttons are ordered in the Navigation element left-to-right then top-to-bottom. [item]buttonName buttonName - The button name used in the generated TP4 project. The popups in a Sub-Navigation element can contain one or more Title buttons. The text within the Title buttons are replaced with the name given to the Sub-Navigation in the generated TP4 project. [title]buttonName buttonName - The button name used in the generated TP4 project. navName - The name of the Sub-Navigation element as it appears in G4 PanelBuilder pageName - The base page name that is used in the generated TP4 project. buttonName - Unused; the button is deleted in the generated TP4 project. buttonName - The button name used in the generated TP4 project. buttonName - The button name used in the generated TP4 project.
Splash Elements
This element is a popup that can contain an image, i.e., corporate logo. Consists of at least one popup and can contain multiple popups. Cannot contain pages. Element Specific Conventions: [splash#splashName]pageName splashName - The name of the Splash element as it appears in G4 PanelBuilder. pageName - The base page name that is used in the generated TP4 project.
257
Only one of the popups in a Splash element can contain an Info button, which contains the page flip information for displaying the Splash element and can also contain an optional icon image. [info]buttonName This text is used to populate the mouseover element description in the toolbox. buttonName - Unused; this button is deleted in the generated TP4 project. Popups in a Splash element can contain one or more Title buttons. The text within the buttons is replaced with the name given to the Splash element in the generated TP4 project. [title]buttonName buttonName - The button name used in the generated TP4 project. splashName - The name of the Splash element as it appears in G4 PanelBuilder. pageName - The base page name that is used in the generated TP4 project. buttonName - Unused; this button is deleted in the generated TP4 project. buttonName - The button name used in the generated TP4 project.
Device Elements
This element is the actual device used. For reference, consult AMX templates where we list the most commonly used devices. Consists of one page and can contain multiple popups. Only one Device element can be displayed at a time. Element Specific Conventions: [device#deviceName]pageName deviceName - The name of the Device as it appears in G4 PanelBuilder. pageName - The base page name used in the generated TP4 project. Only one page or popup in a Device element can contain an Info button which contains the page flip information for displaying the Device element and can also contain an optional icon image. [info]buttonName This text is used to populate the mouseover element description in the toolbox. buttonName - Unused; the button is deleted in the generated TP4 project. Pages and popups in a Device element can contain one or more Title buttons. The text within the buttons is replaced with the name given to the Device element in the generated TP4 project. [title]buttonName buttonName - The button name used in the generated TP4 project. deviceName - The name of the Device as it appears in G4 PanelBuilder. pageName - The base page name used in the generated TP4 project. buttonName - Unused; the button is deleted in the generated TP4 project. buttonName - The button name used in the generated TP4 project.
Feature Elements
This element resembles the Device element. However, there can only be one Feature element in a panel design, i.e., the "Clean Panel" feature. Consists of one page and can contain multiple popups. Only one Feature element can be displayed at a time. Element Specific Conventions: [feature#featureName]pageName featureName - The name of the feature as it appears in G4 PanelBuilder. pageName - The base page name that is used in the generated TP4 project.
258
Only one page or popup in a Feature element can contain an Info button, which contains the page flip information for displaying the Feature element and can also contain an optional icon image. [info]buttonName This text is used to populate the mouseover element description in the toolbox. buttonName - Unused; the button is deleted in the generated TP4 project. The pages and popups in the Feature element can contain one or more Title buttons, whose text is replaced with the name given to the Feature in the generated TP4 project. [title]buttonName buttonName - The button name that is used in the generated TP4 project. featureName - The name of the feature as it appears in G4 PanelBuilder. pageName - The base page name that is used in the generated TP4 project. buttonName - Unused; the button is deleted in the generated TP4 project. buttonName - The button name that is used in the generated TP4 project.
Sub-Feature Elements
This element represents the "universal" features that appear on many pages, i.e., "volume." Consists of at least one popup and can contain multiple popups. Cannot contain pages. Element Specific Conventions: [subFeature#subFeatureName]pageName subFeatureName - The name of the Sub-Feature element as it appears in G4 PanelBuilder. pageName - The base page name that is used in the generated TP4 project. Only one of the pages or popups in a Sub-Feature element can contain an Info button, which contains the page flip information for displaying the Sub-Feature element and can also contain an optional icon image. [info]buttonName This text is used to populate the mouseover element description in the toolbox. buttonName - Unused; the button is deleted in the generated TP4 project. Popups in a Sub-Feature element can contain one or more Title buttons, whose text is replaced with the name given to the Sub-Feature element in the generated TP4 project. [title]buttonName buttonName - The button name that is used in the generated TP4 project. subFeatureName - The name of the Sub-Feature element as it appears in G4 PanelBuilder. pageName - The base page name that is used in the generated TP4 project. buttonName - Unused; the button is deleted in the generated TP4 project. buttonName - The button name that is used in the generated TP4 project.
259
Any Sub-Navigation elements that may have been currently displayed will be hidden.
When navigating to a Device, Feature or Placeholder element from a Sub-Navigation element: Hide all popups on the page for that element. Perform the standard page flip to the page for that element. Show any popups for the element. Show any popups for the linked Sub-Feature, when applicable. Show the Navigation element that is linked to the Sub-Navigation element or chain. For Sub-Navigations the user must set "Hide On Action" to No, then show the Sub-Navigation element that is linked to the element. Otherwise, the Sub-Navigation is not shown. Info buttons are optional and only have to be included within an element if the order the popup pages is shown is important, if not all popup pages should be initially shown, or if an icon is used on the corresponding Navigation or Sub-Navigation button. If the Info button is omitted, popup pages are shown in alphabetical order.
260
261
According to the table there are only 6 resolutions, the minimum number to make a template family, but 12 different panel types. You only need one template per resolution but you should consider instances such as the MVP-8400, where the Pixels Per Inch is higher than the CV12 and the MVP-7500's limited color depth. Both examples are situations where you might consider making specific templates for those panel types.
262
263
264
Program Preferences
Program Preferences
Overview
Select Edit > Preferences to open the Preferences dialog, where you can set general program preferences for TPD4. This dialog contains four tabs: Application: The items in this tab relate to Startup, Undo/Redo Support and Miscellaneous program settings. Appearance: The items in this tab relate to the Design View window. "Directories: The items in this tab allow you to specify default directories for Panel files, Backup copies and the image library directory. Editor Selection: The items in this tab allow you associate external editing programs with image and sound files that can be accessed through TPD4.
Startup
Prompt for system generated name: This option will default the checkbox for system generated filenames (in the New Project Wizard) to the checked position. With this option unchecked, system generated filenames are not generated, although the data that makes them up is still saved. Reload last workspace: This option will reopen the last panel file and the pages (including popup pages) that were open when the application was closed (assuming that a panel file was open when the application was closed).
265
Program Preferences
If the System Page Template was opened as part of the Workspace, the Reload last workspace option will cause the application to attempt to open the (passwordprotected) System Page Template as part of the last opened workspace. In this case you will be presented with the Enter Access Password dialog. Since there is not a password to unlock the file, by design the only option is to open the System Page Template as a Read-Only file. Expand Workspace Navigator: This option will expand the tree structure (in the Workspace Navigator - Pages tab) on application startup. Note that this option does not take effect immediately on pressing Apply, but will take effect the next time you open a project file.
Miscellaneous
Flush Closed Pages on Save: When enabled, this option flushes system memory of any pages that were previously opened but now closed, when the project is saved successfully (default = enabled). Create backup copy: This option saves a backup copy of the panel file to the backup folder every time you perform a save operation. Use "Copy of" prefixes: This option automatically adds the prefix "Copy of" to any pasted pages and popup pages, if a name conflict occurs. With this option unchecked, the user will be asked to resolve the name conflict. Retain selected tool: This option locks the selected tool (Selection Tool or Button Draw Tool). With this option unchecked, the tool is reverted to the Selection Tool at the completion of every button draw operation. Image Cache Size (MB): Use the up and down arrows to adjust the size of the image cache (default = 8 MB). The image cache size value specifies the amount of memory allocated for images used in displaying buttons (in the Design View, State Manager, and Button Preview). If an image is not found in the in-memory cache, it must be loaded again from disc, which is a much slower operation. Increase the cache size to keep more images in memory (potentially, depending on their size) to speed up loading and displaying those images.
Warning Messages
When deleting resources in use: Click to receive a warning from TPD4 when you attempt to delete resources that are currently being used by the open project. Reset: Click to reset all options in this tab to their default settings. Reset All: Click to reset all options in all tabs to their default settings. Click Apply to apply any changes. Click OK to save your changes and close the Preferences dialog. Click Cancel to close the Preferences dialog, without saving any changes.
266
Program Preferences
Window
Initial Zoom: Click the down arrow to open a drop-down list of the zoom settings that can be applied as the default initial zoom setting for all new Design View windows. This setting does not affect the zoom setting for pages that are already open. You can also manually set the zoom factor on any page or popup page by selecting the page and using the Zoom Toolbar, where you can either use the zoom in and out icons to zoom in/out (in 25% increments), or select the zoom setting (including Fit Page, Fit Width, Fit Height) from the drop-down list. Once of the Initial Zoom options is called Actual Size. Because there are variations in dots per inch measurements among panels and among computer monitors, this option allows you to see how large a page will appear when actually displayed on the panel. To use this option, you must first specify their monitor's visible size (in the Monitor Size field - see below). This number should represent the diagonal measurement of the visible portion of the monitor or of the space occupied by a fullscreen image, as opposed to the monitor's overall diagonal size. For example, most 21" monitors typically have between a 19.5" and 20" viewable area. Monitor Size: Use this field to specify the size of the visible portion of the monitor that your pages will actually be displayed on (see Initial Zoom and Note above). Gutter Color: The Gutter is the area around the outer edge of the Design View windows. Click the down arrow to open a palette used to set the default color for the gutter on all new Design View windows. Auto Stack New Windows: This setting causes all page windows to stack directly on top of the last active (selected) page window. Use this option if you are working on a resolution or zoom setting that takes up most or all of your screen area, and you want to work with multiple pages without cascading them (which could result in part of the page window being outside of the viewable area). Default = enabled.
267
Program Preferences
The Auto Stack and Initial Zoom settings are retained the next time you launch the program.
Grid
Grid Style: Select from the drop-down list of styles that the grid can be displayed in (Line, Dashed Line or Dots). Grid Size: Use the up/down arrows to set the default grid size (measured in pixels). The range is 4 - 255, the default setting is 8. Snap Tolerance: Use the up/down arrows to specify the snap tolerance for the grid. The snap tolerance represents the number of pixels within which objects in the Design View window will "snap" to the nearest grid line (applicable only when the Snap To Grid option is enabled, via the Button Selection/Drawing Tools toolbar). Grid Color: Click the down arrow to open a palette used to set the default color for the grid (if enabled) on all new Design View windows.
Transparency
Transparent colors in TPDesign4 are represented by a checkerboard pattern. This set of options allow you to modify the way that the transparency checkerboard appears. In certain situations, changing the checkerboard style to different sizes, shades and/or colors can facilitate viewing and working with graphics. The Transparency checkerboard is visible on pages and popup pages that are transparent, in the State Manager when a state is transparent, and in the Button Preview when a state is transparent. Style: Click the down arrow to open a drop-down list of available checkerboard styles that can be used to represent transparency. The options are Light, Medium, Dark and Custom. If Custom is selected, the Custom Colors option is enabled (see below). Size: Click the down arrow to open a drop-down list of available checkerboard sizes. The options are Tiny, Small, Medium and Large. Custom Colors: If Custom was selected as the Style (see above), then you can specify a custom color combination for the checkerboard by selecting from these two drop-down lists. Reset: Click to reset all options in this tab to their default settings. Reset All: Click to reset all options in all tabs to their default settings. Click Apply to apply any changes. Click OK to save your changes and close the Preferences dialog. Click Cancel to close the Preferences dialog, without saving any changes.
268
Program Preferences
Default Directories
Panels: This text box displays the directory that is currently set as the default directory for all Panel (or project) files (*.TP4). Click the browse button (...) to open the Browse For Folder dialog, where you can navigate to an alternative folder. Backup copies: This text box displays the directory that is currently set as the default directory for all *.TP4 Backup files. Click the browse button (...) to open the Browse For Folder dialog, where you can navigate to an alternative folder. Temp folder location: Use this field to set the location of the folder TPD4 uses for any temp files. This feature accommodates the potential for large projects which need an especially large amount of temporary disk space. If you either have a panel open or a transfer in progress the Temp Folder Location field is disabled. In these situations the Temp folder cannot be changed since it is being actively used. This field is re-enabled once all panels are closed and transfers are completed. Reset: Click to reset all options in the Directories tab to their default settings. Reset All: Click to reset all options in all tabs to their default settings. Click Apply to apply any changes. Click OK to save your changes and close the Preferences dialog. Click Cancel to close the Preferences dialog, without saving any changes.
269
Program Preferences
The options in the Editor Selection tab allow you to associate external programs of your choice with image and sound files, to accommodate in-place editing of the images and sounds used in your Project. Once you have associated an external program to image and/or sound editor, you can edit image and files by selecting the file in either the Images or Sounds tab of the Resource Manager and clicking the Edit button. The items in the Editor Selection tab include: Editor Type menu - Click the down arrow to select either Image Editors or Sound Editors from the drop-down list. Add Editor button - Click to add either an image or a sound editing program to the Editors list (depending on the Editor Type selected). Remove Editor button - With an editor selected (in the Editors list), click this button to remove it from the list, and disassociate it from image or sound files in TPD4. Editors table - Lists all external image or sound editing programs (depending on the Editor Type selected) that have been added, by filename (*.EXE and file path. The Default column indicates which of the programs is currently set as the default editor.
270
Program Preferences
271
Program Preferences
1. Select Edit > Preferences to open the Preferences dialog, and open the Editor Selection tab (FIG. 231).
Note that Image Editors is already selected in the Editor Type drop-down menu.
2. Click the Add Editor (+) button to access the Choose Editor dialog. 3. Click the Browse button (...) to locate and select the desired program's executable (.EXE) file, in the
Open dialog. The first program added to the Editors list is automatically designated as the default image editor. If you add additional programs to the list, you have the option (in the Choose Editor dialog) to set the default image editor.
4. Click OK in the Choose Editor dialog to add the selected program to the Editors list.
1. 2. 3. 4.
Select Edit > Preferences to open the Preferences dialog, and open the Editor Selection tab (FIG. 231). Click the down arrow and select Sound Editors from the Editor Type drop-down menu. Click the Add Editor (+) button to access the Choose Editor dialog. Click the Browse button (...) to locate and select the desired program's executable (.EXE) file, in the Open dialog.
272
Program Preferences
The first program added to the Editors list is automatically designated as the default image editor. If you add additional programs to the list, you have the option (in the Choose Editor dialog) to set the default image editor.
5. Click OK in the Choose Editor dialog to add the selected program to the Editors list.
1. Select Edit > Preferences to open the Preferences dialog, and open the Editor Selection tab. 2. Select the Editor Type that you want to change the default program for (Image Editors or Sound Editors)
from the drop-down menu. This selection populates the Editors table with a listing of all editing programs that have been added. The Default column indicates which program is the current default (TRUE = current default).
3. Double-click on any program in the list (other than the current default) to access the Choose Editor
dialog.
4. Check the Default Editor checkbox to set the selected program as the default editor (FIG. 233).
273
Program Preferences
The new default editor is indicated in the Default column of the Editors table (FIG. 234).
FIG. 234 Default Editor Indicated In the Default Column of the Editors Table
3. Click to highlight a command/icon (under Commands). 4. While holding the mouse-button down, drag the command/icon to a toolbar.
Note that the cursor symbol indicates that it is not allowed to be placed anywhere except inside the area of a toolbar (any toolbar).
5. Position the command/icon right where you want to drop it in the toolbar, and release the mouse button. 6. The command/icon is placed as a button in the toolbar.
274
Program Preferences
Removing Buttons From Existing Toolbars 1. Open the Customize dialog (select View > Customize). 2. Click to select a toolbar button from an existing toolbar. 3. While holding the mouse button down, drag the button to any area outside of a toolbar. Note that the
cursor symbol changes to an "x" when the button is dragged outside of the toolbars.
4. Release the mouse button to delete the button from the toolbar.
Alternatively, as long as the Customize dialog is open, you can simply right-click on any button to open the New Command context menu. Select Delete to delete the button.
1. Open the Customize dialog (select View > Customize). 2. For toolbar buttons, right-click on the select the button that you want to associate an icon with to open the
context menu. For menu items, right-click on a menu item (FIG. 236).
3. Select Button Appearance to open the Button Appearance dialog (FIG. 237).
4. In the Button Appearance dialog, select Image Only or Image and Text (the Text Only option does not
allow you to associate an icon).
275
Program Preferences
Creating a New Custom Toolbar 1. Open the Customize dialog to the Toolbars tab (FIG. 238).
2. Click the New button. This opens the Toolbar Name dialog (FIG. 239).
3. 4. 5. 6. 7. 8.
Enter a name for the new toolbar in the text field and click OK. The new toolbar name appears in the Toolbars list, along with an empty new toolbar icon. Click and drag to move the new toolbar icon into position, in an empty area near the other toolbars. With the empty toolbar in place, open the Commands tab of the Customize dialog. Select a command category (under Categories) to display a list of commands (under Commands). Click and drag commands from the Commands list and drop them inside the area of the new toolbar. Repeat this process to add as many commands as you like to your custom toolbar(s) (FIG. 240).
FIG. 240 Dragging a Command From the Commands List Into the New Toolbar
Renaming Custom Toolbars 1. Open the Customize dialog to the Toolbars tab (FIG. 238 on page 276). 2. Select the toolbar you want to rename from the list, and click Rename to open the Toolbar Name dialog
(FIG. 239).
3. Enter the new name in the Toolbar Name text field and click OK to save the change.
276
Program Preferences
1. Open the Customize dialog to the Toolbars tab. 2. Click to select a custom toolbar. 3. Click Delete to permanently delete the selected toolbar.
4. 5. 6. 7.
Click to highlight a command/icon (under Commands). While holding the mouse-button down, drag the command/icon to the open menu. Position the command/icon right where you want to drop it in the menu, and release the mouse button. The command/icon is placed as a new option in the menu.
Removing Commands From Existing Menus 1. Open the Customize dialog. 2. Click to select a menu item from an existing menu. 3. While holding the mouse button down, drag the menu item to any area outside of a menu. Note that the
cursor symbol changes to an "x" when the menu item is dragged outside of the menus.
4. Release the mouse button to delete the item from the menu.
Alternatively, as long as the Customize dialog is open, you can simply right-click on any menu item to open the Command context menu. Select Delete to delete the button.
277
Program Preferences
Creating a New Custom Menu 1. Open the Customize dialog, to the Commands tab (FIG. 235 on page 274). 2. Select New Menu from the Categories list. This places the "New Menu" entry in the Commands list
(FIG. 242).
3. While holding the mouse button down, drag the New Menu icon to a location within the Menu Bar
(FIG. 243).
FIG. 243 Dragging the New Menu Icon To a Location Within the Menu Bar
4. Release the mouse button to create the new (empty) menu at the cursor location (FIG. 244).
FIG. 244 Creating the New (Empty) Menu At the Cursor Location
5. To name the new menu, right-click on the menu to open the New Command context menu, and select
Button Appearance. This opens the Button Appearance dialog. Type the name for the new menu in the Button Text field and press OK.
6. Select a command category (under Categories) to display a set of commands (under Commands). 7. Add commands to the new menu by clicking and dragging commands from the Commands list to the new
menu (FIG. 245).
FIG. 245 Dragging the New Menu Icon To a Location Within the Menu Bar
8. Release the mouse button to place the selected command in the new menu.
278
Program Preferences
2. Click the New (Insert) button to create an empty text field in the Menu Contents list. 3. Enter a name for the application, as you want it to appear in the Tools menu. 4. Next to the Command field, click the browse button (...) to locate and select the application's.EXE file in
the Open dialog. The directory path is displayed in the Command text box.
5. Specify any Arguments, if necessary. 6. Specify an Initial Directory, if necessary. 7. Click Close to close the Customize dialog.
The new shortcut should appear at the bottom of the Tools menu.
279
Program Preferences
1. 2. 3. 4.
Open the Customize dialog, to the Keyboard tab. Choose a command category in the Category drop-down menu. Choose a command in the Commands list. Enter the new Hotkeys) in the Select New Shortcut Key field.
If you assign the minus key (-), always use the number pad on your keyboard, as opposed to the minus key in the main key set.
280
Program Preferences
281
9/09 2009 AMX. All rights reserved. AMX and the AMX logo are registered trademarks of AMX. AMX reserves the right to alter specifications without notice at any time.