Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 10 of 25

TimeWand II Communications & Application Builder for DOS Computers, pages 91 to 100

Pages 91 to 100 of 248

The original document is the PDF (828 KB). 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 TimeWand II

Page 91

PATTERN If you choose PATTERN for the match criteria, the software prompts you to enter a TimeWand II match pattern for the bar code entry. A TimeWand II pattern describes the acceptable entries. A powerful new feature of the software is the ability to use multiple match patterns. When using multiple match patterns, the patterns must be separated by semicolons. TimeWand II match patterns are explained in the following section. TimeWand II Match Patterns A TimeWand II match pattern is a series of letters, numbers, and token characters. Five characters are used as token characters to create a match pattern. These characters are: # @ & = > a number [0–9] must be in this position a letter [a..z, A..Z] must be in this position any character must be in this position the rest of the string can be any characters or no character the rest of the string must be numbers [0..9] or no character

The left angle bracket character (<) is used as a NOT operator. When this character is placed in front of a match pattern it means “an entry that does NOT match the following is acceptable.”

Chapter 3 TimeWand II Applications

87

Page 92

The semicolon (;) is used as an OR operator. When this character is placed between match patterns, it means “an entry that matches any of these patterns is acceptable.” These are the actual characters your entries may contain: A..Z

0..9 space +

-

/

% .

$

You can create many different types of match patterns by using both the token characters and the actual characters to describe the acceptable entries. The following table (continued on the next page) contains examples of TWII match patterns: Pattern

Accepts

E= any entry that starts with the letter E

<E= any entry that does not start with the letter E

E> any entry that starts with the letter E and is followed only by numbers

M= any entry that starts with the letter M

S> any entry that starts with the letter S and is followed only by numbers

K0003 the entry must match K0003 exactly

<K0003 the entry must NOT match K0003

Z###$ any five-character entry that starts with a Z followed by three numbers followed by a dollar sign ($)

@@## any four-character long entry that begins with two alpha characters followed by two numbers

#> any entry of at least one or more numbers

AAA= any entry that begins with AAA

AA#A a four-character long entry with A in the first, second, and fourth positions and a number in the third position

88

Chapter 3 TimeWand II Applications

Page 93

Pattern

Accepts

AA@A a four-character long entry with A in the first, second, and fourth positions and a letter in the third position

AA&A same as previous entry, but with any character in the third position

A=;E=;H= any entry that starts with the letter A, E, or H

A>;#### any entry that starts with the letter A and is followed only by numbers, or an entry consisting of four numbers

S002;S003 the entry must match S002 or S003 exactly

B=;S>;AG-67 the entry must start a B followed by any or no characters, or start with an S followed only by numbers, or match AG-67 exactly

X-REF FILE If you choose X-REF FILE for the match criteria, the software prompts you to select or create a cross-reference file. Crossreference files fill two functions: they serve as a list of valid entries for the specified field, and they cause the entry’s crossreference file description to be displayed when the entry is made. If you use cross-reference files in your application, the <F7> key enables you to manage the files. The <F7> key enables you to create or edit the contents of the files, and to delete entire cross-reference files. When you press the <F7> key, a window opens and shows the existing cross-reference files. To create a new cross-reference file, press the <F9> key and enter the name you wish to call the file. Another window opens where you may enter the cross-reference file records. Press <Esc> when you are done. To add entries to an existing cross-reference file (edit), highlight the desired cross-reference file and press <F7>. Chapter 3 TimeWand II Applications

89

Page 94

A window showing the contents of the cross-reference file opens and allows you to make your entries. Press <Esc> when you are done. All changes to a cross-reference file are saved automatically, and the cross-reference file is automatically sorted on the bar code entry. To delete a cross-reference file, highlight it and press <F8>. Deleting a cross-reference file erases the entire file from the disk, making it unavailable for all applications. Use the delete function with care.

Warning! Deleting a cross-reference file erases it from the disk and makes it unavailable for use in other applications. Use the delete function with caution.

Cross-reference files are standard ASCII text files. As such they can be created and edited by text editors and database programs. The Bar Code entry can be up to 23 characters long, and the Description can be up to 16 characters long. The format for cross-reference files is:

Bar Code

Tab (ASCII character 9)

Description <cr/lf>

Here is an example of a list of parts in a cross-reference file called PART.XRF:

The bold arrow represents the tab character, and the paragraph sign represents a carriage return and line feed. If a cross-reference file is changed, the applications using it must be recompiled and loaded into the TimeWand II before the changes take effect. 90

Chapter 3 TimeWand II Applications

Page 95

The maximum number of entries in one cross-reference file is approximately 1000. This number also depends on the number of cross-reference files in your application and the amount of RAM in your TimeWand II. Cross-reference files cannot contain matching patterns. Crossreference files may only contain valid bar codes and their descriptions. Press <Esc> to close the cross-reference file window.

NO PATTERN If you choose NO PATTERN for the match criteria, any entry is acceptable for the field.

Chapter 3 TimeWand II Applications

91

Page 96

DEFAULT Column This column holds a default entry. A default entry is an entry that is automatically supplied when the application prompts for a field. A default may be specified for any field which is not the first field on a level. If a default is specified for a field, the TimeWand II suggests the default, which can be accepted by pressing the = key on the TimeWand II. The default can be rejected by pressing the backspace key on the TimeWand II until it is deleted. Another entry or scan can then be made for that field. Note: The first field in a level cannot have a default. If a field has a default value, the application program will prompt with the field name on the top line of the wand’s display, and show the default value on the second line of the display. To accept the default value, press the = key on the wand’s keypad. If instead, you make another entry, the new entry will replace the default value. You can use the wand’s backspace key to edit the default entry one character at a time. You can return a default entry to its default of <none> by selecting the cell and pressing <Delete> or by following the tips in the Default Entry dialog box.

92

Chapter 3 TimeWand II Applications

Page 97

Building an Application This section steps you through building a sample application. We will build a security application that could be used by a security guard to record what locations are checked, what time they are checked, and their status. We can build this application with three fields. The first field will identify the guard, the second field will identify the location and the time it was checked, and the third field will report the status of the location. In creating this application, we will also show you how to build a cross-reference file to use for the location’s status. 1. To access the application files, you must select Set Up from the Main Menu screen to enter the Wand Set Up screen.

Figure 3-7 Main Menu Screen - Set Up

Chapter 3 TimeWand II Applications

93

Page 98

2. Use the right arrow key to activate the application section of the Wand Set Up screen (Figure 3-8).

Figure 3-8 Wand Set Up Screen - Application Section Active 3. Press <F9> to create a new application. 4. A Create Application box appears (Figure 3-9); this is where the name of the application is entered. The name is limited to eight characters.

Figure 3-9 New Application Name Box 94

Chapter 3 TimeWand II Applications

Page 99

5. Type Security (Figure 3-10) and press <Enter>.

Figure 3-10 Enter Application Name 6. The Create Application screen for building the Security application appears (Figure 3-11).

Figure 3-11 Create Security Application Screen

Chapter 3 TimeWand II Applications

95

Page 100

7. Press <F9> to add a field. An Add Field Name box appears (Figure 3-12).

Figure 3-12 Create Application Screen - Add Field 8. Type Guard (Figure 3-13).

Figure 3-13 Create Application Screen - Type Guard

96

Chapter 3 TimeWand II Applications