COMFILE CUWIN User Manual

Touch controller

Advertisement

Quick Links

Saelig Company, Inc. 71 Perinton Parkway, Fairport, NY 14450 USA 1-585-385-1750
Saelig Company, Inc. 71 Perinton Parkway, Fairport, NY 14450 USA 1-585-385-1750
CUWIN
info@saelig.com
info@saelig.com
1
TOUCH CONTROLLER
User Manual
www.saelig.com
www.saelig.com

Advertisement

Table of Contents
loading

Summary of Contents for COMFILE CUWIN

  • Page 1 TOUCH CONTROLLER CUWIN User Manual Saelig Company, Inc. 71 Perinton Parkway, Fairport, NY 14450 USA 1-585-385-1750 Saelig Company, Inc. 71 Perinton Parkway, Fairport, NY 14450 USA 1-585-385-1750 info@saelig.com info@saelig.com www.saelig.com www.saelig.com...
  • Page 2 Depending on which CUWIN features you choose to access, it can be used for anything from a user interface panel to the main controller for your automation equipment.
  • Page 3 1.1 Overview...
  • Page 4 The CUWIN has 3 RS-232 Ports (COM1~COM3) and 1 RS-485 port(COM1), and COM1 is can be switched to RS-485 or RS-232. There are 4 terminals for RS-485 Port. The first one if for plus, and the last one is for minus.
  • Page 5 1.2 Dimensions [CUWIN3500]...
  • Page 6 [CUWIN3200]...
  • Page 7 [CUWIN4300]...
  • Page 8: Panel Mounting

    1.4 Panel Mounting Mounting screws and brackets are provided with each CUWIN. They are designed to clamp the CUWIN bezel against a front panel, with the rear portion of the device extending through a panel cutout. After assembling the brackets as shown below, insert the side hooks into the appropriate mounting holes on the top and bottom of the device.
  • Page 9: Hardware Specifications

    1.5 Hardware Specifications Processor 32-bit RISC (ARM920T Core) - 266MHz Memory RAM: 64MB, NAND Flash: 64MB, NOR Flash: 1MB CUWIN3200/3500 : 7” TFT, CUWIN4300 : 10.2” TFT 18-bit / 260k colors, 800 x 480 pixels, LED backlight Touch Four wire resistive panel Serial (2) RS232-only, (1) RS232/RS485 switchable (1) host interface, (1) device interface...
  • Page 10: Boot Modes

    2.0 Boot Modes The CUWIN supports various boot modes which are selected with DIP switch settings. Position Setting Reserved IntelliLCD Mode Boot Mode Auto-Run Mode Desktop Mode Enable Drag and drop feature Disable 9600 19200 RS232 Speed 38400 115200 * Caution : If the drag-and-drop feature is enabled and the serial communication status is busy, the touch-screen feature can suffer some troubles.
  • Page 11: Auto-Run Mode

    If there are executable files in both locations, only the program in the Flash Disk is executed. 3. Make sure the boot mode DIP switches are set correctly to enable auto-run mode. 4. Cycle the CUWIN power supply. After the device has booted, the program in the auto- run folder will be executed.
  • Page 12: Development Environment

    Developing native code requires installing the correct SDK for the target hardware, in this case the CUWIN. Please refer to chapter 4-4 for details regarding the installation of the correct SDK for developing native code. Native code can be developed with tools such as Embedded Visual C++ 4.0, Visual Studio 2005 C++ and...
  • Page 13 Getting Visual Studio Visual Studio 2005 is a software development platform provided by Microsoft. If you wish to use Visual Studio to develop native and managed code applications for the CUWIN, you will need to purchase Visual Studio from Microsoft.
  • Page 14: Setting Up The Development Environment

    If the above installations completed successfully, you should now have a working development environment for the CUWIN. To easily access the CUWIN during development for program testing and debugging, you should also install ActiveSync, though it is not strictly required. If you do not wish to install ActiveSync, your application can be placed in the AutoRun folder on an SD card using an external reader, and it will be executed on startup if the DIP switch settings are correct.
  • Page 15 This example uses Visual Studio's automatic download and run feature over ActiveSync. If you do not wish to use ActiveSync, the resulting executable files can be transferred to the CUWIN using an SD card. 1. Run ‘Microsoft Visual Studio 2005’.
  • Page 16 4. A new blank project is created as shown below. 5. Drag a Button control from the toolbox to the middle of Form1.
  • Page 17 6. Select the new button. Change the Text attribute from “Button1” to “Hello”. 7. Double-click the “Hello” button. Visual Studio will open a window to edit the code that handles “Hello” button click events. Type 'MsgBox("Hello!!!")'...
  • Page 18 8. Set the target device. (1) In the Solution Explorer, select the top-level item. (2) Select “Target Device” and a list of possible devices will be displayed. Choose Windows CE 5.0.
  • Page 19 9. Click the Start Debugging icon as indicated below. This will build and publish the program in debugging mode. 10. After a short delay, the program is transferred to the CUWIN and executed (assuming a working ActiveSync connection).
  • Page 20 If you simply want to compile and execute the program on the CUWIN for testing without starting the debugger, it is possible to configure Visual Studio to do so with one click.
  • Page 21 2. Click the Commands tab, then the Debug category. Find “Start without debugging” and drag it to a convenient location on the toolbar.
  • Page 22 Debug and Release Mode Visual Studio projects are compiled with debugging routines by default. This adds to the final program size and reduces performance. Once your program has been fully tested, it should be compiled without debugging routines. It is possible to switch between Release and Debug modes by right-clicking on the project name in the Solution Explorer.
  • Page 23 3. Though the Solution Configurations item should now be on a toolbar, it is probably disabled. To enable, click Tools > Options in the menu bar 4. Choose the “General” section, and check the box for “Show advanced build configurations”.
  • Page 24 5. The Solution Configurations listbox should now be enabled. Debug and Release modes can now be selected easily.
  • Page 25 3.3 Visual C++ Development Notes Visual C++ development may be preferred by advanced developers. The following is a quick startup guide to allow developers to ensure the CUWIN environment is working correctly. 1. Click File > New Project on the menu bar.
  • Page 26 3. Click “OK”. The Application Wizard will be displayed as below, and will guide the process of selecting desired overall program behavior. After the Application Wizard completes, a framework application will be created for MFC application development. The MFC Library included in Windows CE is contains a subset of the functions available on a Windows PC environment.
  • Page 27: Usb Ports

    Please refer to Section 4.9, Saving the Registry. 4.2 USB Ports The CUWIN has one USB Host port and one USB Device port, both capable of USB Low and Full speed operation. The USB Host port (rectangular USB A-style connector) can be used to connect USB mice, keyboards, and Flash drives.
  • Page 28 Note: SD cards use FAT filestructure and may become fragmented with frequent use. This may reduce performance and increase the time required for the CUWIN to recognize the card. In this case, the SD card can be formatted on a PC with an SD slot.
  • Page 29: Internet Connection Settings

    4.5 Internet Connection Settings 1. Double-click “Network and Dial-Up Connections” in the Control Panel. 2. Double-click the CS89001 icon. A window will appear that allows selecting either DHCP or manual entry of DNS and IP settings. Note: if Control Panel settings are changed, the registry must be saved in order to allow the changes to persist over a power loss.
  • Page 30: Screen Saver

    3. Click on the “Advanced” button and check the box that enables the backlight to be enabled while on external power. If this option is not selected, the CUWIN will not return to an active display mode when the screen is touched. The warning about reduced battery life does not apply to the CUWIN.
  • Page 31: Touch Panel Calibration

    4.7 Touch panel calibration Note: Initial calibration is performed at the factory. If the screen needs to be recalibrated due to wear, using a stylus instead of a finger will result in a more accurate calibration. 1. Double-click on the “Stylus” Control Panel icon. 2.
  • Page 32: Memory Settings

    4.8 Memory settings 1. Double-click the “System” icon in the Control Panel and click the Memory tab. 2. Move the slider bar to adjust the memory available to programs. Note: if Control Panel settings are changed, the registry must be saved in order to allow the changes to persist over a power loss.
  • Page 33 4.10 Changing the MAC address The Cuwin has the default MAC address of factory setting, but it is desirable to modify it when you use many Cuwins under the same network. You can configure MAC address following these steps: 1. Click [Start] -> [Programs] -> [Command Prompt] 2.
  • Page 34: Installing Activesync

    5.0 ActiveSync ActiveSync uses the USB Device (square B-style plug) port to connect the CUWIN to a desktop computer for easy file transfer and application development/debugging. Visual Studio 2005, EVC++ 4.0, and NS Basic integrate with ActiveSync to provide one-click installation and execution of programs on the CUWIN, as well as remote configuration and debugging tools.
  • Page 35 3. A license agreement screen will appear. Click the radio button to accept the terms and click “Next”. 4. Type in some customer information. Click “Next”.
  • Page 36 5. If a different install location is required, adjust as necessary; otherwise, click “Next.” 6. ActiveSync will install as shown below.
  • Page 37 7. If the installation was successful, the following screen will be displayed. Click “Finish” to exit the installation program.
  • Page 38 5.2 Using the CUWIN with ActiveSync 1. Connect the CUWIN Device port to a USB port on a desktop PC with ActiveSync installed. CABLE CUWIN 2. The first time the CUWIN is connected, ActiveSync will ask to set up a partnership.
  • Page 39 3. ActiveSync should connect to the CUWIN and display the following window: If ActiveSync does not automatically connect when the CUWIN is plugged into the PC, right- click on the ActiveSync system tray icon and click “Connection Settings.” Make sure the settings are as below:...
  • Page 40 5.3 Accessing CUWIN Storage with ActiveSync With the CUWIN connected, click the “Explore” icon. User-accessible folders: ● Flash Disk: Contains non-volatile device storage that will persist between reboots, can contain user applications and data while power is off. This memory area has an upper limit on write cycles as all Flash memory does;...

Table of Contents