Changes between Version 1 and Version 2 of Docs/User/ConfigurationUtility


Ignore:
Timestamp:
04/13/09 10:01:42 (15 years ago)
Author:
kyle_s
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/User/ConfigurationUtility

    v1 v2  
     1[[PageOutline]]
    12= Configuration Utility =
    2 A calibration program “touchcal” is provided to calibrate the touch screen and to manage tickets, serial i/o, and menu customization.
     3A calibration program, called '''touchcal''', is provided to calibrate the touch screen, manage tickets, setup serial I/O, and provide menu customization.
    34
    4 Select “1” to perform the calibration. This will place a target at each corner of the display and wait for a touch. Best accuracy will be obtained using a stylus. When complete a calibration file touchcal.dat is written. Apps may call the fuction read_touch_cal in the library “touch.cpp” module to read the calibration information. The function read_touch in touch.cpp will then adjust the values obtained by the driver /dev/cardtouch to appropriate pixel coordinates X = 0 – 639 Y = 0 – 479 based on the calibration.
     5== Main Menu ==
     6[[Image(screenshot.1.jpeg)]]
    57
    6 Select “2” to display a tracking screen to verify the correct operation of the touch screen. Press “ESC” to exit from this screen.
     8Select '''1''' to perform the touch screen calibration. This will place a target at each corner of the display and wait for a touch. Best accuracy will be obtained using a stylus. When complete a calibration file touchcal.dat is written. Apps may call the fuction [http://tech.825spectrum.com/source/lib825/browser/trunk/touch.cpp#L64 ReadTouchCal] in the [http://tech.825spectrum.com/source/lib825/browser lib825] [http://tech.825spectrum.com/source/lib825/browser/trunk/touch.cpp touch.cpp] module to read the calibration information. The function [http://tech.825spectrum.com/source/lib825/browser/trunk/touch.cpp#L90 ReadTouch] in [http://tech.825spectrum.com/source/lib825/browser/trunk/touch.cpp touch.cpp] will then adjust the values obtained by the driver /dev/cardtouch to appropriate pixel coordinates X = 0 – 639 Y = 0 – 479 based on the calibration.
    79
    8 Select “3” to select color mode.
     10Select '''2''' to display a tracking screen to verify the correct operation of the touch screen. Press “ESC” to exit from this screen.
    911
    10 Select “4” to configure the weight server.
     12Select '''3''' to select color mode.
    1113
    12 Select “5” for ticket settings.
     14Select '''4''' to configure the weight server.
    1315
    14 Select “6” to configure the application menu.
     16Select '''5''' for ticket settings.
    1517
    16 Select “1” to enable or disable menu items.
     18Select '''6''' to configure the application menu.
    1719
    18 With the “Application” prompt selected press “SPACE” to cycle through the standard applications: “Truck Storage”, “DFC”, “Checkweigher”, “788 Compatibility”, “None”, and “All”. Select the desired standard application or “All” to appear on the application menu.
     20== Application Menu ==
     21=== Enable or Disable Menu Items ===
     22[[Image(screenshot.2.jpeg)]]
    1923
    20 With the “Custom Acitivity” prompt selected press “SPACE” to cycle through any custom activities to show on the application menu, or select “All” or “None”.
     24Select '''1''' to enable or disable menu items.
    2125
    22 At the “File manager” prompt select “Yes” to show the file manager on the application menu.
     26With the '''Application''' prompt selected press '''SPACE''' to cycle through the standard applications: '''Truck Storage''', '''DFC''', '''Checkweigher''', '''788 Compatibility''', '''None''', and '''All'''. Select the desired standard application or '''All''' to appear on the application menu.
    2327
    24 At the “Slide show” prompt select “Yes” to show the slide show option on the application menu.
     28With the '''Custom Activity''' prompt selected press '''SPACE''' to cycle through any custom activities to show on the application menu, or select '''All''' or '''None'''.
    2529
    26 At the “Reboot” prompt select “Yes” to show the “Return to Startup” option on the application menu.
     30At the '''File manager''' prompt select '''Yes''' to show the file manager on the application menu.
    2731
    28 The “Auto run” prompt may be used to specify a menu item to automatically start. When specified the “Auto run secs” prompt will appear to set the number of seconds before the item starts. This feature automatically reads the appmenu.cfg file and writes changes to the appmenu.cfg file.
     32At the '''Slide show''' prompt select '''Yes''' to show the slide show option on the application menu.
    2933
    30 Select “2” to configure custom menu items.
     34At the '''Reboot''' prompt select '''Yes''' to show the “Return to Startup” option on the application menu.
    3135
    32 At the “Custom” prompt press “SPACE” to cycle through existing custom menu items to edit, or select “Add” to create a new custom menu item.
     36The '''Auto run''' prompt may be used to specify a menu item to automatically start. When specified the '''Auto run secs''' prompt will appear to set the number of seconds before the item starts. This feature automatically reads the appmenu.cfg file and writes changes to the appmenu.cfg file.
    3337
    34 Use the “Name” prompt to specify the name to appear on the menu.
     38=== Configure Custom Menu Items ===
     39[[Image(screenshot.3.jpeg)]]]
    3540
    36 Use the “1:” though “8:” prompts to specify the actions to be performed. Press “ENTER” when finished. This will write a script file such as: cust01.sh
     41Select '''2''' to configure custom menu items.
    3742
     43At the '''Custom''' prompt press '''SPACE''' to cycle through existing custom menu items to edit, or select '''Add''' to create a new custom menu item.
     44
     45Use the '''Name''' prompt to specify the name to appear on the menu.
     46
     47Use the '''1:''' though '''8:''' prompts to specify the actions to be performed. Press '''ENTER''' when finished. This will write a script file such as: cust01.sh
     48{{{
     49#!Lineno
     50#!sh
    3851#!/bin/sh
    3952
     
    4558
    4659cd /mnt/nand/bin
     60}}}
    4761
    48 The “Configure Custom Activity” screen will appear again. Additional custom activities may be created or edited. Press “ESC” when finished.
     62The '''Configure Custom Activity''' screen will appear again. Additional custom activities may be created or edited. Press '''ESC''' when finished.
    4963
    50 The “Configure Menu” screen will then appear to allow the item to be enabled.
     64The '''Configure Menu''' screen will then appear to allow the item to be enabled.
    5165
    52 Press “ENTER” when finished with the configuration. The “appmenu.cfg” file will then be updated. Press “ESC” twice to return to the “Application Menu”. The new custom activity will now show.
     66Press '''ENTER''' when finished with the configuration. The '''appmenu.cfg''' file will then be updated. Press '''ESC''' twice to return to the '''Application Menu'''. The new custom activity will now show.