The text of a manual · part 6 of 19
Falcon DOS Portable Data Terminals Advanced User's Guide, pages 51 to 60
Pages 51 to 60 of 184
The original document is the PDF (10 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 Datalogic F330 and PSC F330
Page 51
advuser.book Page 23 Friday, September 27, 2002 4:22 PM
Using the Falcon Configuration Utility
2.
A Save As dialog box will open.
3.
Use the dialog box to specify the location and name of the new file-list file.
No Select this option to discard the changes. Cancel Select this option to return to the File Transfer window without saving or discarding the changes. Files to Transfer: This field shows the files that will be included in the transfer between the Falcon and the PC.
Add Select Add to include additional data files in the transfer. The File Selection dialog box open (Figure 2-19 on page 2-23.) Figure 2-19: The File Selection Dialog Box for Adding a Data File
Enter path and filename on host PC: Use this field to specify the location of the file on the PC. Enter path and filename on portable: Use this field to specify the location and name for the transferred file on the Falcon.
OK Select OK to return to the File Transfer window. The specified data file will appear in the Files to Transfer list. Cancel Select Cancel to return to the File Transfer window without adding a file to the Files to Transfer list. Browse
1.
Select Browse to view the files on the computer.
2.
The Open dialog box appears.
3.
Use the dialog box to choose a a data file to be included in the transfer.
Advanced User’s Guide
2-23
Page 52
advuser.book Page 24 Friday, September 27, 2002 4:22 PM
The Falcon Configuration Utility
Edit
1.
Select a file in the file list and then select Edit to change the source path or destination path for the file.
2.
The Edit File Properties dialog box opens (Figure 2-20).
Figure 2-20: The Edit File Properties Dialog Box z
The fields and buttons in this dialog box are the same as in the File Selection dialog box above.
Delete To delete a file from the list, select the file and then select Delete. Receive Select Receive to begin a file transfer from the Falcon to the PC 1.
When selected, the configuration utility prepares files to be transferred to the PC and opens the Important dialog box (Figure 2-2 on page 2-5).
2.
Make certain the Falcon unit is properly connected to the serial port specified in the Comm Settings dialog box (refer to page 2-20).
3.
Then run the ld.bat file on the Falcon, and select OK in the Important dialog box on the computer.
4. Send Select Send to begin a file transfer from the PC to the Falcon. 1.
The configuration utility prepares files to be transferred to the Falcon and opens the Important dialog box (refer to Figure 2-2 on page 2-5).
2.
Make certain the Falcon unit is properly connected to the serial port specified in the Comm Settings dialog box (refer to page 2-20).
3.
Then run the ld.bat file on the Falcon, and select OK in the Important dialog box.
Done Select Done when finished selecting and transferring files. 2-24
Falcon® DOS Portable Terminals
Page 53
advuser.book Page 1 Friday, September 27, 2002 4:22 PM
3 Using File Transfer Programs
CHAPTER CONTENTS Using XFER32 .........................................................3-2 XFER32 Setup......................................................3-2 General Tab ..........................................................3-3 Transfer Tab..........................................................3-5 Logging Tab..........................................................3-7 Host Mode ...............................................................3-8 Sending and Receiving Data ....................................3-8 Send File (to Portable) ..........................................3-9 Receive File (from Portable) ..................................3-9 Using XFER ...........................................................3-10 Syntax and Parameters ........................................3-11 The XFER_ARGS Environment Variable ...........3-26 Multiple-Option Blocks......................................3-27 The Modem-Initialization File............................3-29 Performance........................................................3-32 Error Codes ........................................................3-34
Page 54
advuser.book Page 2 Friday, September 27, 2002 4:22 PM
Using File Transfer Programs
Using XFER32 When you start XFER32, the XFER32 interface, opens (). Figure 3-1: . XFER32 User Interface
XFER32 Setup To prepare for data transfer between the PC and the PT40, click on the Setup button to open the Setup dialog box, which contains three tabbed sections. The settings in these dialogs can be modified or customized to meet your communications requirements.
3-2
Falcon® DOS Portable Terminals
Page 55
advuser.book Page 3 Friday, September 27, 2002 4:22 PM
XFER32Using XFER32
General Tab Figure 3-2: File Transfer Setup Definition Form: General Tab
Connection
Enter the Connection port for file transfers. Select from the list of detected serial ports or modems.
Baud Rate
Select a Baud Rate for serial communications from the pull-down list. The default value is 19200.
Advanced User’s Guide
3-3
Page 56
advuser.book Page 4 Friday, September 27, 2002 4:22 PM
Using File Transfer Programs Protocol
Select the file transfer Protocol to use for sending and receiving files. The Protocol depends upon what the Host system requires. The default value is ZModem. Refer to <cross-ref>“XModem vs. ZModem” on page -267 to select the correct protocol for your application.
XModem
XModem does not allow multiple file transfers.
ZModem
ZModem allows multiple file transfers.
ACK/NAK
ACK/NAK does not allow multiple file transfers. Do not use ACK/ NAK with PSC Falcon DOS units.
Maximum Errors Enter the maximum number of Errors permitted before a file transfer is aborted. Range: 1 to 50. 0 specifies no limit to the number of file transfer errors. Flow Control
Select the mechanism used to control the flow of data. Sender and receiver must agree on the flow control method.
None
No flow control used.
XON/XOFF
Software flow control using XON and XOFF characters to communicate when to suspend and resume data transfer. Only available with Z-Modem protocol.
RTS/CTS
Hardware flow control that uses Ready to Send (RTS), and Clear to Send (CTS) serial port lines to communicate when to suspend and resume data transfer.
Window Size
Specifies the amount of data transmitted before receiving a response from the receiver.
Streaming
Sender does not wait for a response before sending all the data.
1024-4096
Causes the sender to wait for a response after sending the specified amount of data.
Crash Recovery Specifies whether or not an attempt is made to complete a file transfer at the point of failure.
3-4
Falcon® DOS Portable Terminals
Page 57
advuser.book Page 5 Friday, September 27, 2002 4:22 PM
XFER32Using XFER32 Never
Never attempts to recover from a file transfer.
Follow Sender
Follows the sender’s Crash Recovery and Overwrite options.
Always
Forces an attempt to recover from a file transfer.
Transfer Tab This tab establishes file transfer settings. Select the Transfer tab. Figure 3-3: Transfer Tab of the File Transfer Utility
Sender Timeout (Seconds)
Enter the maximum number of seconds to wait for a connection when sending files. A value of 0 waits indefinitely.
Receiver Timeout
Enter the maximum number of seconds to wait for a connection when receiving files. A value of 0 waits indefinitely.
Advanced User’s Guide
3-5
Page 58
advuser.book Page 6 Friday, September 27, 2002 4:22 PM
Using File Transfer Programs Path/Filename Transmission
Enter a Path/Filename Transmission to control how the sender processes the paths and filenames of files to be sent. Only applies to Z-Modem.
Strip Path
Sends only the filename (no path) to the receiver.
Send Path
Sends the filename with path to the receiver.
Specify Receiver’s File Path/Name
Allows both the filename and path for each file to be altered prior to being sent to the receiver.
Overwrite
Select to determine the action the receiver takes when a received file already exists.
Source Longer or Overwrites the existing file if the received file is longer or newer. Newer CRCs Don’t Match
Overwrites the existing file if the CRCs of both files don’t match.
Append
Appends the received file to the existing one.
Always
Overwrites the existing file with the one received.
Source Newer
Overwrites the existing file if the received file is newer.
Date/Length Don’t Match
Overwrites the existing file if the dates or lengths of both files don’t match.
Never
Skips the transfer if the received file already exists.
File Transfer Default
3-6
Enter the File Transfer Default folder for storing received files. Use the Browse button to locate a new location.
Falcon® DOS Portable Terminals
Page 59
advuser.book Page 7 Friday, September 27, 2002 4:22 PM
XFER32Using XFER32
Logging Tab This tab establishes settings for the communications log. Click the Logging tab. Figure 3-4: Logging Tab of the File Transfer Utility
Log To File
Specifies that the log is to be written to a text file.
Log To Screen
Specifies that the log is displayed on screen.
Append to Log
This option becomes available when you select Log to File. When enabled, Append to Log adds log information to the end of the log file. If not enabled, new log information replaces the previous log file.
Log Path/ Filename
Specify the location for storing the communications log. If a path is not given, the file is stored in the Default File Transfer folder.
Browse
Use the Browse button to locate a new log file.
Advanced User’s Guide
3-7
Page 60
advuser.book Page 8 Friday, September 27, 2002 4:22 PM
Using File Transfer Programs
Host Mode Host Mode is a method of receiving files using the Z-Modem protocol. It continuously waits for files and receives them using the filenames specified by the sender. Once files have been received, it goes back to waiting for additional files. Select Transfer Files > Host Mode from the menubar. Figure 3-5: Host Mode Window
Sending and Receiving Data UPG uses the File Transfer Manager to transfer data (collection, validation, and INI files) between a portable data collection unit and the host PC. It is possible to send and receive files with the File Transfer Manager without switching between utilities. Send and receive files only works with direct connections between a host PC and portable data collection unit. To receive data from a portable via modem, use a communications utility that supports a modem (XFER32 or UPG Runtime or commercially available communications programs). Use the same protocol as selected in the Communication Settings window to receive a file via modem using the external communications package; see the documentation for the communication package for more information.
Verify that the portable is properly attached to the host PC. If the portable uses a dock, make sure that the dock is properly attached to the PC. Many docks require the use of a null-modem with a serial cable and power supply. Check the portable/dock documentation for more information.
3-8
Falcon® DOS Portable Terminals