The text of a manual · part 8 of 21
PT Program Generator User's Manual, pages 68 to 77
Pages 68 to 77 of 204
The original document is the PDF (14 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 PSC PT40 and Datalogic PT40
Page 68
2342.book Page 56 Thursday, July 22, 2004 8:35 AM
Creating & Using Nodes
•
Or you can get a combination of Chinese characters and one of the system fonts.
Enter menu text here, including titles or prompts you want to display. In general, each line of the screen is associated with one portable function key, although it is possible to have more than one function per line. Activate only the keys you want to use.
Function Key The <F1> through <F8> checkboxes activate or deactivate the function keys associated with each line of the screen. If you want the function key to execute an option on the menu, select it here. Next to each checked box, there is a pull-down list of nodes from which you can select the name of the node that comes next when that function key is selected. Any function keys not activated in the Menu node dialog box will have no effect when pressed. To display information on the portable’s screen use a Display node instead of a Menu node (refer to Display Nodes). To execute only one action regardless of which function key is displayed, use a Display node in conjunction with an Input node (refer to Input Nodes on page 57).
Display Nodes Display nodes display text on the portable’s screen. The dialog box for Display nodes (refer to Figure 33 on page 57) contains a text-entry area the exact size of the portable’s screen. Use it to enter the display text.
Refer to Actual vs. Virtual Display on page 19 for more information Display nodes are designed to display data. To present options that can be selected with the portable’s function keys, use a Menu node (refer to Menu Nodes on page 55).
56
PT Program Generator (PPG) v5.0
Page 69
2342.book Page 57 Thursday, July 22, 2004 8:35 AM
Creating New Nodes
Figure 33. The Dialog Box for a Display node
Input Nodes Input nodes specify how the portable will receive data. You can use the dialog box for an Input node to indicate which sources of input (scanner, data keys, etc.) you want to accept.
Figure 34. Input Node Property Dialog
User’s Guide
57
Page 70
2342.book Page 58 Thursday, July 22, 2004 8:35 AM
Creating & Using Nodes
Input From Tab (Next Nodes) Scanner
Allows data input from the bar code scanner. The program proceeds without waiting for the user to press the ENTER key.
Data Key
Allows data input from the portable’s data keys (all the keys except the four function keys, <F1> through <F4>). The program waits for the user to press the ENTER key.
<Fn> Key
Allows data input from any of the function keys. There are four function keys, <F1> through <F4> or you can press the <Shift> key once to put the unit into shifted mode. This results in function keys <F5> through <F8>.
For example, press shift and then <F3> to enter <F7>. The program proceeds without waiting for the user to press the ENTER key. Serial
Allows data, such as downloaded inventory, to be input using the serial interface or serial device.
On Error
For each selected node, specify a frame or node to branch to upon receiving an error.
TimeOut
Specifies the number of seconds the portable will wait for data to be input. If no response is encountered within that time, the program moves on to the node specified by the Link To setting.
For each selected input source, specify the frame or node to branch to. The pull-down list for this option lists each node in the frame or subroutine. Select the next node to be completed for each input type. You can specify a different Link for each type of source. For example, you could Link any scanned (scanner) input to a Verify node that makes sure it's a valid number and at the same time set up any function key input to return to the Main Menu. You can also specify a file or register to store the input data in, create a Link for a timeout condition (no input received within a given number of seconds), and arrange for input data to be displayed in a specific position on the screen.
Track Size Tab The Track Size tab option specifies whether to save the number of characters received. Selecting this option allows you to select a register (refer to Registers on page 78). Be sure to use a different register from the one used to store the data. For serial input with a file as the destination, the number of records in the file is saved as the size in the register.
58
PT Program Generator (PPG) v5.0
Page 71
2342.book Page 59 Thursday, July 22, 2004 8:35 AM
Creating New Nodes
Figure 35. Input Node: Track Size Tab
An Input Size register is predefined for your convenience.
Display Tab The Echo to Display option determines whether the received data is displayed on the portable’s screen. Figure 36. Input Node: Display Tab
When this option is selected, you are prompted to specify how and where data is displayed. You can select either the current cursor location or a specific position. Selecting the current cursor position may cause the data display to vary. Selecting a screen position allows you to specify an exact starting position. The default settings (0 for both row and column) start the display in the top-left corner of the screen. The rows and columns are numbered starting with 0; the first row is 0, the second is 1, and so on. Specify rows 0 through 5 and columns 0 through 15 on a PT40. The clearing option allows you to further control the display. To remove existing data from the line on which the input data is displayed, select either To end-of-line or Count. Select the appropriate option for the data you expect to receive. The echoed input is left on the screen until you display something else.
User’s Guide
59
Page 72
2342.book Page 60 Thursday, July 22, 2004 8:35 AM
Creating & Using Nodes
Store Info Tab Data Destination specifies where to store the input data.
Figure 37. Input Node: Store Info Tab
To specify placement of the data in a register (refer to Using a Register as a Destination on page 79), select Register in the Data Destination pull-down list. To store the data in one field of the register, select Field from the Write Type pull-down list. Specify or define a template, and select the field (refer to Creating a Template on page 85). To store the data in a file, select File from the Data Destination pull-down list, and select a file from the File pull-down list. You can choose to insert the data before a given record in the file, replace a given record, or insert the data in alphabetic or numeric order (refer to Files on page 81).
Output Nodes Output nodes send data to the portable’s display, serial port, or system software.
60
PT Program Generator (PPG) v5.0
Page 73
2342.book Page 61 Thursday, July 22, 2004 8:35 AM
Creating New Nodes
Figure 38. The Output Node Properties Dialog
You can send a constant value or the contents of a register or file. When sending data to the system, you can use special commands that sound a beep, set the system date or time, or reconfigure the portable. You can also send commands to the display to reposition the cursor or erase the display. Figure 38 on page 61 shows an Output node properties dialog.
Information to Output Tab Output To specifies the channel over which data is sent.
Output To
User’s Guide
Select an option to Output To.
Display
Writes the data to the portable’s screen, starting at the current cursor position. You can also send special commands to position the cursor on the display.
Serial
Sends the data over the portable's serial port to a connected PC (to upload a file, for example).
System
Sends the data to the portable's operating system. This option is used with special commands that sound a beep, set bar code parameters, set serial parameters, or set the system date or time, etc.
61
Page 74
2342.book Page 62 Thursday, July 22, 2004 8:35 AM
Creating & Using Nodes
Information to Output
The Information to Output options specify the data or command to be transmitted (string), or the register or file containing the data. Refer to Registers on page 78 and Files on page 81.
Special Commands You can use an Output node to send special commands to the portable's display or operating system. Creating Special Display Commands
To create a command to send to the display, complete the following steps: 1. Select Display as the Output to Device. 2. Select String as the Data Source. 3. To add a command, press the Add button. An Add Output Operation dialog appears (shown in Figure 39). Figure 39. The Output Operation dialog
Select Select the location for the beginning of the command to appear on the portaOperation ble’s display from the Select Operation pull-down list.
Move to row, column within current display Erase all text from cursor to EOL Move to row, column within the virtual screen. Refer to Actual vs. Virtual Display on page 19 for more information.
62
PT Program Generator (PPG) v5.0
Page 75
2342.book Page 63 Thursday, July 22, 2004 8:35 AM
Creating New Nodes
Erase screen, return cursor to home position Move up one or more rows Move down one or more rows Move right one or more columns Move left one or more columns Display text on screen [ NO OPERATION ] Depending upon which operation you select, one or more parameters may be required.
4. Fill in the appropriate values and select OK. You may combine multiple Output commands in a single command string. Creating Special System Commands
Refer to the Falcon PT40 Product Reference Guide for a table of system commands.
Next Node Next node specifies the next operation to perform depending upon the success or failure of the output.
Verify Nodes Verify nodes test data in a register or file to see if it is a certain type (ASCII, numeric, or alphabetic). They can also check that the data matches a given constant, matches the contents of a register, or falls within a given numeric or alphabetic range. Usually a Verify node Links to one node if the data passes the test and to another node if it doesn't. For example, a Verify node might check to see if the value scanned is numeric. If it is, the Verify node might branch to an Output node that sends the value to a file; otherwise, it might display an error message.
Wildcards PPG supports the use of wildcards in searches and verifications. The following wildcards are supported: *
User’s Guide
Any sequence of characters.
63
Page 76
2342.book Page 64 Thursday, July 22, 2004 8:35 AM
Creating & Using Nodes
?
Any single character.
@
Any alphabetic character.
#
Any numeric character.
~,
Any field (any sequence of characters up to the specified delimiter, which can be any character, in this case, a comma).
Figure 40 on page 64 shows the Verify Information tab of the Verify node properties dialog.
Verify Information Tab Figure 40. The Verify Node Properties Dialog
Data Verify Source specifies the location of the data to be verified - either a register or a file. The Sorted setting uses a binary search algorithm to speed up the file searches. This option works only with presorted files. Use the displayed sub-dialog box to specify the exact register or file (Using a Register as a Source on page 78 and Using a File as a Source on page 82).
64
PT Program Generator (PPG) v5.0
Page 77
2342.book Page 65 Thursday, July 22, 2004 8:35 AM
Creating New Nodes
Verify Options Tab Figure 41. Verify Node Verify Options Tab
Data Type
Data type allows you to select the type the data should match ASCII values
ASCII values (hex values 20 to 7F) include alpha-numeric characters and symbols (such as brackets, commas, dollar sign, and slash). Refer to ASCII/Hex Conversion Table on page 167 for a table of ASCII values. NOTE: Use the ASCII setting only if you don’t care if the data is numbers or letters.
Numeric values Numeric values (hex values 30 to 39) include the characters + (plus), - (minus), and . (period). Alphabetic values Comparison Type
Alphabetic values include hex values 41 to 5A and 61 to 7A. Comparison Type specifies the data to be tested against.
User’s Guide
65