V2416 Series WinXP Embedded User’s Manual First Edition, April 2011 www.moxa.com/product © 2011 Moxa Inc. All rights reserved. Reproduction without permission is prohibited.
V2416 Series WinXP Embedded User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright ©2011 Moxa Inc. All rights reserved. Reproduction without permission is prohibited. Trademarks The MOXA logo is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents 1. Introduction ...................................................................................................................................... 1-1 Overview ........................................................................................................................................... 1-2 Software Specifications........................................................................................................................ 1-2 Application Development Environment .
1 1. Introduction Thank you for purchasing the Moxa’s V2416 x86 ready-to-run embedded computers. This manual introduces the software configuration and management of V2416 computers running the Windows Embedded Standard 2009 operating system. For hardware installation, connector interfaces, setup procedures, and upgrading the BIOS, please refer to the V2416 Hardware User’s Manual.
V2416 WinXP User's Manual Introduction Overview V2416 embedded computers come with four RS-232/422/485 serial ports, making it ideal for connecting a wide range of serial devices. The dual 10/100/1000 Mbps Ethernet ports offer a reliable solution for network redundancy, delivering continuous operations for data communication and management. As an added convenience, the V2416 computer has six DIs and two DOs for connecting digital input/output devices.
V2416 WinXP User's Manual • Introduction Distributed Transaction Coordinator (MSDTC) —A distributed transaction facility for Microsoft Windows systems, which uses transaction-processing technology. MSDTC exploits loosely coupled systems to provide scalable performance. • Enhanced Write Filter—An upper filter in the storage device driver stack that redirects disk write operations to volatile (RAM) or non-volatile (disk) storage. • Event Log—A dynamic-link library (DLL) that runs as part of Services.
V2416 WinXP User's Manual • Introduction Dial-Up Networking—Provides the infrastructure necessary to implement a Remote Access Service (RAS) client. • Microsoft-Windows-HTTP—Services that implement the functionality of the HTTP protocol on a server.
V2416 WinXP User's Manual Introduction Inserting a USB Mass Storage Device into the Computer Inserting a USB mass storage device will generate a new drive on the V2416-XPE. The new drive should be visible in the File Explorer. Inserting a CF Card in the Computer Note that the V2416-XPE computer is shipped with a CompactFlash card already inserted and the Windows Embedded Standard 2009 platform installed.
V2416 WinXP User's Manual Introduction Inserting SATA hard disks into a V2416 Computer The V2416-XPE computer offers two removable disk trays that can be fit two SATA hard disks for storage expansion. Before installing hard disks, make sure that the computer is powered off. Insert the SATA hard disk devices will create new disks in the V2416-XPE. You should see it in the File Explorer. You can also find the hard disks in the computer management screen.
V2416 WinXP User's Manual Introduction NOTE: The V2416 embedded computer supplies only 5V DC power for 2.5 inch SATA hard disks. If you want to use a 3.5 inch hard disk, you will need to use an external power supply for your SATA hard disk. Four RS-232/422/485 Serial Ports The serial ports of the V2416-XPE computer from button to top are named “COM1” to “COM4” COM1 to COM4 are RS-232/422/485 serial ports. Each of these ports supports baudrate settings of up to 921.6 Kbps.
V2416 WinXP User's Manual Introduction printf("\t (3) Set DOUT value\n"); printf("\t (4) Display both DIN and DOUT\n"); sin=getwchar(); n=_wtoi(&sin); do { switch (n) { // if char == '1', display the digital input case 1: //Open dio hDIO=mxdio_open(); for(int i=0;i<=5;i++) { //Get digital input port_no=i; intDin=mxdio_get_din(hDIO,port_no); printf("Din%d = %d\n",port_no,intDin); } //Close DIO mxdio_close(hDIO); break; // if char == '2', display the digital output case 2: //Open dio hDIO=mxdio_open(); for(
V2416 WinXP User's Manual Introduction if(!nDout) { printf("Set digital output fail!\n"); } else { printf("Set digital output success!\n"); } //Close DIO mxdio_close(hDIO); break; case 4: // if char == '4', Get both digital input and digital output //Open dio hDIO=mxdio_open(); for(int i=0;i<=5;i++) { //Get digital input port_no=i; intDin=mxdio_get_din(hDIO,port_no); if(intDin==-1) { printf("\n"); } else { printf("Din%d = %d ",port_no,intDin); } intDout=mxdio_get_dout(hDIO,port_no); if(intDout==-1) { prin
2 2. Software Configuration In this chapter, we explain how to operate a V2416-XPE computer directly or from a PC. Instructions are given on how to adjust the system time, troubleshoot network connectivity, and manage other functions. Some of these operations can be done with system commands after gaining access to the computer, and others can be done from the “Control Panel,” which is described in a later chapter.
V2416 Series Software Configuration Starting Your V2416-XPE Computer Connect the CRT monitor or LCD monitor to the target computer, and then power it up by connecting it to the power adaptor. It takes about 30 to 40 seconds for the system to boot up. Once the system is ready, the Desktop will appear on your monitor. Resetting Your V2416-XPE Computer • Reset Button A Reset button is located on the front panel of V2416-XPE.
V2416 Series Software Configuration 2. Select Display Devices and choose the operation mode. Single Display: This option allows one display to be used. Dual Display Clone: This mode allows you to use two displays at the same time. Extended Desktop: This mode allows you to use extended desktop function. You may use two displays to extend your desktop. 3. Select Display Settings, you may configure Color Quality, Screen Resolution, and Refresh Rate compatible with your displays.
V2416 Series Software Configuration 4. Select Color Correction, you can adjust the color settings for your display. 5. You can also use hot keys to change your display settings. When finished, click Apply and then OK.
V2416 Series Software Configuration Changing the Network Settings The V2416-XPE computer comes with two network interfaces. Both of the default IP addresses are DHCP. Choose Start Control panel Network Connections to enter the network settings page. Select the connection and choose Properties on the pop-up menu by right-clicking. You can specify the IP address manually or by DHCP. In addition, you can disable or enable either one or both connections with the pop-up menu.
V2416 Series Software Configuration Adjusting the System Time • Setting the System Time Manually: Use the date/time command line utility to query the current • Date/Time Control panel: Go to the Control Panel and double click the Date and Time icon. system date/time or set a new system date/time.
V2416 Series • Software Configuration SNTP: In the Date and Time Properties window, you can see the NTP server setting. Starting and Stopping Services Select Start Control Panel Administrative Tools and double click Services. Select and right-click on the service name, and then choose to stop or start. Simple Network Management Protocol (SNMP) To check SNMP agent capabilities on a target V2416-XPE (e.g., suppose the network IP is 192.168.3.
V2416 Series Software Configuration Remote Desktop (RDP) You can connect to the target V2416-XPE computer remotely by using Remote Desktop. Right-click My Computer on your desktop, and select Properties. Click the Remote tab for further configuration. Make sure that the Allow users to connect remotely to this computer checkbox is selected. Next, click Select Remote Users, and add the users allowed to connect to your desktop. When finished, click OK.
V2416 Series Software Configuration Serial Ports The V2416-XPE computer offers 4 serial ports, which can run RS-232, RS-422 or RS-485 serial interface. From Control Panel System Hardware Device Manager, click Ports (COM & LPT), you can see the four serial ports named COM1, COM2, COM3, and COM4. Right-click the port you would like to configure, and then select Properties. Select Port Settings tab, you can configure the serial port settings, such as interface, baudrate, (supports up to 921.
V2416 Series Software Configuration Enhanced Write Filter The “Enhanced Write Filter” protects the contents of a volume on the target media volume by redirecting all writes to another storage location called on overlay. Use the following steps to enable the Enhanced Write Filter. 1. Type EWFMGR C: to check if the state of the Enhanced Write Filter is Disabled. 2. To enable the filter, type EWFMGR C: -enable. 3. Reboot the system to activate the change. 4.
V2416 Series Software Configuration 3. When the system has rebooted, type fbwfmgr /displayconfig in the command prompt again to confirm thatthe status has been changed to enabled. The default folder for FBWF will be \temp. Type fbwfmgr /help for more detailed information. C:\> fbwfmgr /displayconfig File-based write filter configuration for the current session: filter state: enabled. overlay cache data compression state: disabled. overlay cache threshold: 64 MB. overlay cache pre-allocation: disabled.
V2416 Series Software Configuration HDD Hot Swap Function Configuration The V2416-XPE computer comes with two removable and hot-swappable disk trays. Each tray includes an LED indicator and a button; both can be user-defined and programmed. See the following sections for detailed instructions on the Hot-swapping function for the computer.
V2416 Series Software Configuration When a new hard disk is inserted, the system will automatically detect the hard disk and have it plugged into the system. Handle the LED action: The LEDs are blinking when the hard disks are writing or sending data. Handle the disk capacity action: When the storage use exceeds the limit set in the customizable settings, the LED will continuously blink to notify the user. The default setting is 90% disk utilization.
V2416 Series Software Configuration 1. Right-click the mxhtspd icon at the bottom right of the screen and then select Setting. 2. In the setting page, select the letter from the drop-down list for the specific hard disk. When finished, click OK to complete. Please note that if the disk has been split into several disk partitions, just specify the first main drive letter. For example, if the disk in Disk 1 has been split as Disk D, Disk E, and Disk F, just set the Drive Letter as D.
V2416 Series Software Configuration Each script corresponds to a specific action. For example, when you press the Disk 1 button, the action_btn1_press_short.vbs will be activated and the action pre-defined in the script will be executed. The script action_btn1_press_long.vbs is activated when you press the button longer than 3 seconds. Each script is defined as follows: action_btn1_press_short.
V2416 Series Software Configuration Checking the Log File The event of status or error will be logged into the log file in the directory C:\Program Files\MOXA\mxhtsp\log. Each log file is tagged with date, and the events are logged with date and time.
3 3. Management Tools The V2416-XPE ready-to-run embedded computers are shipped with the Windows Embedded Standard 2009 operating system already installed. This network-centric platform is designed to serve as a front-end for data acquisition and industrial control applications. A set of Windows XP management tools are installed on the V2416-XPE computer to resolve management issues.
V2416 Series Management Tools Computer Management [Control Panel] [Administrative Tools] Computer Management. You can use the tools for a variety of tasks, such as disk partition, disk mount/dismount, and create/remove users. You can also check services in the Computer Management window. Component Services [Control Panel] [Administrative Tools] Component Services. You can install/view/remove COM components with this tool. Event Viewer [Control Panel] [Administrative Tools] Event Viewer.
V2416 Series Management Tools Internet Information Services (Web/FTP) [Control Panel] [Administrative Tools] Internet Information Services. If you need to set up Web or FTP, you must use this tool for configuration purposes, and you can also start/stop HTTP/FTP services. A default web page is located in the directory c:\Inetpub. Use this default page to test your web server. Follow the steps shown below to create the virtual directory. 1.
V2416 Series Management Tools 3. Type the alias into the text box. Click Next to continue.
V2416 Series Management Tools 4. When you complete the steps, the virtual directory WEB will appear under Default WEB Site. 5. On your desktop, type [IP Address]/WEB/Default.htm (e.g., 192.168.1.127/WEB/Default.htm). The following message will appear. The steps are indicated in the following sequence of diagrams.
V2416 Series Management Tools 6. If you need to use the FTP server, you must create the default password for your account and turn on the write permission on your home directory located in c:\intepub\ftproot. Select FTP Sites Default FTP Site Properties Home Directory, and checkmark the Write checkbox. You should now be able to transmit files through the ftp server.
V2416 Series Management Tools This database source configuration tool is for users to add, delete, or set up the data source, and then display information about the installed ODBS drivers. You can create a new data source or trace the calls to ODBC functions. Performance Monitor [Control Panel] [Administrative Tools] Performance. You can use this tool to monitor system and network resources.
V2416 Series Management Tools (e.g. If you do not need telnet service you can stop it and set the “startup option” to “manual”.
4 4. System Recovery The V2416-XPE ready-to-run embedded computers are a Windows Embedded Standard 2009 platform. This chapter describes the recovery process in the event of system instability.
V2416 Series System Recovery Recovery Environment The environment includes a V2416-XPE embedded computer and a bootable USB disk with the recovery programs and system image file. Hardware The hardware used includes a PC, a V2416-XPE computer and a USB disk with the recovery programs. (Note: The USB disk should be at least 2GB.).
V2416 Series System Recovery Click Browse and select the folder you wish to install to and then click Next. Click Next to start the installation. Click Close to finish.
V2416 Series System Recovery Step 2: Extract Recovery Image from PC to USB disk After the installation is complete, you will see the XPeRecovery shortcut on your desktop. You can start the USB disk recovery utility by opening this shortcut. Double-click the shortcut then click OPEN to select the image file. This file is located on the software CD in the recovery folder, and the filename is V24xx_V1.0_Build_yymmddhh.wim. You may also copy this file to your PC.
V2416 Series System Recovery This message will appear when the process is complete. Click OK. Step 3: Change the BIOS Settings On the V2416-XPE computer, you need to change the BIOS settings to boot from USB disk. Turn on the computer and press DEL to enter the BIOS setup menu. Select Hard Disk Boot Priority and press Enter. Select USB disk and then press “+” to make it the first boot device. Warning: Incorrect boot disk priority will lead to recovery failure.
V2416 Series System Recovery ATTENTION Please note that some USB disks will be regarded as the Removable Device. If it happens, see the following steps. a. Select Removable Device Priority. b. Make sure that the USB disk has been detected. Press Esc to exit.
V2416 Series System Recovery c. Make sure that the First Boot Device is Removable. If not, select First Boot Device, press Enter and select it from the list. d. Select Exit Save & Exit Setup and then press Enter. e. Choose Y to save to the CMOS and then exit. Step 4: Reboot the Computer and Start Recovery Insert the USB disk on any USB port of the V2416-XPE, and then reboot the computer.
V2416 Series System Recovery Click OK when the recovery process is complete and system will reboot. Step 5: Change the BIOS Setting to Boot from Original Disk. Now, you need to change the boot priority so that it can boot from the original disk. As the system reboots, press DEL to enter BIOS setup menu. Select Hard Disk Boot Priority and press Enter. Make sure that the hard disk has first boot priority. Press F10 and then press Enter to save and leave the BIOS settings.
V2416 Series System Recovery Step 6: Reboot the Computer. Remove the USB disk from the USB port before restarting and rebooting the V2416-XPE. You need to wait for about ten to fifteen minutes while the system recovers. DO NOT power off or shut down the computer during this time or the IIS service will be terminated. When the operating system has successfully launched, you need to restart your computer so that the new settings can be activated.