beautypg.com

Verifying input size – PSC PT Program Generator User Manual

Page 154

background image

Example Frames

142

PT Program Generator (PPG) v5.0

6. Displays the result (

pass/fail).

Figure 114. Displays Pass or Fail

Verifying Input Size

To verify that a scanned or entered code is a given number of characters or
within a given range, use the

Size to Register

option in the

Input

node collect-

ing the data. This option stores the number of characters of the given input in
a separate register, which can then be checked with a

Verify

node.

This example is illustrated in

Tip05.scr, which is shown in

Figure 115 on

page 143

.

Output Fail

Output Pass

2342.book Page 142 Thursday, July 22, 2004 8:35 AM