Intermec Janus 2010 User Manual

Intermec Janus 2010 User Manual

Application simulator
Hide thumbs Also See for Janus 2010:
Table of Contents

Advertisement

User's Manual
P/N 062778-001
JANUS
®
Application Simulator

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Janus 2010 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Intermec Janus 2010

  • Page 1 User's Manual P/N 062778-001 JANUS ® Application Simulator...
  • Page 2 The information contained herein is proprietary and is provided solely for the purpose of allowing customers to operate and/or service Intermec manufactured equipment and is not to be released, reproduced, or used for any other purpose without written permission of Intermec. Information and specifications in this manual are subject to change without notice.
  • Page 3 Contributors Author Karen Granger Ross Editor Craig Thompson Technical Illustrator George Wilson Technical Reviewers Roy Chrisop Roy Law Yong-Qin Lu...
  • Page 5: Table Of Contents

    Contents Before You Begin xi Warranty Information xi Cautions xi About This Manual xii Other Intermec Manuals xiv Getting Started Introduction to the JANUS Application Simulator 1-3 Hardware and Software Requirements 1-4 Installing the JANUS Application Simulator 1-5 Learning About the JANUS Application Simulator 1-6...
  • Page 6 Running and Debugging an Application Deciding Where to Start the Simulator TSR 2-3 Starting the Simulator TSR 2-3 Running and Debugging a JANUS Application 2-4 Understanding the Limitations of the Simulator TSR 2-5 Exiting the Simulator TSR 2-6 Learning About the INI File How to Customize the Parameters 3-3 How the Parameters Are Organized in This Chapter 3-3 Overview of Parameters 3-5...
  • Page 7 display_size_mode 3-21 display_video_mode 3-22 display_scroll_mode 3-23 display_viewport_lock 3-24 display_x_pos 3-25 display_y_pos 3-26 display_backlight 3-27 display_char_height 3-28 appl_break_status 3-29 follow_cursor 3-29 control_key 3-30 keyclick 3-31 numeric_keypad_switching 3-32 numeric_keypad_status 3-33 label_symbology 3-34 sim_wand_key 3-35 clear_abort_callback_return 3-36 command_return 3-36 link_comm_return 3-37 serial_protocol_control_return 3-37 standby_wait_return 3-38 unlink_comm_return 3-38 Communications Standard Return Values 3-39...
  • Page 8 Customizing INI Files With the Editor Why Customize INI Files? 4-3 Starting the Editor 4-5 Using Online Help 4-6 Creating a New INI File 4-7 Opening an Existing INI File 4-8 Setting Parameters 4-9 Setting Communications Parameters 4-10 Setting Keyboard Parameters 4-12 Setting Power Management Parameters 4-13 Setting Display Parameters 4-14 Setting Keypad Parameters 4-15...
  • Page 9 Contents Troubleshooting Running an Application Without the Simulator TSR 5-3 Simulating Bar Code Input With an Intermec Wedge 5-3 Error and Status Messages for the Simulator TSR 5-3 Error and Status Messages for the Editor 5-4 Index...
  • Page 11: Before You Begin

    Warranty Information To receive a copy of the standard warranty provision for this product, contact your local Intermec sales organization. In the U.S. call (800) 755- 5505, and in Canada call (800) 688-7043. Otherwise, refer to the Worldwide Sales & Service list shipped with this manual for the address and telephone number of your Intermec sales organization.
  • Page 12: About This Manual

    JANUS Application Simulator User’s Manual About This Manual This manual describes how to install, customize, and use the JANUS Application Simulator. You should see the online README file for important information that was not available when this manual was printed. Use this manual in conjunction with the JANUS PSK Reference Manual, which describes the PSK library functions and JANUS-specific system interrupts that the JANUS Application Simulator captures and simulates.
  • Page 13 Before You Begin Terms and Conventions In this manual, the JANUS 2010 and JANUS 2020 are referred to as “the JANUS” or “the reader.” Also, the Intermec-specific library functions described in the JANUS PSK Reference Manual are referred to as “PSK functions.”...
  • Page 14: Other Intermec Manuals

    Intermec representative or distributor. Manual JANUS Programmer's Software Kit Reference Manual JANUS 2010 Hand-Held Data Collection Computer User's Manual JANUS 2020 Hand-Held Data Collection Computer User's Manual Also, you should see the online README file provided with the software. This README file contains important information that was not available...
  • Page 15: Getting Started

    Getting Started...
  • Page 17: Introduction To The Janus Application Simulator

    This chapter introduces the JANUS Application Simulator, explains how to install the software, and describes how to make your PC mimic a JANUS reader. Introduction to the JANUS Application Simulator Applications created for JANUS readers may contain JANUS PSK library functions and JANUS-specific system interrupts that—when run on a PC instead of a reader—cause a PC to lock up.
  • Page 18: Hardware And Software Requirements

    JANUS Application Simulator User’s Manual With the JANUS Application Simulator, you can debug the logic and syntax of a JANUS application, but not the user interface or performance: The Simulator helps you debug logic and coding errors by allowing you to use development tools and debuggers common in the software industry.
  • Page 19: Installing The Janus Application Simulator

    If the disk is in Drive B, type this command: b:setup 5. Choose the OK button. 6. Follow the instructions displayed by the installation program. The installation program creates an Intermec group on your Windows desktop. The group contains the icon for the Editor, the Editor's help files, and the README file.
  • Page 20: Learning About The Janus Application Simulator

    JANUS Application Simulator User’s Manual Learning About the JANUS Application Simulator To learn more about the JANUS Application Simulator, read these sections: • How the JANUS Application Simulator Works • If You Are Not Using the JANUS PSK • Using the Simulator During Development •...
  • Page 21 JANUS Application /*Check the status of /* the power supply. status = im_power_status (&ac_line, &battery, &backup, &fuel); printf ("Status: %4X\n", status); When you start the Simulator TSR, it reads the parameters from the INI file, parses the parameter names, and saves the values into variables in memory.
  • Page 22: If You Are Not Using Janus Psk Library Functions

    JANUS Application Simulator User’s Manual If You Are Not Using JANUS PSK Library Functions If you are programming with JANUS-specific system interrupts instead of JANUS PSK library functions, you can use the JANUS Application Simulator and this manual. Simply ignore all mention of the PSK functions. The Simulator TSR services all the JANUS-specific system interrupts listed in the PSK reference manual.
  • Page 23: Integrating The Simulator Into Your Development Process

    Microsoft Visual C++ 1.5 Professional Edition. You can install an Intermec Wedge on your PC to simulate bar code input. For help configuring a wedge, see “Bar Code Input” later in this chapter. The Simulator TSR should not interfere with the normal operation of other software on your PC.
  • Page 24: Janus Features That Are Simulated

    You can simulate bar code input using either of these two methods: • By pressing a special key sequence that lets you type “bar code” data. • By configuring an Intermec Wedge and wanding actual bar code labels. These methods are described in the following paragraphs.
  • Page 25 To simulate bar code input with an Intermec Wedge You can also simulate bar code input by attaching an Intermec Wedge to your PC. After you set the first preamble characters to match the sim_wand_key value, you can use the wedge to enter bar code data into the JANUS application.
  • Page 26: Power Management

    JANUS Application Simulator User’s Manual Power Management The initialization file contains parameters that help simulate the power management features of the JANUS reader. For example, the power_status_line parameter specifies if the simulated JANUS is connected to an AC power source. If your JANUS application calls the im_power_status function or the INT 5EH interrupt, the Simulator TSR passes the preset AC power status to the JANUS application.
  • Page 27: Janus Features That Are Not Simulated

    To simulate data output from the application 1. Specify the ASCII file’s path and filename in the portn_write_file parameter in the INI file, where n is the COM port to which the application expects to write the data. 2. Load the TSR and run the application. 3.
  • Page 28: Viewport

    JANUS Application Simulator User’s Manual Viewport The JANUS viewport is not simulated in this release, but out parameters and return values for related function calls and interrupts are supported: • You can specify if the viewport is locked (unmoving) with the display_viewport_lock parameter in the INI file.
  • Page 29: Running And Debugging An Application

    Running and Debugging an Application...
  • Page 31: Deciding Where To Start The Simulator Tsr

    This chapter describes how to use the Simulator TSR when you run and debug a JANUS application with application development software. Deciding Where to Start the Simulator TSR The Simulator TSR is a terminate and stay resident program. TSRs are small programs that are loaded into DOS memory and run in the background.
  • Page 32: Running And Debugging A Janus Application

    JANUS Application Simulator User’s Manual 3. This message may appear: Environment variable JANUSSIM not found If so, type this command at the MS-DOS prompt and press Enter, or add this command to your AUTOEXEC.BAT file and reboot your PC: set janussim= path \ Where path is the drive and directory where the JANUS Application Simulator software is installed.
  • Page 33: Understanding The Limitations Of The Simulator Tsr

    Understanding the Limitations of the Simulator TSR Read these notes to understand the limitations of the Simulator TSR: • Be sure to start the Simulator TSR before you run a JANUS application on your development PC. If you run a JANUS application on your PC without first starting the Simulator TSR, the application may lock up your PC.
  • Page 34: Exiting The Simulator Tsr

    JANUS Application Simulator User’s Manual Exiting the Simulator TSR To unload the Simulator TSR from memory, type this command at the DOS prompt and press Enter: janussim -d This message appears: Simulator has been unloaded.
  • Page 35: Learning About The Ini File

    Learning About the INI File...
  • Page 37: How To Customize The Parameters

    This chapter describes the parameters in the JANUS Application Simulator’s initialization file. It also explains which JANUS PSK library functions and JANUS- specific system interrupts will receive the INI parameters as return values and out parameters. How to Customize the Parameters You can customize the parameters in the initialization file using the Editor or an ASCII text editor: •...
  • Page 38 JANUS Application Simulator User’s Manual expanded_keyboard_status = 0 - command complete kb_insert_string_status = 0 - success kb_insert_string_capacity = 255 flush_exp_keyboard_status = 0 - success warmboot_status = 0 - warmboot disabled power_status_line = 1 - AC line connected power_status_battery = 2 - critical battery power_status_backup = 1 - backup low power_status_batt_life = 93 power_status_return = 0800H - Power management success...
  • Page 39: Overview Of Parameters

    Overview of Parameters This section contains the following information about each parameter in the JANUS Application Simulator’s initialization file: parameter name Description Default Values Function Interrupt Notes Learning About the INI File The purpose of the parameter. The default value for the parameter. The values you can set for the parameter.
  • Page 40: Portn_Read_File

    JANUS Application Simulator User’s Manual portn_read_file Description Default Values Function Interrupt Notes Names the ASCII file that contains data to be read by the JANUS application as if it were received on a COM port. The n in portn_read_file is the port number (1 to comportn.rcv, where n is the COM port number (1 to 4) Any filename im_receive_buffer...
  • Page 41 Learning About the INI File For example: port1_read_file = c:\payroll\temp\data1.rcv port2_read_file = d:\sales\test2.rcv port3_read_file = d:\sales\test3.rcv port4_read_file = f:\mis\beta\sample4.rcv The PSK function you use to read data from the RCV file affects how you format the data in the file. For example: im_receive_byte This function reads one byte of data from the file each time it is called.
  • Page 42: Portn_Write_File

    JANUS Application Simulator User’s Manual portn_write_file Description Default Values Function Interrupt Notes Specifies the file that will receive data the JANUS application writes to a COM port. The n in portn_write_file is the port number (1 to 4). comportn.trx, where n is the COM port number (1 to 4) Any filename im_transmit_buffer im_transmit_buffer_no_wait...
  • Page 43: Rx_Check_Status_Return

    rx_check_status_return Description Specifies the return value for the simulated im_rx_check_status function. Default 0600H – Communication operation successful Values See the “Communications Standard Return Values List” on page 3-39. Function im_rx_check_status Interrupt INT 14H protocol_ext_status_return Description Specifies the return value for the simulated im_protocol_extended_status function.
  • Page 44: Cancel_Rx_Buff_Return

    JANUS Application Simulator User’s Manual cancel_rx_buff_return Description Default Values Function Interrupt cancel_tx_buff_return Description Default Values Function Interrupt 3-10 Specifies the return value for the simulated im_cancel_rx_buffer function. 0600H – Communication operation successful See the “Communications Standard Return Values List” on page 3-39. im_cancel_rx_buffer INT 14H Specifies the return value for the simulated...
  • Page 45: Uart_Status

    UART_status Description Specifies the return value for the simulated DOS UART function. Default 30H – Bit 4 clear to send and Bit 5 data set ready Values 01H – Change in clear to send 02H – Change in data set ready 30H –...
  • Page 46: Expanded_Keyboard_Status

    2 – Expanded keyboard buffer is disabled 3 – Expanded buffer cannot be disabled im_get_expanded_keyboard INT 16H Intermec recommends that you do not use PSK expanded keyboard functions in your JANUS application. The im_get_expanded_keyboard function always returns 1000H (Expanded keyboard buffer success) as its return value.
  • Page 47: Kb_Insert_String_Status

    Interrupt INT 16H Notes Intermec recommends that you do not use PSK expanded keyboard functions in your JANUS application. This value is returned at the interrupt level: If you select 0 as the return value, the im_kb_insert_string function returns 1000H (Expanded keyboard buffer success) to the application.
  • Page 48: Kb_Insert_String_Capacity

    Numeric value from 0 to 256 im_kb_insert_string im_kb_insert_keycodes INT 16H Intermec recommends that you do not use PSK expanded keyboard functions in your JANUS application. The value of this INI parameter is returned to the JANUS application in the *remaining_capacity parameter of the im_kb_insert_string and im_kb_insert_keycodes function calls.
  • Page 49: Flush_Exp_Keyboard_Status

    Function im_flush_expanded_keyboard Interrupt INT 16H Notes Intermec recommends that you do not use PSK expanded keyboard functions in your JANUS application. This value is returned at the interrupt level: If you select 0 as the return value, the im_flush_expanded_keyboard function returns 1000H (Expanded keyboard buffer success) to the application.
  • Page 50: Warmboot_Status

    JANUS Application Simulator User’s Manual warmboot_status Description Default Values Function Interrupt Notes 3-16 Specifies the return value of the im_get_warmboot function, which lets users press Ctrl–Alt–Del to warm boot the JANUS. 0 – Warmboot disabled 0 – Warmboot disabled 1 – Warmboot enabled im_get_warm_boot INT 16H The value of this INI parameter is returned to the...
  • Page 51: Power_Status_Line

    power_status_line Description Specifies the line status of the simulated im_power_status function. Default 0 – AC line not connected Values 0 – AC line not connected 1 – AC line connected 255 – Unknown AC line Function im_power_status Interrupt INT 5EH Notes The value of this INI parameter is returned to the JANUS application in the *line_status parameter of the...
  • Page 52: Power_Status_Battery

    JANUS Application Simulator User’s Manual power_status_battery Description Default Values Function Interrupt Notes power_status_backup Description Default Values Function Interrupt Notes 3-18 Specifies the simulated condition of the battery. 0 – High battery 0 – High battery 1 – Low 2 – Critical 3 –...
  • Page 53: Power_Status_Batt_Life

    power_status_batt_life Description Specifies the simulated percentage of the battery’s full charge. Default Values Numeric value from 0 to 100 Function im_power_status Interrupt INT 5EH Notes The value of this INI parameter is returned to the JANUS application in the *fuel_gauge parameter of the im_power_status function call.
  • Page 54: Display_Contrast_Level

    JANUS Application Simulator User’s Manual display_contrast_level Description Default Values Function Interrupt Notes 3-20 Specifies the contrast level for the JANUS display. Numeric value from 0 to 31 im_get_contrast INT 79H The value of this INI parameter is returned to the JANUS application in the *display_contrast_level parameter of the im_get_contrast function call.
  • Page 55: Display_Size_Mode

    display_size_mode Description Specifies the size mode of the JANUS display. Default 0 – 80 x 25 Values 0 – 80 x 25 1 – 20 x 16 2 – 20 x 8 3 – 10 x 16 4 – 10 x 8 Function im_get_display_mode Interrupt...
  • Page 56: Display_Video_Mode

    JANUS Application Simulator User’s Manual display_video_mode Description Default Values Function Interrupt Notes 3-22 Specifies the video mode of the JANUS display. 3 – Standard video mode 3 (80 x 25) 0 – Standard video mode 0 (40 x 25) 1 – Standard video mode 1 (40 x 25) 2 –...
  • Page 57: Display_Scroll_Mode

    display_scroll_mode Description Specifies the line number at which the JANUS display will scroll when the display size is set to 80 x 25. Default 1 – Scroll at 16 Values 0 – Scroll at line 25 1 – Scroll at 16 2 –...
  • Page 58: Display_Viewport_Lock

    JANUS Application Simulator User’s Manual display_viewport_lock Description Default Values Function Interrupt Notes 3-24 Specifies if the JANUS viewport is locked or unlocked. 0 – Locked 0 – Locked 1 – Unlocked im_get_viewport_lock INT 79H If you choose 0 for this parameter, 1 - IM_LOCKED is returned in the *viewport_lock parameter of the im_get_viewport_lock function call.
  • Page 59: Display_X_Pos

    display_x_pos Description Specifies the horizontal offset for the left side of the simulated viewport. Default Values Numeric value from 0 to 60 Function im_viewport_getxy Interrupt INT 79H Notes The value of this INI parameter is returned to the JANUS application in the *col parameter of the im_viewport_getxy function call.
  • Page 60: Display_Y_Pos

    JANUS Application Simulator User’s Manual display_y_pos Description Default Values Function Interrupt Notes: 3-26 Specifies the vertical offset for the left side of the simulated viewport. Numeric value from 0 to 9 im_viewport_getxy INT 79H The value of this INI parameter is returned to the JANUS application in the *row parameter of the im_viewport_getxy function call.
  • Page 61: Display_Backlight

    display_backlight Description Specifies the starting state of the JANUS backlight. Default 0 – Backlight off Values 0 – Backlight off 1 – Backlight on Function im_backlight_toggle Interrupt INT 79H Notes You can change the backlight status by calling these functions: im_backlight_on im_backlight_off im_backlight_toggle...
  • Page 62: Display_Char_Height

    JANUS Application Simulator User’s Manual display_char_height Description Default Values Function Interrupt Notes 3-28 Specifies if the characters are displayed at standard height or double height. 0 – Standard height characters 0 – Standard height characters 1 – Double height characters im_get_display_mode INT 79H The value of this INI parameter is returned to the...
  • Page 63: Appl_Break_Status

    appl_break_status Description Specifies if the user entered the application break key sequence to interrupt applications running on the JANUS. Default 0 – Request for break has not been made 0 – Request for break has not been made Values 0FFH – Request for break has been made Function im_appl_break_status Interrupt...
  • Page 64: Control_Key

    JANUS Application Simulator User’s Manual control_key Description Default Values Function Interrupt Notes 3-30 Specifies if the Control key is enabled or disabled for the simulated im_get_control_key function. 0 – Control key disabled 0 – Control key disabled 0FFH – Control key enabled im_get_control_key INT 7EH The value of this INI parameter is returned to the...
  • Page 65: Keyclick

    keyclick Description Specifies if the JANUS emits a click each time a key is pressed. Default 0 – Keyclick off Values 0 – Keyclick off 0FFH – Keyclick on Function im_get_keyclick Interrupt INT 7EH Notes The value of this INI parameter is returned to the JANUS application in the *keyclick parameter of the im_get_keyclick function call.
  • Page 66: Numeric_Keypad_Switching

    JANUS Application Simulator User’s Manual numeric_keypad_switching Description Default Values Function Interrupt Notes 3-32 Specifies if the user can switch the numeric keypad from numeric to function keys. 0FFH – Numeric keypad switching permitted 0 – Numeric keypad switching prohibited 0FFH – Numeric keypad switching permitted None INT 7EH This parameter is provided for interrupt level support...
  • Page 67: Numeric_Keypad_Status

    numeric_keypad_status Description Specifies if the numeric keypad is in numeric or function key mode. Default 0 – Numeric keypad disabled Values 0 – Numeric keypad disabled 0FFH – Numeric keypad enabled Function None Interrupt INT 7EH Notes This parameter is provided for interrupt level support only;...
  • Page 68: Label_Symbology

    JANUS Application Simulator User’s Manual label_symbology Description Default Values Function Interrupt Notes 3-34 Specifies the symbology of the last simulated scanned label. 1 – Code 39 0 – Unknown 1 – Code 39 2 – Code 93 3 – Code 49 4 –...
  • Page 69: Sim_Wand_Key

    sim_wand_key Description Specifies the key sequence that causes the JANUS application to accept subsequent keyboard input as if it were wand input. Default Ctrl–G A key combination that includes one or more control Values keys (Ctrl, Alt, Shift) and a character key (A to Z). Function None Interrupt...
  • Page 70: Clear_Abort_Callback_Return

    JANUS Application Simulator User’s Manual clear_abort_callback_return Description Default Values Function Interrupt command_return Description Default Values Function Interrupt 3-36 Specifies the return value upon clearing the abort callback routine. 0500H – Reader Wedge success See the “Reader Wedge Standard Return Values List” on page 3-40.
  • Page 71: Link_Comm_Return

    link_comm_return Description Specifies the return value after the application attempts to link a Reader Wedge and a designated COM port. Default 0500H – Reader Wedge success Values See the “Reader Wedge Standard Return Values List” on page 3-40. Function im_link_comm Interrupt INT 7DH Notes...
  • Page 72: Standby_Wait_Return

    JANUS Application Simulator User’s Manual standby_wait_return Description Default Values Function Interrupt unlink_comm_return Description Default Values Function Interrupt 3-38 Specifies the return value for the simulated im_standby_wait function. 0500H – Reader Wedge success See the “Reader Wedge Standard Return Values List” on page 3-40.
  • Page 73: Communications Standard Return Values

    Communications Standard Return Values Communications standard return values are sent to a JANUS application to indicate the result of a communications function call, such as im_rx_check_status. When you customize the INI file for the Simulator TSR, you can set these four parameters to a communications return value: •...
  • Page 74: Reader Wedge Standard Return Values

    JANUS Application Simulator User’s Manual Code Description 8608H Protocol buffer error 8609H Unknown service request 860AH No data available 860BH Communication utility is not loaded 860CH Communication utility resume/suspend failure 860DH Communication utility INT 14 is already in use 860EH Incompatible revision between protocol handler and communication utility 860FH...
  • Page 75 Reader Wedge Standard Return Values List Code Description 0500H Reader Wedge success 8501H Input request error 4502H Input timeout 4503H No input data 8504H Illegal reader wedge mode 0505H No reader commands parsed 0506H Valid reader commands parsed 8507H Reader commands parsing error 8508H Invalid configuration error 0509H...
  • Page 77 Customizing INI Files With the Editor...
  • Page 79: Why Customize Ini Files?

    This chapter explains why you customize the initialization (INI) file and describes how to do so with the Windows-based Editor. Why Customize INI Files? Note: Customizing the INI file is an optional process. You do not have to customize the INI file if you are satisfied with the default values in JANUSSIM.INI.
  • Page 80 JANUS Application Simulator User’s Manual Here is the LOWBAT.INI file with the customized parameters shaded for emphasis: ; Filename: LOWBAT.INI port1_read_file = comport1.rcv port2_read_file = comport2.rcv port3_read_file = comport3.rcv port4_read_file = comport4.rcv port1_write_file = comport1.trx port2_write_file = comport2.trx port3_write_file = comport3.trx port4_write_file = comport4.trx rx_check_status_return = 0600H - Comm Operation successful protocol_ext_status_return = 0600H - Comm Operation successful...
  • Page 81: Starting The Editor

    Customizing INI Files With the Editor numeric_keypad_switching = 0FFH - numeric keypad switching permitted numeric_keypad_status = 0 - numeric keypad disabled label_symbology = 1 - Code 39 sim_wand_key = CTRL/G clear_abort_callback_return = 0500H - Reader Wedge success command_return = 0500H - Reader Wedge success link_comm_return = 0500H - Reader Wedge success serial_parse_return = 0500H - Reader Wedge success serial_protocol_control_return = 0500H - Reader Wedge success...
  • Page 82: Using Online Help

    Double-click on any item in the Contents list for more information. • From the Intermec group on your Windows desktop, you can double- click on the Sim Editor Help icon. An online help screen displays the Contents.
  • Page 83: Creating A New Ini File

    Creating a New INI File You can create and customize new initialization files with the Editor. Each new file is a duplicate of the JANUSSIM.INI file with all the parameters set to their default values. To create a new INI file 1.
  • Page 84: Opening An Existing Ini File

    JANUS Application Simulator User’s Manual Opening an Existing INI File You can open an existing initialization file to view, edit, or print the file. To open an existing INI file 1. From the File menu, choose Open. The Open File window appears: 2.
  • Page 85: Clear_Abort_Callback_Return

    Setting Parameters The Editor groups the parameters into six topics: Communications Keyboard Power Management Display Keypad Reader Wedge For descriptions of the parameters, see Chapter 3. For help customizing the parameters, see the following sections. Customizing INI Files With the Editor cancel_rx_buff_return protocol_ext_status_return cancel_tx_buff_return...
  • Page 86: Setting Communications Parameters

    JANUS Application Simulator User’s Manual Setting Communications Parameters You can view or set the values for the communications parameters. To set a communications parameter 1. From the Edit menu, choose Communications. This Select parameter window appears: communications parameters are contained in the list box.
  • Page 87: Naming Portn_Read_File And Portn_Write_File

    Customizing INI Files With the Editor Naming portn_read_file and portn_write_file The portn_read_file and portn_write_file parameters identify the ASCII text files that the Simulator TSR uses to simulate reading from and writing to the JANUS COM ports (1 to 4). If you specify new filenames for these parameters, do not use comn.rcv and comn.trx.
  • Page 88: Setting Keyboard Parameters

    JANUS Application Simulator User’s Manual Setting Keyboard Parameters You can view or set the values for the keyboard parameters. To set a keyboard parameter 1. From the Edit menu, choose Keyboard. This Select parameter window appears: The keyboard parameters are contained in the list box.
  • Page 89: Setting Power Management Parameters

    Customizing INI Files With the Editor Setting Power Management Parameters You can view or set the values for the power management parameters. To set a power management parameter 1. From the Edit menu, choose Power Management. This Select parameter window appears: The power management parameters are...
  • Page 90: Setting Display Parameters

    JANUS Application Simulator User’s Manual Setting Display Parameters You can view or set the values for the display parameters. To set a display parameter 1. From the Edit menu, choose Display. This Select parameter window appears: The display parameters are contained in the list box.
  • Page 91: Setting Keypad Parameters

    Customizing INI Files With the Editor Setting Keypad Parameters You can view or set the values for the keypad parameters. To set a keypad parameter 1. From the Edit menu, choose Keypad. This Select parameter window appears: The keypad parameters are contained in the list box.
  • Page 92: Setting Reader Wedge Parameters

    JANUS Application Simulator User’s Manual Setting Reader Wedge Parameters You can view or set the values for the Reader Wedge parameters. To set a Reader Wedge parameter 1. From the Edit menu, choose Reader Wedge. This Select parameter window appears: The Reader Wedge parameters are...
  • Page 93: Saving Changes

    Saving Changes You can save the changes you make to an INI file in these ways: • Save the changes to the current INI file. • Save the changes to the current INI file when you exit the Editor. • Save the changes into a new INI file. •...
  • Page 94 JANUS Application Simulator User’s Manual • To avoid saving or discarding, choose the Cancel button. You return to the Editor main menu. You can save the changes to another INI file or perform some other function. To save the changes in a new INI file 1.
  • Page 95 Customizing INI Files With the Editor To save the changes in an existing INI file 1. From the File menu, choose Save As. The Save As window appears: 2. From the File Name list box, select the name of the file where you want to save the changes.
  • Page 96: Discarding Changes

    JANUS Application Simulator User’s Manual Discarding Changes You can discard changes when you exit the Editor. To discard the changes 1. From the File menu, choose Exit. If you made changes to the INI file that you have not saved yet, the Editor displays the message: Do you want to save changes to file name ? 2.
  • Page 97: Updating The Simulator Tsr With The Current Ini File

    Updating the Simulator TSR With the Current INI File The Simulator TSR can be running while you use the Editor to create or edit initialization files. If the TSR is running, you can load a new or changed INI file into the Simulator TSR without exiting the Editor or stopping the Simulator TSR.
  • Page 98: Setting Up The Printer

    JANUS Application Simulator User’s Manual Setting Up the Printer You can set up the printer to which the Editor prints the INI file. To set up the printer 1. From the File menu, choose Printer Setup. The standard Windows Print Setup window appears: 2.
  • Page 99: Exiting The Editor

    2. The Editor displays the message: Printing document. To cancel the print job, you can choose Cancel on the message box. Exiting the Editor When you exit the Editor, you shut down the Editor and close the current INI file. If you changed the current file and have not saved those changes yet, the Editor prompts you to save or discard the changes.
  • Page 101: Troubleshooting

    Troubleshooting...
  • Page 103: Running An Application Without The Simulator Tsr

    PC immediately. Simulating Bar Code Input With an Intermec Wedge If you are having difficulty using an Intermec Wedge to provide bar code input while you run a JANUS application, you may have set the wedge preamble incorrectly.
  • Page 104: Error And Status Messages For The Editor

    JANUS Application Simulator User’s Manual Error and Status Messages for the Editor The following table describes the error messages and status messages you may see when using the Editor. Follow the instructions in the Suggested Action column to recover from the error. Message Description All defaults have been...
  • Page 105 Message Description Environment variable You started the Editor, which could JANUSSIM not found. not locate the JANUSSIM environment variable in your AUTOEXEC.BAT file. File already exists. Replace You specified an existing file during existing file? the Save As operation. File name is of improper You tried to open an INI file that is type! File not opened.
  • Page 106 JANUS Application Simulator User’s Manual Message Description Simulator has been loaded You chose the Load Simulator with filename. command from the File menu, and the Editor loaded the changes in the specified INI file. The Simulator TSR is not You chose the Load Simulator running.
  • Page 107: Index

    Index...
  • Page 109 ASCII data file, 3-6 ASCII text editor, 3-3 audience for this manual, xii AUTOEXEC.BAT file JANUSSIM environment variable, 2-4, 5-3, loading TSR at startup, 1-9, 2-3 PATH to data files, 3-6, 3-8, 4-11 bar code input choosing the symbology, 1-11, 3-34 with a keyboard, 1-10 with a Wedge, 1-9, 1-11 battery...
  • Page 110 4-11 naming the file, 3-6 specifying the path, 3-6, 4-11 input mode, 1-10, 2-5 installation, 1-5 Intermec group on Windows desktop, 1-5 Intermec Wedge, See Wedge interrupts, JANUS-specific, 1-8 iostream functions, 2-5 IRLDESK.EXE, 1-9 JANUS Application Simulator...
  • Page 111 Sim Editor Help icon, 1-5 out parameter, 3-5 output data naming the data file, 4-11 naming the file, 3-8 specifying the path, 3-8, 4-11 parameters default values, 3-3 for Communications cancel_rx_buff_return, 3-10, 3-39 cancel_tx_buff_return, 3-10, 3-39 portn_read_file, 1-12, 3-6 portn_write_file, 1-13, 3-8 protocol_ext_status_return, 3-9, 3-39 rx_check_status_return, 3-9, 3-39 UART_status, 3-11...
  • Page 112 JANUS Application Simulator User’s Manual im_set_input_mode, 1-10, 2-5 im_transmit_buffer, 3-8 im_transmit_buffer_no_wait, 3-8 im_transmit_buffer_noprot, 3-8 im_transmit_byte, 3-8 im_viewport_getxy, 3-26 naming conventions, 3-5 related interrupts, 1-8 RAM for TSR, 1-9, 5-3 README file, 1-5 reboot, 3-16 related documentation, xiv restoring defaults, 4-20 return values communication standard, 3-39 Reader Wedge standard, 3-40...

This manual is also suitable for:

Janus 2020Janus application simulator

Table of Contents