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 20 of 21

PT Program Generator User's Manual, pages 188 to 197

Pages 188 to 197 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 188

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

Troubleshooting

Error Message

Description

Error with <source file name>

An error occurred while reading the source file. Make sure you selected the correct source file. Open the file with PPG and verify that it appears as expected. If the message persists, contact PSC Technical Support for assistance. Your program may have too many nodes in a frame or have too many fields defined in a template. The application may be too large or complex for the available memory in the compiler. Using PPG, modify your application to make it smaller and try compiling again.

Language not supported

This version of PPGComp does not support the selected language. Contact PSC Technical support for assistance.

Syntax Error in <node name>(line <line #>)

This message indicates an error in the source file. It usually means that some required information is missing. Determine which node is the problem, open the application with PPG, locate the problem node and view its properties. Make sure all required options are selected. Save the application and select File->Download to compile and download the application.

PPGXfer Error Messages Table 8. PPGXFER Error Messages Error Messages

Description

The application is too big to be stored on the PDT. The downApplication is too large to load cannot be completed. Using PPG, modify your applicaload, it must be < FFFFH. tion to make it smaller and try downloading again.

176

Buffer allocation error

This error occurs when insufficient memory exists to run PPGXfer. Close other applications and try again. If no other applications are open, you may need to reboot your PC before trying again.

Error opening hex file

This error indicates that the selected hex file could not be opened. Make sure that the file exists and it is not currently being used by another application

NAK received Re-sending.

This error indicates that PPGXfer received an unexpected response from the PDT. PPGXfer will try again without any further action from the user.

PT Program Generator (PPG) v5.0

Page 189

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

Error Messages

Error Messages Portable successfully programmed

Description The application was successfully downloaded to the PDT.

BEL received - Aborting. No response - Aborting.

These errors indicate that PPGXfer received an unexpected

Too many NAKs - Aborting response from the PDT. Reset the PDT and try the download again. Unknown response Aborting. COM port error Open COM error Set COM state error TimeOut exceeded

These errors indicate problems communicating with the PDT via the serial port. Make sure the cable is securely connected to both the PC and the PDT. Verify that the correct serial port has been selected and that the serial port is functioning.

WriteComm error Aborting. This error indicates that the application was created for a different PDT than you are downloading to. Open the applicaPDT does not support tion .scr file in PPG. Select the File > Customize application file. Recompile Application command and select the correct PDT type. for Falcon PT40. Save the application and select File > Download to compile the file and download it to the PDT. User aborted

User’s Guide

The user aborted the download process.

177

Page 190

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

Troubleshooting

Technical Support PSC Website Support PSC’s website (www.pscnet.com) is the complete source for technical support and information for PSC products. The site offers PSC’s new TekForum, product support, product registration, warranty information, product FAQs (frequently asked questions), product manuals, product tech notes, software updates, patches, demos, and instructions for returning products for repair.

PSC Website TekForum Search for information on the TekForum by clicking on the Support link at the top of PSC’s home page. Browse the TekForum at PSC’s website to find answers to your questions about common technical issues. Register with TekForum to submit a question to the PSC Technical Support Staff and receive a solution to your question posted on TekForum within 48 hours.

Reseller Technical Support An excellent source for technical assistance and information is an authorized PSC reseller. A reseller is acquainted with specific types of businesses, application software, and computer systems and can provide individualized assistance.

Telephone Technical Support If you don’t have access to the internet or email, contact PSC technical support on (800) 547-2507 (toll-free in the USA) or (541) 683-5700.

178

PT Program Generator (PPG) v5.0

Page 191

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

Appendix H Glossary This section contains definitions for terms used in this manual. Review and familiarize yourself with these terms before using PT Program Generator (PPG) to create custom programs.

User’s Guide

Call node

A Call node executes a branch to a subroutine.

columns

The display screen of your PSC portable is divided vertically into sixteen columns, numbered 0 through 15.

Copy node

A Copy node is used to transfer information from one file or register to another file or register.

data collection

Data collection is the process of gathering information by scanning bar codes or using data keys to enter values into a portable.

Display node

A Display node is used to define messages to appear on a portable’s screen.

field

A field is a place in a register for the entry of or access to a specified type of data. Fields and their locations in a register are defined by templates.

file

A file is a storage location for data. Flow charts you create in PPG are stored in files on your PC. Portables use a different type of file for storing collected or downloaded data (see portable file).

Frames

Frames are the objects you use to create the general flow chart of your data-collection tasks. Each frame in a program flow chart represents a major function or option. Typically, a program's frames include a Main Menu frame and a frame for each option on the menu. Links connect the frame in a way that indicates program flow.

Function Nodes

Frames and Subroutines are referred to as Function Nodes. Refer to Operation Nodes for Menu, Display, Input, Output, Verify, Copy, Modify, Math, and Call.

parse

To divide or dissect data into logical component parts.

index

An index is a number used to access a single record in a file.

179

Page 192

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

Glossary input

Input is the information gathered during data collection or the action of gathering the information.

Input node

An Input node designates what type of portable input is acceptable and where the input is stored.

jointed Link

A jointed Link is a Link that has two or more segments intersecting at an angle/

Link

A Link connects two frames or nodes with an arrow directing the program to the next step. A Link pointing to a frame or node shows how it is accessed. A Link pointing away from a frame or node shows where the program goes next.

Math node

A Math node performs mathematical operations on given data.

Menu node

A Menu node presents a menu of options on the portable’s screen and specifies what actions will occur when the user presses function keys associated with those options.

Modify node

A Modify node changes given data.

node

A node is a shape in a program flow chart that represents one step in the program. There are different types of nodes for each kind of action that can be performed by the program. Detailed instructions for the action are specified by settings in a dialog box associated with the node. A connected set of nodes makes up one frame or subroutine. of a program flow chart.

Operation Nodes Menu, Display, Input, Output, Verify, Copy, Modify, Math, and Call nodes are types of Operation Nodes. Refer to Function Nodes for Frames and Subroutines. object

An object is the generic term for a frame, node, or Link.

Output node

An Output node is used to transfer data to a portable’s display or to the host computer.

portable file

Data that has been either input via a portable’s scanner or data keys or downloaded from a PC file through the serial port is saved in a portable file. Each entry in the portable file is called a record, and the records in each portable file are numbered, starting with 1 for the first record.

program source Program flow charts created with PPG are stored in DOS data files file called program source files. A program source file must be compiled (using PPGComp) before it can be loaded into a portable. record

180

A record is a set of related data fields stored as a single line in a file.

PT Program Generator (PPG) v5.0

Page 193

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

User’s Guide register

A register is a temporary holding place for up to 128 characters of data. When you scan a bar code with a portable, the code is stored in a register until it is verified and copied into a file for safekeeping. The contents of the register are overwritten each time you scan a code.

rows

The display screen of the PSC Falcon PT40 is divided horizontally into rows, numbered 0 through 5. Refer to Default Language on page 29 for more information on the number of rows allowed, depending upon the selected language.

Subroutine

A subroutine contains nodes that execute program steps, very much like a frame. The difference is that a subroutine is not connected to other objects. It contains functions that can be referenced from any of the program’s frames with a Call node.

template

A template is a structure that you can define and impose on data. It lets you alter the way in which collected data is stored. The most common use of a template is to take data from two or more registers and tie them together in a single register.

Verify node

A Verify node checks data against specified requirements.

181

Page 194

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

Glossary

NOTES

182

PT Program Generator (PPG) v5.0

Page 195

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

INDEX A adjusting frames 51, 53, 54, 73 jointed links 108 links 74, 108, 109, 110, 130 arrows see links axes, grid settings for 30, 32

B bar codes for programming 165 beeper bar codes for 165 beeps 119 setting tone of 157 bits eighth, clearing from data 69 box size for frames and nodes 30, 32 breakpoints 179 buttons radio 116

User’s Guide

C Call nodes 53, 72, 179 characters number of (in registers) 58 clearing display screen 59 eighth bit from data 69 clicking 3 clock bar code for 169 communications receive data 96 send data 96 communications settings defaults, resetting bar code for 170 control-menu box, location of 13 Copy command 35 Copy nodes 66, 179 Copy To File 120 copying data to a portable file 120 input to a file 66

183

Page 196

2342.book Page 184 Thursday, July 22, 2004 8:35 AM objects 35 Create menu Frame 51, 52 Link 73 creating frames 50, 106 jointed links 74, 108 links 107 from Output nodes 122 nodes 53, 114 program source files 24 registers 117 subroutines 52 Cut command 35, 36 compared with Delete 36 Cut vs. Delete, using 36 cutting objects 35

D data breaking into fields in a register 81 controlling flow of 77 copying to a file 66 destination for 60 flow, controlling 77 input allowing from portable 58 modifying 67 moving between registers and files 66 reversing order of 69 searching for and replacing 68 specifying input method for 57 storing in fields 60 in files 60 in registers 60 transferring 14 translating 14, 85 data collection, defined 179 data flow, controlling 77 data type, verifying 65

184 date bar code for 169 default communications settings resetting bar code for 170 defaults, predefined resetting 164 defining fields 86 Delete command 36 deleting contents of registers, fields, or files 69 data 69 frames 36 links 74, 108, 109, 110, 130 nodes 36 objects 36 Display nodes 56, 179 Display Enter Item 115 Display Error Text 119 Display Successful 124 display (portable screen) clearing 59 echoing to 59 outputting data to 61 showing menus on 55 showing text on 56 size of 55 displaying error messages 119 document overview 1 double click 3 Download Program command 14, 89, 126 downloading programs 14, 126 D0, D1, D2 (predefined defaults) 164

E echoing data input 59 Edit menu 36 Copy 35 Cut 35 Paste 35 Rename 36, 37, 51, 53, 54

PT Program Generator (PPG) v5.0

Page 197

2342.book Page 185 Thursday, July 22, 2004 8:35 AM eighth bit, clearing from data 69 enlarging the PPG window 13 erasing contents of registers, fields, or files 69 error messages 173 displaying on portable screen 119 Exit command 90

F fields 43, 78, 80, 87, 128, 179 creating for templates 131 creating from data in a register 81 defining 86 erasing contents of 69 storing data in 60 file dump, bar code for 169 File menu 24 Download Program 14, 89, 126 Exit 90 New 24 Open 25, 92 Print 26 Save 25 Save As 26 file names 120 files 179 downloading to a portable 145 erasing contents of 69 number of records in 147 portable 81, 180 copying data to 120 erasing 69 moving data to and from 66 naming 120 program source 24, 180 creating 24 directory for 26 downloading 14, 126 opening 25 printing 26 saving 26

User’s Guide referencing multiple 153 reviewing contents of 155 splitting into two 151 storing data in 60 flow of data 77 font command 30 fonts, changing 30 formatting conventions 3 Frame command 50, 51, 52 frames 179 adjusting 51, 53, 54, 73 calling subroutines from 53 changing fonts in 30 copying 35 creating 50, 106 cutting 35 deleting 36 moving 35, 51, 53, 54, 73 naming 51, 53, 54, 107 pasting 35 renaming 51, 53, 54, 107 size 30, 32 function keys allowing input from 58 assigning to menu items 56

G generating programs 14, 15, 18 glossary 179–181

H hardware requirements 6 horizontal axis, setting snap grid for 30, 32

I index 179 input 180

185