Advantech UNO-1251G User Manual

Windows embedded compact7 software manual
Hide thumbs Also See for UNO-1251G:

Advertisement

Quick Links

User Manual
UNO-1251G
Windows Embedded Compact7
Software Manual

Advertisement

Table of Contents
loading

Summary of Contents for Advantech UNO-1251G

  • Page 1 User Manual UNO-1251G Windows Embedded Compact7 Software Manual...
  • Page 2 No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. How- ever, Advantech Co., Ltd.
  • Page 3: Declaration Of Conformity

    This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
  • Page 4 UNO-1251G Software User Manual for WEC7...
  • Page 5: Table Of Contents

    Figure 1.12Status of My Connection ..........6 Figure 1.13Selected Control Panel..........7 Figure 1.14Selected RAS Server..........7 Figure 1.15 Advantech RAS Server Configuration (General) ..7 Figure 1.16Advantech RAS Devices ..........8 Figure 1.17Advantech RAS Server Configuration (Logon Security) Figure 1.18Advantech RAS Server Configuration (Users) ... 9 Figure 1.19Save Registry Setting ..........
  • Page 6 Figure 1.43FTP Users ..............31 1.8.6 Telnet Server ................32 Figure 1.44Telnet Server............32 1.8.7 Security..................33 Figure 1.45Add/Modify Users ............. 33 Figure 1.46Add/Modify Shares ........... 33 1.8.8 Printer ..................33 Figure 1.47 Add/Modify Printer........... 33 UNO-1251G Software User Manual for WEC7...
  • Page 7: Chapter 1 Advanced Applications

    Chapter Advanced Applications This Chapter will provide detailed explanations of the UNO-1251G’s Advanced Applications Sections include:  Networking  ActiveSync Connection  Remote Access Configuration  Autorun Configuration  Application Development Proce- dure  Saving Your Settings  Create SD Card for booting ...
  • Page 8: Networking

    Networking This section shows how to re-configure the IP of the UNO-1251G to meet your net- work configuration. The procedure is listed below step by step. Press Start in the task bar of Windows and select Setting / Networking and Dial-up Connections.
  • Page 9: Remote Access Server Configuration

    Remote Access Server Configuration UNO-1251G provides “Remote Access Services” which offer the possibilities for remote networks and users to have TCP/IP access to local mail servers, access to a database, web servers or other Intranet services. The following description introduces how to set the dial-up and dial-in configuration.
  • Page 10: Figure 1.7 Selected A Modem

    Setup the device according to the specification of the modem and press Next >. Figure 1.7 Selected a Modem Enter the telephone number in the “Phone Number” window. Click the Finish button to complete the dial-up configuration. Figure 1.8 Enter the Telephone Number UNO-1251G Software User Manual for WEC7...
  • Page 11: Figure 1.9 Dial-Up Connection

    Connection in this case), and it will pop up the Dial-Up Connection dialog box. Enter your user name / password and then press Dial Properties. Figure 1.9 Dial-up Connection Figure 1.10 Dialing Properties 5 UNO-1251G Software User Manual for WEC7...
  • Page 12: Figure 1.11Dialing Patterns

    Area Code, please enter “F” or “f” Number, please enter “G” or “g” Figure 1.11 Dialing Patterns Double click My Connection Status and press Connection button to build a PPP connection. Figure 1.12 Status of My Connection UNO-1251G Software User Manual for WEC7...
  • Page 13: Figure 1.13Selected Control Panel

    Double click the RAS Server icon in Control Panel. Figure 1.14 Selected RAS Server Select the General tab in the Advantech RAS Server Configuration box. Select Enable RAS, Use Static IP Address and enter a specified IP in Static IP Address blank.
  • Page 14: Figure 1.16Advantech Ras Devices

    Select the Input Lines tab in the Advantech RAS Server Configuration box. Click Add button to setup the input line according to the available RAS device. Figure 1.16 Advantech RAS Devices Select the Logon Security tab in the Advantech RAS Server Configuration box.
  • Page 15: Figure 1.18Advantech Ras Server Configuration (Users)

    RasConfig dialog window. Press Yes button to save the registry setting to the storage card. Figure 1.19 Save Registry Setting RAS configuration procedure is complete and you can access UNO-1251G via a remote device. 9 UNO-1251G Software User Manual for WEC7...
  • Page 16: Auto-Run Configuration

    This document introduces how to execute applications automatically when you boot UNO-1251G up. Auto-run Configuration Procedure Press Start on the task bar and select Programs / Advantech / Configuration Utility. Figure 1.20 Selected Configuration Utility Go to the Misc tab in Advantech Configurator dialog box.
  • Page 17: Figure 1.22Select The Program

    The program and its path will show the below dialog window. Figure 1.23 Add Program Success The Configuration Utility will add the selected program in Auto-Run. Press OK to fin- ish the configuration. 11 UNO-1251G Software User Manual for WEC7...
  • Page 18: Application Development Procedure

    Before you begin to develop your application, you must install Microsoft Visual Studio 2008 first. Insert UNO-1251G SD card into the USB slot in the host PC. Install UNO-1251G Software Development Kit for Visual Studio 2008 from the below path:...
  • Page 19: Figure 1.25Selected Sdk For Uno-1251G

    Select “UNO-1251G” in the main window of Visual Studio. Figure 1.25 Selected SDK for UNO-1251G After you complete the above configuration procedure, you can start to develop your application. Press Build/ Build Solution to compile your program to an .exe file and download it to UNO-1251G.
  • Page 20: Watchdog Timer

    1.4.2 Watchdog Timer There is a built-in watchdog timer in UNO-1251G. Users can utilize the WDT driver with standard WIN32 API to implement the watchdog function in their applications. To use the watchdog driver, firstly users must open “WDT1:”, then use the DeviceIO- Control function to access the watchdog hardware.
  • Page 21 9. IOCTL_WDT_GET_REBOOT_STATUS: Get the status of the Watchdog is triggered by itself or not lpInBuffer: unused. nInBufferSize: unused. lpOutBuffer: The DWORD pointer to the status of your Watchdog re-boot setting. nOutBufferSize: unused. 15 UNO-1251G Software User Manual for WEC7...
  • Page 22 NULL, the DeviceIoControl function makes use of the variable pointed to bylpBytes- Returned. After such an operation, the value of the variable is without meaning. . lpOverlapped [in] Ignored; set to NULL. . Return Values UNO-1251G Software User Manual for WEC7...
  • Page 23 GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if ( g_hWDT != INVALID_HANDLE_VALUE ) { printf("Createfile Success \r\n"); DWORD dwTemp; DWORD m_dwChipsetType; UINT m_nTimerSpanIndex; UINT m_nEnableStatus; nIndex; // get the chip type of watchdog timer. 17 UNO-1251G Software User Manual for WEC7...
  • Page 24 NULL, NULL); // Activate timeout reboot DeviceIoControl(g_hWDT, IOCTL_WDT_REBOOT, NULL, 0, NULL, 0, NULL, NULL); //Refresh the watchdog timer DeviceIoControl(g_hWDT, IOCTL_WDT_STROBE, NULL,0, NULL,0, NULL, NULL); //disable watchdog timer DeviceIoControl(g_hWDT, IOCTL_WDT_DISABLE, NULL, NULL,0, NULL, NULL); CloseHandle(g_hWDT); UNO-1251G Software User Manual for WEC7...
  • Page 25: Saving Your Settings

    Saving Your Settings Once you made changes for UNO-1251G, you may need to save Windows CE sys- tem Registry to SD card to keep your settings. See the Registry Saving section for detail. Press Start on the task bar and select Programs / Advantech / Registry Saver.
  • Page 26: Create Sd Card For Booting

    There are three steps. First, select the SD Card drive which is detected if you inserted the SD Card. Second, select “MLO” file. Third, select “EBOOTSD.nb0” and “NK.nbl”. And then press the Proceed button. UNO-1251G Software User Manual for WEC7...
  • Page 27 A display message will notify you whether the SD Card has been formatted com- pletely. Press the OK button and then close the Formatting SD Card utility. Start to copy files to the SD Card. A display message will show you the debug output. 21 UNO-1251G Software User Manual for WEC7...
  • Page 28 Three files (MLO, EBOOTSD.nb0, and NK.nbl) were in SD Card already. Add new Folder and rename “WINCE”, and then move “NK.nbl” into the WINCE folder. UNO-1251G Software User Manual for WEC7...
  • Page 29: Updating Image & Bootloader

    1. Update automatically Insert the external SD card that includes the image file (path:\MLO, EBOOTST.nb0, and NK.nbl). Connect the power connector to UNO-1251G. The window below will display if updating MLO or EBOOTST.nb0 is a success. Figure 1.29 Update MLO/ EBOOTSD.nb0 The window displays as below while updating NK.nbl.
  • Page 30: Figure 1.31My Device In Uno-1251G

    (External SD card) inside. Storage Card (External SD Card) is the image file source, while HardDisk (Internal Storage) is the destination. Figure 1.31 My Device in UNO-1251G There are three files needed for image and bootloader updating (MLO, EBOOTST.nb0, and NK.nbl).You need to copy them to an SD card before the updat- ing process.
  • Page 31: Figure 1.32Delete Documents And Settings In Harddisk

    (Internet). 1.8.1 Network Administration The following steps introduce how to connect to UNO-1251G via a standard browser, and configure UNO-1251G’s network setting remotely. Launch a browser (for instance, Chrome), and enter UNO-1251G’s IP address as below, IP address/remoteadmin Instance: 10.0.0.1/remoteadmin...
  • Page 32: Figure 1.33 Windows Ce Remote Management Tool

    1251G for the first time. Figure 1.33 Windows CE Remote Management Tool You can set the password in WinCE's Setting / Control Panel / Password. See Fig- ure 1.34 for reference. Figure 1.34 Password Properties in Windows CE UNO-1251G Software User Manual for WEC7...
  • Page 33: Figure 1.35 Gateway Resetting

    Connect to UNO-1251G and the system will ask you to enter a user name and password. After authorization, you will enter the Windows CE networking setup page. Figure 1.35 Gateway Resetting Note! The default username is ADMIN. 27 UNO-1251G Software User Manual for WEC7...
  • Page 34: Network Setting

    Figure 1.36 Remote Admin Note! You also can also find the device name in WinCE's Setting / Control Panel / System device name tag. See Figure 1.37 for reference. Figure 1.37 System Properties in Windows CE UNO-1251G Software User Manual for WEC7...
  • Page 35: Smb Server Statistics

    Add/Del Network Adapter allows you to add/remove shares. Figure 1.39 The Add/Del Network Adapter 1.8.4 SMB Server Statistics The SMB server statistics allows you to view server information. Figure 1.40 The SMB Server Statistics 29 UNO-1251G Software User Manual for WEC7...
  • Page 36: Configure Ftp Server

    1.8.5 Configure FTP Server The FTP server accepts ftp connections and allows UNO-1251G to be configured remotely. Basic Configuration You can set the following items in the Basic Configuration field.  FTP Server Enabled- Will the FTP server accept incoming connections? ...
  • Page 37: Figure 1.42 The Ftp Server Virtual Roots

    You can configure a separate home directory for each user by appending the user’s name to the home directory. Denying read permission to a user, denies complete access to the FTP server for that user. Figure 1.43 FTP Users 31 UNO-1251G Software User Manual for WEC7...
  • Page 38: Telnet Server

    1.8.6 Telnet Server The telnet server accepts telnet connections and allows UNO-1251G to be config- ured remotely. Telnet Server Configuration  Server Enabled- Will the telnet server accept incoming connections?  Require Authentication- Will the telnet server prompt for user name and pass-...
  • Page 39: Security

    1.8.7 Security You can add/delete users and share in security. Figure 1.45 Add/Modify Users Figure 1.46 Add/Modify Shares 1.8.8 Printer You can add/delete a printer here. Figure 1.47 Add/Modify Printer 33 UNO-1251G Software User Manual for WEC7...
  • Page 40 No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permis- sion of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd. 2016...

Table of Contents