beautypg.com

Sample verification methods, Verifying a numeric value – PSC PT Program Generator User Manual

Page 150

background image

Example Frames

138

PT Program Generator (PPG) v5.0

2. Creates a new

Output

node, called

Scan

. This

Output

node writes the

register contents starting at the cursor position.

Selects

Output to Display.

Chooses

Register from the

Data Source

pull-down list.

Chooses

Default Register from the

Register

pull-down

list.

The first

Output

node prevents the register contents from being written on the

last line of the display, which is not always desirable. The second output node
sends the contents of the

Default Register

to the display.

Sample Verification Methods

Verifying a Numeric Value

Often, collected values must conform to a specific type. PPG can check data to
verify that it meets the user’s criteria. Create an application to check to see if a
value is numeric:

1. Create a

Verify

node.

Figure 105. Newly Created Verify Node

2. Select the location of the data value to be verified.

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