The text of a manual · part 6 of 25
Application Builder for DuraTrax/LaserLite/LaserLite Pro/LaserLite Mx, for Windows Computers, pages 51 to 60
Pages 51 to 60 of 245
The original document is the PDF (2.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Videx DuraTrax, Videx LaserLite, Videx LaserLite Mx and Videx LaserLite Pro
Page 51
Copy (Ctrl+C) Copies the selection to the clipboard; the selection remains on the screen.
Paste (Ctrl+V) Pastes the clipboard contents to the screen. If a paste operation includes a “Begin” Handler, it completely replaces any existing “Begin” Handler. All connections between copied Handlers are retained for pasting. Handlers are always pasted in the same column from which they were copied. Application Builder attempts to paste them in the same horizontal position, but will automatically move them down to avoid pasting one Handler on top of another. Display objects are copied from the Display window, but pasted into all selected Handlers. This makes it possible to paste a particular display object into several Handlers with dissimilar displays. If the Display window is not open when display objects are pasted, it is automatically opened.
Delete (Ctrl+B) Deletes the selection from the screen. This command can be used to delete Handlers and their names from the design window.
Select All Handlers (Ctrl+A) Selects all of the Handlers in the application design window.
Insert Record (Ctrl+D) Inserts a record into the CRF file. The new record is inserted before the currently selected record.
Delete Record (Ctrl+K) Deletes the currently selected record from the CRF file.
Chapter 2 Application Builder, Menus & Windows
43
Page 52
View Menu The View menu (Figure 2-7): •= Shows or hides the Detour connections •= Opens the Properties window •= Opens the Display window •= Opens the Summary window •= Lists the currently open design windows and identifies the active window with a checkmark
Figure 2-7 View Menu Following is a list of the View menu commands and their purpose. If the command has a keyboard equivalent, it is listed within parentheses next to the command name.
Detour Connections (Ctrl+T) Shows or hides the connections between Detour Handlers and Input Handlers. A checkmark before the command indicates detour connections are shown; no checkmark indicates they are hidden. Detour Handlers are discussed on page 69.
Properties Window Opens the Properties window. A checkmark indicates the window is open; no checkmark indicates the window is closed. The Properties window is discussed on pages 51–69.
44
Chapter 2 Application Builder, Menus & Windows
Page 53
Display Window Opens the Display window. A checkmark indicates the window is open; no checkmark indicates the window is closed. The Display window is discussed on pages 70–83.
Summary Window Opens the Summary window. A checkmark indicates the window is open; no checkmark indicates the window is closed. The Summary window is discussed on pages 84–87.
<Application name>.abd List of open design windows; there is a checkmark before the active window.
Chapter 2 Application Builder, Menus & Windows
45
Page 54
Application Menu The Application menu (Figure 2-8): •= Adds a new Input Handler •= Displays the Data File Format window •= Displays the Other Details window •= Generates displays for the application
Figure 2-8 Application Menu Following is a list of the Application menu commands and their purpose. If the command has a keyboard equivalent, it is listed in parentheses next to the command name.
New Input Handler (Ctrl+E) Adds a new Input Handler to the application. If a Handler is not selected when you choose New Input Handler, the new Input Handler is added to the end of the application. If any Handlers are selected when the command is chosen, a connection is automatically made from all of the selected Handlers to the new Input Handler (if all connections are legal).
46
Chapter 2 Application Builder, Menus & Windows
Page 55
Working with Input Handlers Connecting Handlers
A connection can only be made from an Input Handler to another Input Handler that is at least one step to the right, but not to an Input Handler in the same or preceding column. You can connect an Input Handler to a Detour Handler (as long as the Detour Handler is at least one step to the right), but a connection cannot be made from a Detour Handler to an Input Handler. To make or remove a connection between two Handlers, click the first Handler’s gray box and drag a line to the other Handler. If the two Handlers are not connected, clicking and dragging a line between them makes a connection (if the connection is legal). If the two Handlers are already connected, clicking and dragging a line between them removes the connection. To make all legal connections to a Handler, hold down the <Ctrl> key and click a Handler. All legal connections between that Handler and the selected Handlers are made. To delete multiple connections to a Handler, first select the Handlers that are connected. To select multiple Handlers, either Shift-click each Handler or use the mouse to drag a rectangle around the Handlers. Then hold down the <Shift>+<Ctrl> keys, and click the original Handler. All connections between that Handler and any selected Handlers are deleted. Moving Handlers
To move a Handler or a selection of Handlers, click and drag it to another location. You cannot move a Handler on top of another Handler, out of the design window, or into the same column as the “Begin” Handler. The “Begin” Handler cannot be moved from its location. If you move a Handler into a location where any of its connections are not legal, the connection is deleted. If you delete a Handler, any connections to it are automatically deleted.
Chapter 2 Application Builder, Menus & Windows
47
Page 56
Caution: It is possible to move an Input Handler into a position where it appears that the Input Handler is connected to the Input Handler in the previous step, but it may not actually be connected. For example, in Figure 2-9 it looks as if the Input Handler in Step 2 is attached to the Input Handler in Step 1. However, in Figure 2-10, when the Input Handler in Step 2 is moved, you can see that it is actually attached to the “Begin” Handler and not to the Input Handler in Step 1.
Figure 2-9 Input Handler Connections
Figure 2-10 Input Handler Connections If your application is not stepping to an Input Handler as you expect, click and drag the Input Handler to visually verify the connections.
48
Chapter 2 Application Builder, Menus & Windows
Page 57
Data File Format Displays the Data File Format window (Figure 2-11). The Data File Format window determines the format of the data file. Selections are available to end a record in the text file with a carriage return, a line feed, or both; to separate each field in the record with a tab, comma, space, line ending, or nothing; and to decide if quotes are used around fields, records, or not used. Click OK or press <Enter> to save the settings and close the window. Click Cancel to close the window without making any changes. Click Defaults to reset the settings to the default settings.
Figure 2-11 Data File Format Window
Chapter 2 Application Builder, Menus & Windows
49
Page 58
Other Details This option assumes that you have a fundamental knowledge of BASIC. The Other Details command opens the Other Details dialog box (Figure 2-12). This option, when selected, generates the input <<ESCAPE>> instead of quitting the application when you attempt to transfer the data from a unit. This gives you control over which Input Handler quits the application. (Note: You must include Software as an Input Device property for the Input Handler that accepts the <<Escape>> input.)
Figure 2-12 Other Details Dialog Box This option is especially useful if you want an application to perform certain actions before quitting, or if you want to be able to intercept or manage exit events. When using this command, you must quit the application by using the BASIC code plug-in of running%=false% as the last action for the Input Handler quitting the application. If you select the Other Details command, without following it up with the BASIC code plug-in running%=false%, the data collector will not be able to transfer its data to the computer. (Note: running%=false% is the BASIC code for quitting an Application Builder application.) For an example of the use of this feature, refer to the discussion of the Inspect.abd sample application in Appendix A.
Generate Displays Automatically designs the data collector’s display for the selected Handler(s). This command uses the first seven characters of the Input and Detour Handlers’ names to design the display. (If you prefer, you can design the displays yourself; see pages 70-83.) 50
Chapter 2 Application Builder, Menus & Windows
Page 59
Help Menu The Help menu (Figure 2-13) displays the About Application Builder command.
Figure 2-13 Help Menu
About Application Builder Opens the About window (Figure 2-14).
Figure 2-14 About Application Builder Window
Chapter 2 Application Builder, Menus & Windows
51
Page 60
Properties Window
Figure 2-15 Properties Window The Properties window (Figure 2-15) defines the selected Input Handler’s properties. To open the window, choose Properties Window from the View menu or click the Properties Window toolbar button. To close the window, click the close window box. The properties include Looping, Matching, Input Device, Symbology, Actions, and Detour. The following sections describe the properties.
Looping The Looping property (Figure 2-16) determines if the selected Input Handler can start or end a loop. The default for the Looping property is the Handler can both start and end a loop. A checkmark in the box indicates that the option is enabled; no checkmark indicates the option is disabled. If an Input Handler can start a loop, it has a curved arrow on its left side; if it can end a loop, it has a curved arrow on its right side.
Figure 2-16 Looping Property
52
Chapter 2 Application Builder, Menus & Windows