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 4 of 8

Trakker Antares Application Simulator User's Manual, pages 31 to 40

Pages 31 to 40 of 80

The original document is the PDF (353 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Intermec 2420, Intermec 2425 and Intermec 2481

Page 31

Working With the Application Simulator

2

How PSK Functions Are Simulated Most PSK functions are automatically simulated by the Simulator. However, the Simulator can simulate some PSK functions only with the preset values in the INI file. This table lists the functions that require the INI file configuration: PSK Function

INI File Parameter im_get_label_symbology label_symbology im_receive_buffer network_read_file portn_read_file serial_receive_mode im_receive_field keypad_type label_postamble label_postamble_string label_preamble label_preamble_string label_time_stamp network_read_file portn_read_file im_receive_file receive_file_return im_receive_input keypad_type label_postamble label_postamble_string label_preamble label_preamble_string label_symbology label_time_stamp network_read_file portn_read_file im_transmit_buffer network_write_file portn_write_file im_transmit_file transmit_file_return

For a complete list of PSK functions, see Part I, Trakker Antares PSK Reference Manual.

2-11

Page 32

Trakker Antares Application Simulator User’s Manual

Page 33

3 INI File Parameter Descriptions

Page 34

Trakker Antares Application Simulator User’s Manual

Page 35

INI File Parameter Descriptions

3

This chapter explains why you should customize your INI file, describes the parameters in the INI file, and explains which PSK library functions will receive the INI parameters as return values and out parameters.

Why and How You Customize INI Files The INI parameters control how the Application Simulator simulates a Trakker Antares terminal executing an application. You can customize the parameters so the Simulator mimics the conditions against which you want to test your Trakker Antares applications. Note: Customizing the INI file is optional. You do not have to customize the INI file if you are satisfied with the default values in IMT24SIM.INI. You can customize INI parameters using the Simulator Editor or any ASCII text editor: •

The Editor provides a graphic environment for changing your INI files. Instead of typing the settings, you select them from menus, and dialog boxes. For help using the Editor, see Chapter 4.

•

If you create and edit INI files with an ASCII text editor, use a copy of the default INI file to make sure you conform to the formatting conventions.

Parameter Descriptions This section contains descriptions of the parameters in the INI file, in alphabetical order. The first description, Sample, illustrates the type of information presented for each parameter and is not a valid parameter. Note: Before setting a parameter that refers to the communications ports COM1, COM2, or NET, check your terminal user’s manual to make sure those ports are available on your terminal.

Sample Purpose

The purpose of the parameter.

Default

The default value for the parameter.

Values

The values you can set for the parameter.

Function

Notes

The PSK library function that receives the parameter as a return value or out parameter. An out parameter specifies a value that is returned by the function. Some parameters do not have a PSK function associated with them. Optional information about the parameter.

3-3

Page 36

Trakker Antares Application Simulator User’s Manual add_carriage_return Purpose

Enables or disables adding a carriage return character to the end of each buffer written to the portn_write_file using im_transmit_buffer.

Default

1 - enable

Values

0 - disable 1 - enable

Function Notes im_transmit_buffer Each time you use im_transmit_buffer to write a string into the portn_write_file, the Simulator adds a carriage return character after the string. This helps delineate each string. If you disable this parameter, each string is appended directly to the previous string.

battery_status_return Purpose

Specifies the value to be returned when the application checks the power remaining in the main battery.

Default

100

Values

A number from 0 to 100 (in increments of ten)

Function Notes im_battery_status You can use this parameter to test how the Trakker Antares application responds when the main battery power needs to be charged.

font_scan_row_select Purpose

Specifies the starting row number (0 to 15) of the glyph font to be displayed.

Default

0

Values

0 to 15

Function

3-4 im_overlay_setup

Page 37

INI File Parameter Descriptions

3 keypad_type Purpose

Specifies the Trakker Antares terminal keypad that the Simulator will mimic.

Default

0 - terminal emulation

Values

0 - terminal emulation 1 - programmable

Function

Notes im_receive_field im_receive_input Setting the keypad_type parameter is the equivalent of selecting the Configuration Menu, Terminal Menu, and Keypad from the TRAKKER Antares 2400 Menu System and then selecting the keypad type for the terminal. The Simulator can support Western European characters (such as é, ü, and õ) when you choose the programmable keypad. For help configuring the Simulator to support these characters, see “International Characters” in Chapter 2.

label_preamble Purpose

Lets you add a user-defined string to the front of the label data. The user-defined string is specified in the label_preamble_string parameter.

Default

0 - disabled

Values

0 - disabled 1 - enabled

Function im_receive_field im_receive_input label_preamble_string Purpose

Specifies the user-defined string to be added to the front of the label data if the label_preamble parameter is enabled.

Default blank

Values

Any ASCII text

Function im_receive_field im_receive_input

3-5

Page 38

Trakker Antares Application Simulator User’s Manual label_postamble Purpose

Lets you append a user-defined string to the end of the label data. The user-defined string is specified in the label_postamble_string parameter.

Default

0 - disabled

Values

0 - disabled 1 - enabled

Function im_receive_field im_receive_input label_postamble_string Purpose

Specifies the user-defined string that can be appended to the end of the label data if the label_postamble parameter is enabled.

Default blank

Values

Any ASCII text

Function im_receive_field im_receive_input label_time_stamp Purpose

Specifies whether the current date and time will be appended to the label data.

Default

0 - disabled

Values

0 - disabled 1 - enabled

Function

3-6 im_receive_field im_receive_input

Page 39

INI File Parameter Descriptions

3 label_symbology Purpose

Specifies the symbology of the last simulated scanned label.

Default

1 – Code 39

Values

0 - Unknown 1 - Code 39 2 - Code 93 3 - Code 49 4 - Interleaved 2 of 5 (I 2 of 5) 5 - Codabar 6 - UPC/EAN 7 - Code 128 8 - Code 16K 9 - Plessey 10 - Code 11 11 - MSI

Function

Notes im_get_label_symbology im_receive_input The value of this INI parameter is returned to the application in the symbology parameter of the function calls that use this INI parameter. When testing a Trakker Antares application, you can simulate the act of scanning a label by pressing the key sequence specified in the sim_wand_key parameter. When testing a T2090 application, you can press Ctrl-G to simulate scanning a label.

label_symbologyid Purpose

Specifies the AIM symbology ID of the data entered while simulating bar code input.

Default

None

Values

Enter up to four ASCII characters, such as ]A1.

Function Notes im_get_label_symbologyid The value of this INI parameter is returned to the application in the symbologyID parameter of the function calls that use this INI parameter.

3-7

Page 40

Trakker Antares Application Simulator User’s Manual network_emulation Purpose

Specifies whether the network operations are emulated through ASCII data files, which are named in the network_read_file and network_write_file parameters.

Default

1 - enabled

Values

0 - disabled 1 - enabled

Function

Not applicable network_read_file Purpose

Names the ASCII text file that contains data to be read by the application as if it were received on the network port (NET).

Default netread.rcv

Values

Any filename

Function

Notes im_receive_buffer im_receive_input Test the application on a terminal to ensure that the application is handling the input communications protocols correctly. The PSK function you use to read data from the RCV file affects how you format the data in the file: im_receive_buffer Reads a buffer of data each time it is called. The RCV file should contain one or more data strings. Each data string is terminated by a CR/LF character, which indicates the end of the buffer. If there is no CR/LF, the function reads up to 1024 bytes of data. With each subsequent call, im_receive_buffer continues reading data where it left off in the file until it reaches an EOF. If the function is called again after reaching EOF, it starts reading data from the beginning of the file. im_receive_input Reads a line at a time, similar to im_receive_buffer. However, because im_receive_input accepts input from multiple sources, when the function reaches the EOF, it does not start reading data at the beginning of the file again. This practice allows keyboard, scanner, and wand input.

3-8