background image

13. Appendix

                                                                                                                                                     

Software Manual

57

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.

1) Start the VS.NET using the development machine.

Содержание IPC-BX/M10DC5

Страница 1: ...T 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 NE...

Страница 2: ...after 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...

Страница 3: ...have been considered in the preparation of this document Should you notice an omission or any questionable item in this document please feel free to notify CONTEC CO LTD Regardless of the foregoing st...

Страница 4: ...vice has been tampered with or damaged through abuse mistreatment neglect or unreasonable use or if the original invoice is not included in which case repairs will be considered beyond the warranty po...

Страница 5: ...S CE NET 4 2 1 2 BASIC OPERATION 3 Run a program Using TASKMAN 3 Switching the Shell 4 Run a program Using SHELL 5 3 STANDARD DRIVERS 7 4 ON BOARD DIP SWITCH SETTINGS 9 DIP Switches and Their Function...

Страница 6: ...g services 28 Manage the user information 29 Add a user 29 Update a user s information 29 Delete a user 29 Manage boot action 30 Boot action 30 Boot Information 30 Version and system information 31 Ch...

Страница 7: ...arget Machines eMbedded Visual C 4 0 47 Checking the Connection between the Development and Target Machines Visual Studio NET 2003 52 Developing Applications by eMbedded Visual C 4 0 56 Application de...

Страница 8: ...e onboard NAND Flash as its disk your application can be copied onto NFDisk Quick boot This series employs the XIP memory loading boot function for faster startup about 10 seconds and operation WATCH...

Страница 9: ...1 Features of the Windows CE NET 4 2 2 Software Manual...

Страница 10: ...ime ALT Tab to invoke TASKMAN Task Manager 2 When TASKMAN has been started press the Run button to open the Run dialog box When you know the name of a desired program enter its full pathname in the Op...

Страница 11: ...al 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 Sett...

Страница 12: ...t button to pop up the start menu Select the Run menu the Run dialog box pops up 2 Input the program s name directly in the Open combo box or press the Browse button to select the program When the Bro...

Страница 13: ...2 Basic operation 6 Software Manual 4 After you decide the program name press the OK button The specified program is started...

Страница 14: ...LS15 series IPC PT LS16 series IPC PT MV10 series IPC PT MV11 series IPC PT MV15 series IPC PT MV16 series Installing the additional PCI serial board requires the optional single slot expansion unit f...

Страница 15: ...T LS16 series IPC PT MV10 series IPC PT MV11 series IPC PT MV15 series IPC PT MV16 series 1 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 C...

Страница 16: ...on board DIP switch settings Refer to the hardware manual to access this DIP switch SW2 The factory settings are shown below ON 1 2 3 4 5 6 7 8 ON OFF Figure 4 1 DIP Switches Factory Setting SW2 CAUT...

Страница 17: ...t in the DIP switch as doing so may cause faults Setting SW2 3 to ON message output outputs debug messages to the COM1 port You can switch the debug message output port to COM2 by changing the setting...

Страница 18: ...On the NET installed panel computer pressing the F1 and F2 keys together 2 decreases the brightness of the backlight of the LCD F1 F3 On the NET installed panel computer pressing the F1 and F3 keys t...

Страница 19: ...D 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...

Страница 20: ...ave made changes to system settings you have to back up the registry to save the new settings to the system The changes you made to most of the system settings take effect the next time you start rest...

Страница 21: ...tems Setting tab Setting item Description Shell Mini Shell TASKMAN Select a simple shell with no taskbar Default Explorer Shell IESHELL Select the shell with the taskbar and Start menu as in desktop v...

Страница 22: ...etting tab Setting item Description Darken backlight automatically Checking this check box turns off the backlight automatically Default value OFF Darken after idle time min Set the time to turn off t...

Страница 23: ...Checking this check box enables the PS 2 port Default ON If your system has a PS 2 port you can use the PS 2 keyboard and mouse by making this setting Note It takes a bit longer to start up the syste...

Страница 24: ...fication connecting by IPC SHCL 2T SVGA IPC SHCL 2T Display of SVGA specification connecting by IPC SHCL 2T When the other LCD display or CRT is used select the type VGA or SVGA suitable for those siz...

Страница 25: ...6 System Setting 18 Software Manual...

Страница 26: ...nager Normally CONTEC Manager is not shown it can be brought to foreground by pressing hot key combine ALT ESC or CTRL ALT DEL or by running its executive wcemngr exe again Close CONTEC Manager Press...

Страница 27: ...tails about setting up the dialog refer to Add Schedule dialog box Delete a schedule Select the schedule wanted to delete in the schedule list Press the Delete button Set property of a schedule Select...

Страница 28: ...arted 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...

Страница 29: ...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 Even whe...

Страница 30: ...er the system starts up For example when 00 01 is set the specified program runs one minute after the system starts up Dependent mode This mode allows you to run a specified program in a dependent man...

Страница 31: ...0 and the minute is 30 then the program will be run at every 8 30 16 30 and 0 30 every day Random Start from to 59 function If you check the Random Start from to 59 check box the program will be start...

Страница 32: ...oup 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 For example Check Monday Wednes...

Страница 33: ...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...

Страница 34: ...15 in the Day edit box input 8 30 in time edit box The program will be run at 8 30 o clock 15th every month Random Start from to 59 function If you check the Random Start from to 59 check box the prog...

Страница 35: ...ice AutoRun Function To load AutoRun service check the Start Auto Run Function check box If the AutoRun Function is started when an ATA card or Compact Flash Card is inserted into the card slot the Au...

Страница 36: ...User information includes user name and password User name and password are 8 characters string Add a user Input user name in the Name edit box input password in the Password and Re Password edit box...

Страница 37: ...l 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 setti...

Страница 38: ...on Kernel Version is displayed here Motherboard information The PCB number and FPGA production date are displayed here NFDisk information The total capacity of NFDisk and the size of its free space ar...

Страница 39: ...hange the content of the title by modifying the registry Table 7 1 Registry Key and value HKEY_LOCAL_MACHINE Ident Item Data Type Description OEMName REG_SZ Input the wanted title here for example DAI...

Страница 40: ...dware manual for details ObjectStore files Object store Backup and Restore Restore ObjectStore To update the standard module in NK BIN store the update module in the NFDisk Update directory At startup...

Страница 41: ...e 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 t...

Страница 42: ...erform a force reset switch the power on while push the Reset button of the SH4 CPU NET installed IPC series and release the Reset button when the lighting of ACCESS LED in case of the PANECON PC the...

Страница 43: ...9 Force Reset Functions 36 Software Manual...

Страница 44: ...onds Note The new BIOS is being programmed into EEPROM when the POWER LED is blinking that way After a while the POWER LED blinks in green at intervals of about one second This state indicates that th...

Страница 45: ...10 BIOS Update Function 38 Software Manual...

Страница 46: ...ction 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 To perform emergency booting or to boot the SH4...

Страница 47: ...11 Emergency Boot Function 40 Software Manual...

Страница 48: ...effective tool to use in the above situation CAUTION While the Auto Run function has been working for an ATA card it does not work for any other ATA card containing AutoRUN inf even when the other car...

Страница 49: ...e includes blank include the file name between two quotation marks storage card test1 exe a b c wait depend command wait for the previous command to end wait depend Run test2 exe in the Windows direct...

Страница 50: ...56 MB recommended CD ROM drive VGA or higher resolution monitor SVGA 800 x 600 or more is recommended Mouse or a compatible pointing device Hard disk drive with a free space of at least 200 MB Network...

Страница 51: ...Although it can be either the DHCP or fixed IP environment the IP address of the development machine is required for connection to the target machine Software Development tool eMbedded Visual C 4 0 eM...

Страница 52: ...ded 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 plea...

Страница 53: ...operation of SH4 Series 2 Start Network and Dial up Connection at the control panel Double click on the PCI DP838151 icon 3 Select Specify an IP Address at IP address tab of PCI DP838151 Settings dial...

Страница 54: ...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 i...

Страница 55: ...t 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 di...

Страница 56: ...al 49 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 Basi...

Страница 57: ...will unable to exit If you really want to exit push the X button on the right top corner 9 Select OK at Manual Server Action dialog box of the development machine 10 Press the Connect button at Conne...

Страница 58: ...5 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 numb...

Страница 59: ...ection 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 SDAuthUtilD...

Страница 60: ...ck 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...

Страница 61: ...ols 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 o...

Страница 62: ...he 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 You can now...

Страница 63: ...tart eVC 4 0 on the development machine 2 Select New in File menu of eVC 4 0 New dialog box is displayed 3 Enter Project name and Location just like Windows 95 98 NT application projects 4 Select a pr...

Страница 64: ...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 T...

Страница 65: ...ic 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 Dev...

Страница 66: ...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 Che...

Страница 67: ...n download an application to the target machine by clicking on Deploy solutions or Deploy xxxxx in the Build menu Debug Application Windows CE debugging is done remotely You can debug applications by...

Страница 68: ...te tools it is necessary to connect the development machine to the target machine as in debugging This process uses the same procedure described in Chapter 13 of this manual Appendix Application Devel...

Страница 69: ...USB mouse keyboard A Yes The HID driver is standard with the system Plug the USB mouse keyboard cable into the USB connector Only when the USB mouse is used the mouse pointer appears automatically as...

Страница 70: ...name Dependxx REG_BINARY A dependency describes the dependency by the identification number Binary type in order of execution of the application specified by Launch in order to start a program when an...

Страница 71: ...ument Q Is there any way to debug a driver I have created A Setting SW2 3 to ON causes the SH4 CPU NET installed IPC series to output debug messages You can use System Setting in the Control Panel to...

Страница 72: ...s 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 Chinese htt...

Отзывы: