Contec IPC-PT/MV10 Series Software Manual

Hide thumbs Also See for IPC-PT/MV10 Series:
Table of Contents

Advertisement

IPC Series
IPC-PT/MV10 Series, IPC-PT/MV11 Series,
IPC-PT/MV15 Series, IPC-PT/MV16 Series,
IPC-PT/LS10 Series, IPC-PT/LS11 Series,
IPC-PT/LS15 Series, IPC-PT/LS16 Series,
IPC-PT/SV10DC1, IPC-PT/SV15DC1,
IPC-PT020LS-AC, IPC-BX/M10DC5
Windows CE .NET 4.2
Software Manual
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Contec IPC-PT/MV10 Series

  • Page 1 IPC Series IPC-PT/MV10 Series, IPC-PT/MV11 Series, IPC-PT/MV15 Series, IPC-PT/MV16 Series, IPC-PT/LS10 Series, IPC-PT/LS11 Series, IPC-PT/LS15 Series, IPC-PT/LS16 Series, IPC-PT/SV10DC1, IPC-PT/SV15DC1, IPC-PT020LS-AC, IPC-BX/M10DC5 Windows CE .NET 4.2 Software Manual CONTEC CO.,LTD.
  • Page 2 *1 (hereafter referred to as the SH4 CPU & .NET installed IPC series). For information related to this series’ hardware, refer to the Hardware Manual. *1 : IPC-PT/LS10 series, IPC-PT/LS11 series, IPC-PT/LS15 series, IPC-PT/LS16 series, IPC-PT/MV10 series, IPC-PT/MV11 series, IPC-PT/MV15 series, IPC-PT/MV16 series, IPC-PT/SV10DC1, IPC-PT/SV15DC1, IPC-BX/M10DC5, IPC-PT020LS-AC Software Manual...
  • Page 3: Copyright

    No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. CONTEC CO., LTD. makes no commitment to update or keep current the information contained in this document. The information in this document is subject to change without notice.
  • Page 4: Limited One-Year Warranty

    Limited One-Year Warranty CONTEC products are warranted by CONTEC CO., LTD. to be free from defects in material and workmanship for up to one year from the date of purchase by the original purchaser. Repair will be free of charge only when this device is returned freight prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office, from which it was purchased.
  • Page 5: Table Of Contents

    Table of Contents Introduction............................i Copyright ............................ii Trademarks ............................ii Limited One-Year Warranty......................iii How to Obtain Service........................iii Liability..............................iii Table of Contents..........................iv FEATURES OF THE WINDOWS CE .NET 4.2 BASIC OPERATION Run a program (Using TASKMAN) ....................3 Switching the Shell ..........................4 Run a program (Using SHELL)......................
  • Page 6 Manage boot action........................... 30 Boot action ..........................30 Boot Information ........................30 Version and system information....................... 31 Change the Title of the CONTEC Manager ..................32 NFDISK-RELATED PROCESSING ObjectStore files ..........................33 Object store Backup and Restore ....................33 Registry Backup and Restore ....................34...
  • Page 7 APPENDIX How to Develop Applications for Windows CE ................43 Development Environment ......................43 Development Machine Software Installation ................45 Set Target Machine IP Address ....................46 Checking the Connection between the Development and Target Machines......... (eMbedded Visual C++ 4.0) ...................... 47 Checking the Connection between the Development and Target Machines.........
  • Page 8: Features Of The Windows Ce .Net

    For information about available adjustments, see Chapter 6, “System Setting”. CONTEC Manager Supplies many remote maintain tools for use this series more easily. For the details about functions in “CONTEC Manager”, please refer to Chapter 7, “CONTEC Manager”. OBJECT STORE / REGISTRY BACKUP FUNCTION When any modification is made to a driver we have provided, this function allows you to modify the module without changing the Windows CE OS image (“NK.BIN”).
  • Page 9 1. Features of the Windows CE .NET 4.2 Software Manual...
  • Page 10: Basic Operation

    2. Basic operation 2. Basic operation Run a program (Using TASKMAN) The SH4 CPU & .NET installed IPC series has two shells : a simple shell (TASKMAN) and a Windows like shell (IESHELL). By default, TASKMAN is selected as the shell, so you need to take the following steps to execute an application.
  • Page 11: Switching The Shell

    2. Basic operation Switching the Shell To use IESHELL on the SH4 CPU & .NET installed IPC series, start the “System Setting” applet in the Control Panel(control.exe) to select the shell to be used. For details on “System Setting”, see Chapter 6 “System Setting”. Software Manual...
  • Page 12: Run A Program (Using Shell)

    2. Basic operation Run a program (Using SHELL) To execute an application with SHELL up and running, select the “Run” command from the Start menu and specify the application. 1. Press “Ctrl+Esc” hot key or “Start” button to pop up the start menu. Select the “Run…” menu; the “Run”...
  • Page 13 2. Basic operation 4. After you decide the program name, press the OK button. The specified program is started. Software Manual...
  • Page 14: Standard Drivers

    To switch between COM1 and COM2, see Chapter 6 “System Setting”.) - PCI serial board *1 By installing an additional CONTEC PCI serial board, you can use up to 10 ports including the serial ports in the main unit. (On the IPC-PT/LS10 series,...
  • Page 15 I/O IPC-PT/LS16 series, IPC-PT/MV10 series, IPC-PT/MV11 series, IPC-PT/MV15 series, IPC-PT/MV16 series) The supporting CONTEC serial boards are the COM-1(LPCI)H, COM-2(LPCI)H, COM-4(LPCI)H, COM-2(PCI)H, COM-4(PCI)H, COM-8(PCI)H, COM-2P(PCI)H, COM-2PD(PCI)H. Follow the following operating conditions only when the COM-8(PCI)H is used : - The COM number of the 10th port (CH8 on the COM-8(PCI)H) is not COM10 but COM0.
  • Page 16: On-Board Dip Switch Settings

    4. On-Board DIP Switch Settings 4. On-Board DIP Switch Settings This chapter describes how to adjust the on-board DIP switch settings. Refer to the hardware manual to access this DIP switch (SW2). The factory settings are shown below. Figure 4.1. DIP Switches - Factory Setting (SW2) CAUTION The on-board dip switch cannot be accessed according to the model.
  • Page 17: Dip Switches And Their Functions

    The SH4 CPU & .NET installed IPC series leaves a four-bit DIP switch open to the user. You can obtain bit information on this switch from the CONTEC interface library. For sample usage, refer to the Platform SDK on the bundled CD-ROM.
  • Page 18: Function Switch, Power Led And User Led

    5. Function switch, POWER LED and USER LED 5. Function switch, POWER LED and USER This chapter describes the functions switches the POWER LED and USER LED. Function switch Some of the .NET installed panel computers in the SH4 CPU & .NET installed IPC series are equipped with function switches.
  • Page 19: User Led

    The USER LED is included on the IPC-PT/SV10DC1, IPC-PT/SV15DC1 and IPC-BX/M10DC5. This three-color (green, red, and yellow) LED is available for use by the user and the LED color can be set via the CONTEC I/F library. Refer to the supplied CD-ROM (Platform SDK) for details. Software Manual...
  • Page 20: System Setting

    6. System Setting 6. System Setting Windows CE installed on the SH4 CPU & .NET installed IPC series has the “System Setting” icon in the Control Panel as the assorted setting tool to flexibly meet the user’s needs. CAUTION When you have made changes to system settings, you have to back up the registry to save the new settings to the system.
  • Page 21: System Setting Summary

    6. System Setting System Setting Summary CAUTION System settings may differ depending on the version. Refer to the supplied CD-ROM (Platform SDK) for the latest information. “Shell” Tab The “Shell” tab provides the following setting items. Setting tab Setting item Description Mini Shell (TASKMAN) Select a simple shell with no taskbar.
  • Page 22: Backlight" Tab

    6. System Setting “Backlight” tab The “Backlight” tab provides the following setting items. Setting tab Setting item Description Checking this check box turns off the backlight automatically. Darken backlight automatically (Default value : OFF) Backlight Set the time to turn off the backlight automatically. Darken after idle time.
  • Page 23: Input" Tab

    6. System Setting “Input” tab The “Input” tab provides the following setting items. Setting tab Setting item Description 101(USA Keyboard) Select this option if you use a 101-key keyboard. (Default) 106(JPN Keyboard) Keyboard Select this option if you use a 106-key keyboard. NumLock Check this check box to enable the Num Lock key upon startup.
  • Page 24: Panel" Tab

    Setting tab Setting item Description Size *1 This determines the screen size during the startup. Set as follows when the CONTEC LCD display with touch- panel is used. - VGA Display of VGA specification connecting by DVI - SVGA Display of SVGA specification connecting by DVI...
  • Page 25 6. System Setting Software Manual...
  • Page 26: Contec Manager

    CONTEC Manager can be destroyed by running its executive “wcemngr.exe” again with a command line argument “CONTEC”, that is “wcemngr CONTEC”. If you press “ESC” key or “ENTER” key to close the CONTEC Manager, it is really not destroyed, only hidden.
  • Page 27: Scheduling Program Execution

    7. CONTEC Manager Scheduling Program Execution Show CONTEC Manager, select the “Schedule” tab. Add a schedule Press “Add” button, the “Add Schedule” dialog box is shown. Set up the dialog content by your demand, press “OK” button or “Enter” key to confirm.
  • Page 28: Add Schedule" And "Set Schedule" Dialog Box

    The program is run only once at designated date and time. “System Start” The program is run every time the CONTEC manager is started. For the CONTEC Manager is normally auto-launched at system start, so the setting program is run every time the system starts. If the program’s run timing is set as “System start”, it can be selected to run depend on other programs.
  • Page 29 7. CONTEC Manager Setting “Designated” Mode Select “Designated” radio button in “Run Timing” group box. The current date time is displayed in the “Date and Time” edit boxes and combo boxes in the “Start Time” group box. Checking the “Random Start from xx:xx to yy:yy” option executes the program at a random time between xx:xx and yy:yy.
  • Page 30 7. CONTEC Manager Setting “System Start” Mode Select “System Start” radio button in “Run Timing” group box. There are two “System Start” modes. “Delay” mode : This mode allows you to specify the time from when the system starts up to when a specified program runs by setting a delay time in the “Start...
  • Page 31 7. CONTEC Manager Setting “Every Hour” Mode Select “Every Hour” radio button in “Run Timing” group box. Input the start minute in the “Minute” edit box. Check the hours wanted to set in the hour list box. You can check multiple hours.
  • Page 32 7. CONTEC Manager Setting “WeekDay” Mode Select “WeekDay” radio button in “Run Timing” group box. This mode allows you to designate days of the week and specify a time in the edit box to run the program on the designated days every week at the specified time.
  • Page 33 7. CONTEC Manager Setting “Every Week” Mode Select “Every Week” radio button in “Run Timing” group box. This mode sets the day of the week and the time for the specified program to be run every week. For example, Select “Monday”, and input time “8:30”, the program will be run at 8:30 every Monday.
  • Page 34 7. CONTEC Manager Setting “Every Month” Mode Select “Every Month” radio button in “Run Timing” group box. This mode allows you to designate a date and time in the “Day” edit box to run the specified program at the specified time on the specified date every month.
  • Page 35: Loading Services

    Remote Control Server To load “Remote Control Server” service, check the “Start Remote Control Server” check box. If the Remote Control Server Function is started, the “CONTEC Remote Manager” can control the Windows CE device. AutoRun Function To load “AutoRun” service, check the “Start Auto Run Function” check box.
  • Page 36: Manage The User Information

    Manage the user information Show CONTEC Manager, select the “UserInfo” tab. The user information is used in CONTEC services, such as “FTP Server”, “Remote Control Server”, as “Windows CE Terminal Server”. Only the user listed the “User List” can access CONTEC servers.
  • Page 37: Manage Boot Action

    Control Panel or Registry Editor, cold-boot the device with this option checked. If you have not checked this check box when you cold boot, the CONTEC manager will not backup the registry, all the changed setting in the CONTEC manager will be lost after the cold boot!!!.
  • Page 38: Version And System Information

    7. CONTEC Manager Version and system information Show CONTEC Manager, select the “Version” tab. Version information : The CONTEC Manager’s version, BIOS Version, Kernel Version is displayed here. Motherboard information : The PCB number and FPGA production date are displayed here.
  • Page 39: Change The Title Of The Contec Manager

    7. CONTEC Manager Change the Title of the CONTEC Manager By default, the title of the CONTEC Manager is “CONTEC”. You can change the content of the title by modifying the registry. Table 7.1. Registry Key and value : [HKEY_LOCAL_MACHINE\Ident]...
  • Page 40: Nfdisk-Related Processing

    8. NFDisk-related Processing 8. NFDisk-related Processing The SH4 CPU & .NET installed IPC series has onboard NAND Flash ROM (hereafter abbreviated NF) mounted as NFDisk to be accessible from within Windows CE .NET 4.2. The system uses part of NFDisk to save the registry (REG3.bin) and ObjectStore files (\NFDisk\Update).
  • Page 41: Registry Backup And Restore

    The settings are lost unless backed up. To save them, therefore, be sure to back up the registry. Backup Registry To back up the registry, invoke CONTEC Manager, select the “BOOT” tab, check the “Backup Registry when cold boot” check box, then press the [Cold Boot] button to restart the system.
  • Page 42: Force Reset Functions

    9. Force Reset Functions 9. Force Reset Functions When you set something different to support by using [System settings panel] or NFDisk is damaged and so could not boot, the system can be reset to the default state by using the forced reset. To perform a force reset, switch the power on while push the “Reset”...
  • Page 43 9. Force Reset Functions Software Manual...
  • Page 44: Bios Update Function

    The SH4 CPU & .NET installed IPC series is capable of updating the BIOS when it is upgraded. To update the BIOS, take the following steps. 1. Start the system and use CONTEC Manager to check the version of the current BIOS. 2. Copy new BIOS data to the NFDisk’s root directory.
  • Page 45 10. BIOS Update Function Software Manual...
  • Page 46: Emergency Boot Function

    11. Emergency Boot Function 11. Emergency Boot Function The SH4 CPU & .NET installed IPC series has duplicated BIOSes (normal BIOS and emergency BIOS) for BIOS protection purposes. With the dual-BIOS architecture, the system can be restarted by booting from the emergency BIOS even if the normal BIOS develops a problem.
  • Page 47 11. Emergency Boot Function Software Manual...
  • Page 48: Auto Run Function

    If user wants to use Auto-Run function, the “Start AutoRun Function” check box in “Service” tab of “CONTEC Manager” must be checked. Note! If status of the “Start AutoRun Function” check box in “Service” tab of “CONTEC Manager” is changed, it will be take effect at the next the system is booted. Software Manual...
  • Page 49: Method To Set Autorun.inf

    12. Auto RUN Function Method to set AutoRun.inf For using auto-run function, the AutoRun.inf file must be described in following formation. Command Description Wait for value designated time period. The unit is millisecond. Value For example, to wait for a second, set 1000. #wait Depend If “Depend”...
  • Page 50: Appendix

    13. Appendix 13. Appendix How to Develop Applications for Windows CE Development Environment For the SH4 series with Windows CE .NET 4.2 installed, the following development languages can be used to develop applications: eMbedded Visual C++ 4.0 Visual Studio .NET 2003 - Visual Basic and Visual C# can be used as Net Compact Framework development languages.
  • Page 51 Visual C++ 4.0 Service Pack 3 Downloadable from http://www.microsoft.com/downloads/details.aspx?FamilyID=5bb36f3e-5b3d-419a-9610-2 fe53815ae3b&displaylang=en SDK for CONTEC Platforms (abbreviated as 'CONTEC SDK' in following article) <Visual Studio .NET 2003> Visual Studio .NET 2003 Windows CE Utilities for Visual Studio .NET 2003 Add-on Pack Downloadable from http://www.microsoft.com/downloads/details.aspx?FamilyId=7EC99CA6-2095-4086-B0CC-...
  • Page 52: Development Machine Software Installation

    Visual C++ 4.0 Installation 2. eMbedded Visual C++ 4.0 Service Pack 3 Installation 3. CONTEC SDK Installation If you want to uninstall the above software, uninstall each software in the reverse order. If any files remain after uninstall, please delete them manually.
  • Page 53: Set Target Machine Ip Address

    6) The IP address has been changed by now; if you want to remember the change even you re-boot the device. Please follow the next steps. 7) Press “CTRL+ALT+DEL” hot key to pop up “CONTEC Manager”, check the “Backup Registry when cold boot” checkbox, and press “Cold boot” button to reboot the device.
  • Page 54: Checking The Connection Between The Development And Target Machines

    13. Appendix Checking the Connection between the Development and Target Machines (eMbedded Visual C++ 4.0) 1) Start eMbedded Visual C++ (eVC++) on the development machine. 2) Select “Tools” “Configure Platform Manager” menu in eVC++. 3) Select [SH4V420R1 Device] as configuration device in [Windows CE Platform Manager Configuration] dialog box –...
  • Page 55 13. Appendix 4) The [Device Properties] dialog box pops up. Select [TCP/IP Transport for Windows CE] in the [Transport] combo box. Select [Manual Server] in the [Startup Server] combo box. 5) Select [Configure] button on the right side of the [Transport] part. The [TCP/IP Transport Configuration] dialog box pops up.
  • Page 56 13. Appendix 6) Select [Test] button at [Device Properties] dialog box. [Manual Server - Action] dialog box is displayed. 7) Start the control.exe on the target machine, according to the method described in Chapter2 “Basic operation of SH4 Series”. Software Manual...
  • Page 57 13. Appendix 8) [Connect to Platform Manager for TCP/IP] dialog box is displayed. Type IP address of the development machine into [Host IP Address and Port Number]. Type port number into [Port Number] that you entered in procedure 5. (If the [Exit] button is pushed, the IP address and port number will be saved to the registry, and the connect.exe will be end.
  • Page 58 13. Appendix 14) If the test result fails, the message [Establishing platform manager connection to device] will be displayed in [Testing Device Connection] dialog box in the development machine. Select [Cancel]. Check all the previous steps again. Check network equipment and so on. Retry this test procedure. 15) If the development machine fails to be connected to the target machine even after taking Step 14) above, change the port number to be used to a number (for example, 5100) other than 5000 (in the port number fields set in Steps 5) and 8) above) to retry connection.
  • Page 59: Checking The Connection Between The Development And Target Machines

    13. Appendix Checking the Connection between the Development and Target Machines (Visual Studio .NET 2003) 1) Run \Windows\SDAuthUtilDevice.exe on the target machine. According to Chapter2, “Basic operation of SH4 Series”, start SDAuthUtilDevice.exe on the target machine. 2) Click on [Start]. Software Manual...
  • Page 60 13. Appendix 3) Start Visual Studio .NET 2003 (it is hereafter abbreviated VS.NET) and then click on the [Smart Device Authentication Utility] from [Tools] menu of VS.NET. 4) Enter the IP address of target machine in [Device IP address] box. 5) Click on [Set Up Device], and you will see the following dialog box.
  • Page 61 13. Appendix 6) Set up the debugging environment. Click on [Options] from the [Tools] menu of VS.NET. 7) Click on [Device Tools] and then click on [Devices]. After that, select [Windows CE] in the [Show devices for platform] box. 8) Select [Windows CE .NET Device] from the [Devices:] list, then click on [Save As…]. Then, enter the new name in the box(in this case, the name is “CPUSH4P”) and click on [OK].
  • Page 62 13. Appendix 9) Click on [TCP Connect Transport] in the [Transport] box. 10) Click on the [Configure…]. (Click on the [Configure…] on the right of [Transport].) Click on [Use specific IP address] and then enter the IP address of target machine. 11) Click on [OK].
  • Page 63: Developing Applications By Embedded Visual C++4.0

    13. Appendix Developing Applications by eMbedded Visual C++4.0 Windows CE applications are developed by using eMbedded Visual C++ 4.0 ‘s Application Wizard. CAUTION Some APIs and MFC classes are not supported by Windows CE. 1) Start eVC++4.0 on the development machine. 2) Select [New] in [File] menu of eVC++4.0.
  • Page 64: Application Development Using Visual Studio .Net 2003

    13. Appendix Application development using Visual Studio .NET 2003 Develop an application for Windows CE using application wizard of Visual Studio .NET 2003 (it is hereafter abbreviated VS.NET). Both of Visual Basic and Visual C# can be used for developing Windows CE applications. This section explains how to use Visual Basic.
  • Page 65 13. Appendix 2) Click on [Visual Basic Projects] button. After “New Projects” windows is opened, select or enter from the following items and then click on [OK] button. Project types : Visual Basic Projects Templates : Smart Device Application Name : Enter the voluntary name (in this case, name is SmartDeviceApplication1). 3) Set the device to target, type of application to make out after the Smart Device Application Wizard is displayed.
  • Page 66 13. Appendix 4) Taking these steps completes preparations for creating Windows CE applications, invoking the development environment. 5) After that, Operate in the same way as desktop application development. In the [Device to deploy] field, select the device name entered in step 8) of “Checking the Connection between the Development and Target Machines”.
  • Page 67: Download Application

    13. Appendix Download application <eMbedded Visual C++ 4.0> In eMbedded Visual C++4.0 (eVC++4.0) after the application is built, it is automatically downloaded to the target machine by the default setting. If [Manual Server - Action] dialog box is displayed while downloading, please connect the development machine to the target machine by following the steps starting at step 7) of “Check Connection between Development Machine and Target Machine”.
  • Page 68: Using Remote Tools

    13. Appendix Using Remote Tools Microsoft development environments such as eVC++4.0, provide convenient tools such as the “Remote Registry Editor”. This allows the user to manipulate the registry of Windows CE when a Windows CE machine is connected to a development machine. This series also supplies these tools. Connecting the Development and Target Machines To use remote tools it is necessary to connect the development machine to the target machine, as in debugging.
  • Page 69: Faq

    However, the SH4 CPU & .NET installed IPC series requires a PS/2 keyboard/mouse splitter cable plugged into the PS/2 connector on the main unit. Check out the following URL for details. http://www.contec.co.jp/embsol/ It corresponds to IPC-PT/LS10 series, IPC-PT/LS15 series, IPC-PT/MV10 series, and IPC-PT/MV15 series. Q. Can I use a USB mouse/keyboard. A. Yes.
  • Page 70 Note, however, that the program specified here to be started must be located in the Windows directory since it cannot be defined by its full pathname. Also, by making use of the schedule function in “CONTEC Manager”, program can be started in a more complicated timing. Details please refer to the manual of “CONTEC Manager”.
  • Page 71: Development Edition

    Q. How can I use the user-open DIP switch on the SH4 CPU & .NET installed IPC series? A. Use the CONTEC I/F API (ContecIF.dll). For how to use the CONTEC I/F API, refer to the CONTEC I/F header file (ContecIF.h) found on the CD-ROM (CONTEC SDK) bundled with the product.
  • Page 72 IPC-PT/MV10 Series, IPC-PT/MV11 Series, IPC-PT/MV15 Series, IPC-PT/MV16 Series, IPC-PT/LS10 Series, IPC-PT/LS11 Series, IPC-PT/LS15 Series, IPC-PT/LS16 Series, IPC-PT020LS-AC, IPC-PT/SV10DC1, IPC-PT/SV15DC1, IPC-BX/M10DC5 Windows CE .NET 4.2 Software Manual IPC-SH4CE4-SME CONTEC CO., LTD. June 2007 Edition 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan Japanese http://www.contec.co.jp/ English http://www.contec.com/...

Table of Contents