User’s Guide
135
Appendix B
Example Frames
This section provides examples of several commonly used
Frames
you can use
in your custom PPG application. The program source files (
*.scr
file) for
the example frames are installed during PPG installation; they are installed by
default in
c:\Program Files\PSC\PPG50\TIPSRC
. Topics covered
include:
•
Setting the Date and Time on page 136
•
Changing the Auto-Off Timeout on page 136
•
Displaying the Contents of a Register on page 137
•
Sample Verification Methods on page 138
•
Verifying a Numeric Value on page 138
•
Verifying that a Number is an Integer on page 139
.
•
Verifying Input Size on page 142
•
Downloading a File to a PSC Portable on page 145
•
Finding the Number of Records in a File on page 147
.
•
Searching for a Partial Match on page 148
•
Searching for Data in a File on page 149
•
Splitting Records into Two Files on page 151
•
Referencing Two Different Files on page 153
•
•
.
•
Padding a Number with Leading Zeros on page 157
.
If a
Frame
(refer to
) executes an action used in multiple loca-
tions, create a
Subroutine
(refer to
) to contain the action
and execute it with a
Call
node (refer to
).
2342.book Page 135 Thursday, July 22, 2004 8:35 AM
Содержание PT Program Generator
Страница 1: ...PT Program Generator User s Manual 2342 book Page 0 Thursday July 22 2004 8 35 AM...
Страница 16: ...Introduction 4 PT Program Generator PPG v5 0 NOTES 2342 book Page 4 Thursday July 22 2004 8 35 AM...
Страница 34: ...PPG Application Design 22 PT Program Generator PPG v5 0 NOTES 2342 book Page 22 Thursday July 22 2004 8 35 AM...
Страница 60: ...The PPG Menubar 48 PT Program Generator PPG v5 0 NOTES 2342 book Page 48 Thursday July 22 2004 8 35 AM...
Страница 88: ...Creating Using Nodes 76 PT Program Generator PPG v5 0 NOTES 2342 book Page 76 Thursday July 22 2004 8 35 AM...
Страница 174: ...The PPG Library 162 PT Program Generator PPG v5 0 NOTES 2342 book Page 162 Thursday July 22 2004 8 35 AM...
Страница 180: ...ASCII Hex Conversion Table 168 PT Program Generator PPG v5 0 NOTES 2342 book Page 168 Thursday July 22 2004 8 35 AM...
Страница 194: ...Glossary 182 PT Program Generator PPG v5 0 NOTES 2342 book Page 182 Thursday July 22 2004 8 35 AM...
Страница 203: ...2342 book Page 191 Thursday July 22 2004 8 35 AM...