The text of a manual · part 6 of 8
Trakker Antares Application Simulator User's Manual, pages 51 to 60
Pages 51 to 60 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 51
INI File Parameter Descriptions
3 xmodem1k_receive_file_return Purpose
Specifies the value to be returned to your application when you use an im_xm1k_receive_file function to request that a file be sent to the terminal from the host using XModem-1K protocol.
Default
00H - success
Values
00H - success 55H - general_error 56H - invalid_param 74H - connection_open_error 75H - connection_close_error 80H - file_open_error 84H - file_write_error 85H - file_close_error 11AH - timed_out_error 140H - malloc_error 150H - file_transfer_user_abort 151H - file_transfer_lost_connection 152H - file_transfer_receiver_cancelled 226H - invalid_com_port_number
Function Notes im_xm1k_receive_file The Simulator does not receive or simulate receiving the file specified in the im_xm1k_receive_file function. If your application opens the file after receiving it, you must make sure that a copy of the file is in your current directory when you run the application with 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.
3-19
Page 52
Trakker Antares Application Simulator User’s Manual xmodem1k_transmit_file_return Purpose
Specifies the value to be returned to your application when you use an im_xm1k_transmit_file function to send a file from the terminal to the host using XModem-1K protocol.
Default
00H - success
Values
00H - success 55H - general_error 56H - invalid_param 74H - connection_open_error 75H - connection_close_error 80H - file_open_error 84H - file_write_error 85H - file_close_error 11AH - timed_out_error 140H - malloc_error 150H - file_transfer_user_abort 151H - file_transfer_lost_connection 153H - file_transfer_transmitter_cancelled 226H - invalid_com_port_number
Function Notes im_xm1k_transmit_file The Simulator does not transmit or simulate transmitting the file specified in the im_xm1k_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 with 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.
3-20
Page 53
INI File Parameter Descriptions
3 ymodem_receive_file_return Purpose
Specifies the value to be returned to your application when you use an im_ym_receive_file function to request that a file be sent to the terminal from the host using YModem protocol.
Default
00H - success
Values
00H - success 55H - general_error 56H - invalid_param 74H - connection_open_error 75H - connection_close_error 80H - file_open_error 84H - file_write_error 85H - file_close_error 11AH - timed_out_error 140H - malloc_error 150H - file_transfer_user_abort 151H - file_transfer_lost_connection 152H - file_transfer_receiver_cancelled 226H - invalid_com_port_number
Function Notes im_ym_receive_file The Simulator does not receive or simulate receiving the file specified in the im_ym_receive_file function. If your application opens the file after receiving it, you must make sure that a copy of the file is in your current directory when you run the application with 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.
3-21
Page 54
Trakker Antares Application Simulator User’s Manual ymodem_transmit_file_return Purpose
Specifies the value to be returned to your application when you use an im_ym_transmit_file function to send a file from the terminal to the host using YModem protocol.
Default
00H - success
Values
00H - success 55H - general_error 56H - invalid_param 74H - connection_open_error 75H - connection_close_error 80H - file_open_error 84H - file_write_error 85H - file_close_error 11AH - timed_out_error 140H - malloc_error 150H - file_transfer_user_abort 151H - file_transfer_lost_connection 153H - file_transfer_transmitter_cancelled 226H - invalid_com_port_number
Function Notes im_ym_transmit_file The Simulator does not transmit or simulate transmitting the file specified in the im_ym_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 with 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.
3-22
Page 55
4 Customizing INI Files With the Editor
Page 56
Trakker Antares Application Simulator User’s Manual
Page 57
Customizing INI Files With the Editor
4
This chapter introduces the Simulator Editor and describes how to use it to customize the initialization (INI) file for the Trakker Antares Application Simulator.
Introduction to the Simulator Editor The Simulator Editor is a Windows-based tool for viewing and setting the parameters stored in the IMT24SIM.INI file. The INI file contains parameters that specify how certain features are simulated. For descriptions of the parameters, see Chapter 3, “INI File Parameter Descriptions.” Note: Because IMT24SIM.INI is a text file, you can use any text editor to change the values of the parameters. You do not need to use the Simulator Editor. The Editor can be used with Intermec’s two application simulators: •
Trakker Antares Application Simulator, which simulates applications for the Trakker Antares family of terminals, including the T2425 hand-held terminal and the T248X stationary terminal.
•
Trakker T2090 Application Simulator, which simulates applications for the T2090 computer.
Starting the Simulator Editor Start the Simulator Editor from the Trakker Antares Development Tools group on the Windows desktop or on the Start menu. The Editor window appears:
4-3
Page 58
Trakker Antares Application Simulator User’s Manual
No INI File Found When you start the Editor, it attempts to open the default INI file, IMT24SIM.INI, in the working directory. If the Editor does not find the IMT24SIM.INI file in the working directory, the message, No ini file found, is displayed in the title bar of the window. You can open IMT24SIM.INI or another INI file by choosing Open from the File menu. Or you can exit the Editor, copy IMT24SIM.INI to the working directory, and restart the Editor.
Introduction to the User Interface This utility conforms to standard Microsoft Windows conventions, so it should be easy to familiarize yourself with the user interface.
Menu Bar The main menu bar contains the File, Edit, and Help commands: File Lets you open, create, and save INI files. Also lets you restore the parameters to their defaults, print INI files, and exit the Editor. Edit Lets you select a category of parameters (such as Communications and Labels), causing the corresponding tab section to become active in the Editor window. Help
For details, see the “Online Help” section later in this chapter.
Tabs The parameters are divided into categories, and each category has its own tab in the Editor window. To view the parameters in each category, click the corresponding tab or choose the category name from the Edit menu. You set the value for each parameter by • selecting buttons.
• checking boxes.
• typing into the fields.
• choosing items from drop-down lists.
You can set reset a parameter to its default value by clicking the Default button next to the parameter. You can reset all parameters to their defaults by choosing Restore defaults from the File menu.
4-4
Page 59
Customizing INI Files With the Editor
4
Online Help You can access the online help from the Help menu on the Editor’s menu bar. The online help contains all the information in this chapter and describes how to use the Editor with both application simulators. The online help also contains the parameter descriptions from Chapter 3. If you click on any parameter’s field, radio button, or checkbox, you can press F1 to display the parameter’s description.
Creating a New INI File You can create and customize new INI files with the Editor. Each new file is a duplicate of the default INI file with all the parameters set to their default values. To create a new INI file 1. From the File menu, choose New. 2. The Select File Type dialog box appears. Select the T24xx file type and click the OK button. The Editor creates an untitled file with its parameters set to their defaults. 3. Customize the parameters if necessary. 4. From the File menu, choose Save. 5. Specify a file name with the INI extension. If necessary, select the path for the new file. Click the Save button. 6. Click the OK button when the Editor prompts you to save all the values in the file.
Opening an Existing INI File You can open an existing INI file to view, edit, or print the file. To open an existing INI file •
From the bottom of the File menu, choose the INI file from the list of five most recently opened files.
Or, 1. From the File menu, choose Open. The Open dialog box appears. 2. Select the file name. If necessary, you can browse for the file. 3. Click the Open button. The file opens, you return to the main menu, and the filename is displayed in the title bar. You can begin customizing the file.
4-5
Page 60
Trakker Antares Application Simulator User’s Manual
Setting INI Parameters The INI parameters are divided into functional categories, and each category is included on a tab in the Editor window. For descriptions of the INI parameters, see Chapter 3. For help customizing the parameters, see the next procedure. To set a parameter 1. Click the tab to choose the type of parameter you want to edit. The tab you select moves forward in the Editor window. 2. To set the value for each parameter, select the button, type in the field, or choose an item from the drop-down list. For help deciding which value to set for each parameter, see Chapter 3.
Saving Changes You can save the changes to an INI file • into the current INI file and continue working.
• into the current INI file when you exit the Editor.
• into a new INI file.
• into an existing INI file.
Note: The current file is the file that is currently open. The current file name is displayed in the title bar of the Editor window. To save the changes into the current INI file and continue working 1. From the File menu, choose Save. The Editor saves the file and displays this message: Saved all values in file. 2. Click the OK button.
4-6