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 32 of 36

Trakker Antares Application Development Tools System Manual: Part II - Trakker Antares Application Simulator User’s Manual, pages 297 to 306

Pages 297 to 306 of 340, from Trakker Antares Application Development Tools System Manual

The original document is the PDF (1.6 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.

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

Page 297

Chapter 3, INI File Parameter Descriptions 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 im_transmit_buffer Notes

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 im_battery_status Notes

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 im_overlay_setup keypad_type Purpose

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

Default

0 - terminal emulation

Trakker Antares Application Simulator User's Manual

19

Page 298

Chapter 3, INI File Parameter Descriptions

Values

0 - terminal emulation 1 - programmable

Function im_receive_field im_receive_input Notes

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” on page 14.

label_preamble Purpose

Lets you add a user-defined string to the front of the label data. The userdefined 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 label_postamble

20

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

Trakker Antares Application Simulator User's Manual

Page 299

Chapter 3, INI File Parameter Descriptions

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 im_receive_field im_receive_input 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 im_get_label_symbology im_receive_input

Trakker Antares Application Simulator User's Manual

21

Page 300

Chapter 3, INI File Parameter Descriptions

Notes

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 im_get_label_symbologyid Notes

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

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 im_receive_buffer im_receive_input Notes

22

Test the application on a terminal to ensure that the application is handling the input communications protocols correctly.

Trakker Antares Application Simulator User's Manual

Page 301

Chapter 3, INI File Parameter Descriptions

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.

network_receive_file_return Purpose

Specifies the value to be returned to your application when you use an im_receive_file function to request that a file be sent to the terminal from the DCS 300.

Default

00H - success

Values

00H - success 56H - invalid_param 74H - net_open_error 75H - net_close_error 81H - request_failure 80H - file_open_error 85H - file_close_error 83H - receive_failure 84H - file_write_error 55H - general_error 11AH - timed_out_error 6BH - net_config_error 77H - net_write_error 86H - controller_deny

Function im_receive_file Notes

The Simulator does not receive or simulate receiving the file specified in the im_receive_file function. If your application opens the file after

Trakker Antares Application Simulator User's Manual

23

Page 302

Chapter 3, INI File Parameter Descriptions receiving it, you must make sure that a copy of the file is in your current directory when you run the application through the Simulator. Otherwise, your open command will fail. You must test the application on a terminal to make sure that the application handles the communications protocols correctly and that the file is received on the terminal without error.

network_transmit_file_return Purpose

Specifies the value to be returned to your application when you use an im_transmit_file function to send a file from the terminal to the DCS 300.

Default

00H - success

Values

00H - success 56H - invalid_param 74H - net_open_error 75H - net_close_error 81H - request_failure 80H - file_open_error 85H - file_close_error 83H - receive_failure 84H - file_write_error 55H - general_error 11AH - timed_out_error 6BH - net_config_error 77H - net_write_error 86H - controller_deny

Function im_transmit_file Notes

The Simulator does not transmit or simulate transmitting the file specified in the im_transmit_file function. If your application opens the file before transmitting it, you must make sure that a copy of the file is in your current directory when you run the application through the Simulator. Otherwise, your open command will fail. You must test the application on a terminal to make sure that the application handles the communications protocols correctly and that the file is transmitted to the DCS 300 without error

24

Trakker Antares Application Simulator User's Manual

Page 303

Chapter 3, INI File Parameter Descriptions network_write_file Purpose

Names the ASCII text file that will receive the data that the application writes to the network port.

Default netwrite.trx

Values

Any filename

Function im_transmit_buffer im_transmit_file Notes

Test the application on a terminal to make sure that the application is handling the output communications protocols correctly.

number_scan_line_select Purpose

Specifies the number of scan rows (1 to 16) of the glyph font to be displayed.

Default

1

Values

1 to 16

Function im_overlay_setup optical_input_n Purpose

Specifies the optical sensor input status while simulating optical sensor input. n in this parameter designates the optical sensor channel (1, 2, 3 or 4).

Default

0 - OFF

Values

0 - OFF 1 - ON

Function im_get_sensor_all im_get_sensor_input im_receive_field im_receive_input Notes

The value of this INI parameter is returned to the application in the optical sensor status parameter of the function calls that use this INI parameter. When testing an application, you can simulate the act of optical sensor input by pressing the key sequence specified in the sim_optical_key parameter. The optical sensor channel and optical state value parameter specifies the value of the simulated optical sensor input.

Trakker Antares Application Simulator User's Manual

25

Page 304

Chapter 3, INI File Parameter Descriptions portn_read_file Purpose

Names the ASCII text file that contains data to be read by the application as if it were received on a COM port. The n in portn_read_file is the COM port number (1, 2 or 3).

Default comportn.rcv, where n is the COM port number (1, 2 or 3)

Values

Any filename

Function im_receive_buffer im_receive_input Notes

Do not set this parameter to comn.rcv. Your PC will expect data from its own COMn port. Test the application on a terminal to make sure 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.

portn_write_file Purpose

Names the ASCII text file that will receive data the application writes to a COM port. The n in portn_write_file is the COM port number (1, 2 or 3).

Default comportn.trx, where n is the COM port number (1, 2 or 3)

Values

Any filename

Function im_transmit_buffer im_transmit_file Notes

26

Do not set this parameter to comn.trx. Your PC will try to send data to its own COMn port. You must test the application on a terminal to make sure that the application is handling the output communications protocols correctly.

Trakker Antares Application Simulator User's Manual

Page 305

Chapter 3, INI File Parameter Descriptions scan_port_read_file Purpose

Identifies the ASCII file that contains data to be read by the application as if it were received on the scanner port.

Default scanport.rcv

Values

Any filename

Function im_receive_buffer im_receive_input Notes

Do not set this parameter to comn.rcv. Your PC will expect data from its COMn port. Test the application on a terminal to make sure the application is handling the 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.

scan_port_write_file Purpose

Identifies the file that will receive data the application writes to the scanner port.

Default scanport.trx

Values

Any filename

Function im_receive_buffer im_receive_input Notes

Do not set this parameter to comn.trx. Your PC will try to send data to its COMn port. Test the application on a terminal to make sure the application is handling the communications protocols correctly.

Trakker Antares Application Simulator User's Manual

27

Page 306

Chapter 3, INI File Parameter Descriptions screen_type_select Purpose

Specifies the Trakker Antares terminal display type that the Simulator will mimic.

Default

0 - 20x16 (242X)

Values

0 - 20x16 (242X) 1 - 80x25 (2455 LCD display) 2 - 40x25 (2481/2486) 3 - 40x4 (2480/2485) 4 - 80x25 (2455 EL (electroluminescent) display) 5 - 16x2 (2460/2461) 6 - 20x16 (2410/2415)

Function im_get_display_type Notes

Setting this parameter is equivalent to selecting Configuration Menu, Terminal Menu, and Display from the TRAKKER Antares 2400 Menu System and then setting the display type for the terminal.

serial_port_emulation Purpose

Specifies whether the serial port operations are simulated.

Default

1 - enabled

Values

0 - disabled 1 - enabled

Function Not applicable Notes

For Trakker Antares applications, serial port operations are simulated through ASCII data files, which are named in the portn_read_file and portn_write_file (where n is 1, 2 or 3 to identify the port number).

serial_receive_mode Purpose

Specifies whether the Simulator receives serial data one line at a time (Line mode) or one character at a time (Character mode).

Default

0 - line_mode

Values

0 - line_mode 1 - character_mode

Function im_receive_buffer

28

Trakker Antares Application Simulator User's Manual