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 17 of 42

JANUS 2050 Vehicle-Mount Computer (4MB) User's Manual, pages 161 to 170

Pages 161 to 170 of 419

The original document is the PDF (2.0 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 Intermec J2050

Page 161

JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB)nubbet code30 icon

Learning the Syntax of FTA Commands This section describes each FTA command and its syntax. You can abbreviate the command names as shown in the Syntax column of the next table. Also, you do not have to capitalize the commands; the commands are not case sensitive.

FTA Command Descriptions and Syntax Command

Description

Syntax

CHECKHOST

Checks if the host computer rebooted the device and is ready to proceed with the device as the server and the host computer as the client. You can type this command only from the device’s DOS command line.

ch [port] where: port is the COM port for the connection. If you do not specify a port, the application uses the first port with an active protocol handler.

CLOSE

Terminates the connection with the host computer. You can abbreviate this command as CL.

c

EXIT

Terminates the FTA program and returns you to the DOS prompt on the device.

e

GET

Copies a file from the host computer to the device.

g hfile [rfile] where: hfile is the path and filename of the file to be transferred from the host computer to the device.

rfile is the destination path and filename on the device. If you do not specify a rfile name, the hfile name is used.

HELP

Displays a description of the FTA commands, syntax, and parameters.

h

LUPGRADE

Upgrades the device’s drive C from the device. Stands for “local upgrade.” l file c where: file

6-30 is the path and filename of the image file on the JANUS device, and C is the drive to be updated.

Page 162

nubbet code30 iconCommunicating With the JANUS 2050

6

FTA Command Descriptions and Syntax (continued) Command

Description

Syntax

OPEN

Establishes a connection with the host computer.

o [port] where: port can be the COM port for the connection. If you do not specify a port, the application uses the first port with an active protocol handler. Once a connection is open, you can type other FTA commands or type to exit.

$

PUT

RUPGRADE

Copies a file from the device to the host computer.

Upgrades the device’s drive C from the host. Stands for “remote upgrade.” p rfile [hfile] where: rfile is the path and filename of the file to be transferred from the device to the host.

hfile is the destination path and filename on the host. If you do not specify an hfile name, the rfile name is used.

r file c where: file

SERVER

Identifies the device as the server, not the client. You will type all subsequent FTA commands at the host.

is the path and filename of the image file on the host computer, and C is the drive to be upgraded.

s [port] where: port is the COM port for the connection. If you do not specify a port, the application uses the first port with an active protocol handler.

6-31

Page 163

JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB)nubbet code30 icon

Editing the FTA Initialization File The FTA initialization file (FTA.INI) controls how the FTA operates. You may need to modify INI parameters to match the timeouts with the speed of your network. You can use a standard ASCII text editor to edit the file. This table describes the parameters in the default FTA.INI file, which is stored on Application companion disk 3: Parameter in FTA.INI

Description

HostOpenSessionTimeout=10000

Milliseconds FTA waits for the host to respond to an open session request in which the device is the client.

HostStartServerTimeout=10000

Milliseconds FTA waits for the host to respond to an open session request in which the device is the server.

ReceiveRecordTimeout=10000

Milliseconds FTA waits for the host to send the next data record while downloading a file to the device.

StartUploadTimeout=10000

Milliseconds FTA waits for the host to respond to a request to begin uploading a file from the device.

StartDownloadTimeout=10000

Milliseconds FTA waits for the host to respond to a request to begin downloading a file to the device.

HostServerReadTimeout=10000

Milliseconds FTA waits for the host to send a command to the device when the host is the client.

HostClientReadTimeout=65535

Milliseconds FTA waits for the host to send a command to the device when the host is the server.

SendRecordTimeout=10000

Milliseconds FTA waits for the device to transmit a record to the host.

JobRecoverAttempts=1

Number of times FTA attempts to recover a session with the host after that session has been lost.

EndTransmitTimeout=65535

Milliseconds FTA waits for the host to acknowledge that a file upload is complete.

TransmitResponseDelay=5000

Milliseconds FTA allows to elapse before it starts to upload a file from the device to the host after the host sent the command to begin uploading the file.

ClearChannelTimeout=10000

Milliseconds FTA waits for data when the communications channel is being cleared.

6-32

Page 164

7 Working With IRL

Page 165

This page is a scan with no text; see it in the PDF.

Page 166

39 nugget A Working With IRL

7

This chapter provides an overview of Intermec’s Interactive Reader Language (IRL). It includes information on using the IRL Desktop on the JANUS 2050 and differences in IRL that are exclusive to the JANUS 2050. Use this chapter in conjunction with the IRL Programming Reference Manual or the PC-IRL Reference Manual. These manuals provide information on creating IRL programs.

What Is IRL? Interactive Reader Language (IRL) is a high-level programming language used to develop custom application programs for the JANUS 2050. Using IRL, you can program the JANUS 2050 to display messages that prompt the operator for information and provide feedback. IRL programs are stored as text files on the JANUS 2050 drives or on the host computer. They can be created in any DOS-based text editor and saved as an ASCII text file. IRL features include: • backward compatibility with previous versions of IRL.

• creation by integrated tools or PC-IRL.

• advanced bar code input capabilities.

• automatic and transparent power management.

• efficient memory use.

• simple and easy to use, for rapid application development.

IRL programs can be written directly on the JANUS 2050 or on a PC and then downloaded to the JANUS 2050. Intermec recommends that you write the programs on a PC and download them to the JANUS 2050. Intermec developed PC-IRL to help write IRL programs on an IBM-compatible PC. PC-IRL also downloads IRL programs to the JANUS 2050 using Polling Mode D protocol.

7-3

Page 167

JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) 39 nugget A

Using IRL on the JANUS 2050 The IRL operating environment on the JANUS 2050 is called the IRL Desktop. The IRL Desktop is a menu-driven application that lets you download IRL programs, transmit files, receive files, and execute IRL programs.

Working With Files Because IRL version 4.0 uses the DOS file structure, you can store more than one IRL program on the JANUS 2050. You should exercise care in naming and using data files, since you can use the same data file for multiple programs. If more than one program uses the same data file, your data may be overwritten when the next program is run. Disk space, not internal memory, limits the size of the data files. If insufficient disk space exists when the program begins to fill the data files, an error message is given and the program terminates execution. Files may be dimensioned or undimensioned. An undimensioned file has the same characteristics as the default data file (file 0) in that only actual data is stored. Opening an existing dimensioned data file with different dimensions generates an error message. If a data file is opened but no data is entered when the program ends, the data file is deleted. All IRL program filenames must end with the extension .IRL, and all IRL data filenames must end with the extension .IRD. Otherwise, the IRL Desktop does not recognize them. The default filenames are as follows: {IRL-0}.IRD {IRL-1}.IRL {IRL-A}.IRD • • • {IRL-Z}.IRD

IRL default data file (file 0) IRL default program file (file 1) IRL data file A

IRL data file Z

These files continue to be accessed as 0, 1, and A through Z in the IRL commands as they have in previous versions of IRL. You can read from and write to File 0. The default program {IRL-1}.IRL is executed when you scan the Run Program bar code label or download the command from the host computer. When you use the IRL Desktop, you can select which program to execute.

7-4

Page 168

39 nugget A Working With IRL

7

Specifying Data and Program Paths The directory that is current when the IRL Desktop is run becomes the path for the data and program files. An exception is if the current drive is C or D. In this case, the first drive the JANUS 2050 can write to becomes the path. You can change the directory or view the current paths using the menus in the IRL Desktop. You can specify a default directory path for your IRL program and data files in your AUTOEXEC.BAT file. This feature lets you control where files are stored. To specify the default path, include the following lines in your AUTOEXEC.BAT file. To set the path for IRL programs •

Enter the following command: set IM_IRLPROG=[drive][directory]

To set the path for IRL data files •

Enter the following command: set IM_IRLDATA=[drive][directory]

If you set IM_IRLDATA path to a drive that cannot be written to, the JANUS 2050 defaults to drive G if a PC card is present; otherwise, it writes to drive E. Data paths can also be specified in the IRL program by declaring the path in the open statement for files A through Z. File 0 is the only file that cannot have its path specified in an IRL program.

Using the Desktop You can use the IRL Desktop to transfer and execute IRL programs. To open the IRL Desktop from the DOS prompt, type: irl

Then press e . Or scan the bar code:

*IRL* *IRL*

If you want to load a protocol handler for a designated port and execute the IRL Desktop, you can include an argument in the command line. To load a protocol handler, enter the following command at the JANUS 2050 DOS prompt: irl -[{port}{ph}]

7-5

Page 169

JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) 39 nugget A where: port indicates the port for which you are loading the protocol handler. Use 1 to load the protocol handler for COM1. ph is the notation for the protocol handler you want to load. Use i for the Intermec protocol handler. Use p for the PC standard protocol handler. For example, to load the Intermec protocol handler on COM1 and execute the IRL Desktop, enter the following command at the JANUS 2050 DOS prompt: irl -1i

In the menu bar, there are two pull-down menus: File Select the File menu to transfer files, change directories, review file status, and begin executing an IRL program. You quit the IRL Desktop by choosing Exit from this menu.

IRL File

About

2050U.093

About Lists the amount of RAM and disk space available and displays your current directory.

The commands listed in the File menu are described next: Run IRL File

Executes the selected IRL program.

Resume Resumes running a program that was previously halted.

About

Run... Resume... Directory... Change Dir... File Stats... Clear Data... Receive... Transmit... Exit

Directory Lists all IRL files in the current directory. Change Dir Changes the current drive and directory. 2050U.094

File Stats Indicates if the selected data file is dimensioned or undimensioned and the number of records entered. If the file is dimensioned, it will also list the dimensions. Clear Data Deletes the default IRL data files {IRL-0}.IRD, {IRL-A}.IRD to {IRL-Z}.IRD. Data files that you specifically create are not deleted. Receive Stores the file it receives from the designated communications port under the selected filename. Transmit port. Exit

7-6

Transmits the selected file through the designated communications

Exits the IRL Desktop.

Page 170

39 nugget A Working With IRL

7

To move around in the menus and select commands •

To select a menu in the menu bar, press g or i to move the highlight to the desired menu. To view the pull-down menu, press e or j.

•

When a pull-down menu is displayed, select a command by pressing h or j to move the highlight to the desired command. Then press e to choose the command.

•

The dialog boxes list the options for that menu. When a dialog box is displayed, press h or j, or l or m to move the highlight to the desired field. In dialog boxes that contain a list of filenames, highlight the file you want to execute and press e to execute the file.

•

Highlight the OK button and press e to exit the dialog box and save the changes.

•

Highlight the CANCEL button and press e to exit the dialog box without saving the changes.

•

To exit the IRL Desktop, select Exit in the File pull-down menu and press e .

You can scan the bar code labels listed in Appendix A to move the cursor through the configuration menus instead of pressing keys.

7-7