User`s manual

V2416 WinXP User's Manual Introduction
1-7
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 “COM4COM1 to COM4
are RS-232/422/485 serial ports. Each of these ports supports baudrate settings of up to 921.6 Kbps.
Digital Input/Output Channels
The V2416 provides six digital input and two digital output channels. You can set the operation mode by
programming; the example “DIO” can be found under \examples\C++\ of the Software DVD.
The code snippet is as follows:
/*
index[n]: 0 ; BIT 0
1 ; BIT 1
2 ; BIT 2
3 ; BIT 3
....
data[n]: 0 ; Digital LOW
1 ; Digital HIGH
*/
unsigned int hDIO;
unsigned int port_no;
int data;
int intDout,intDin;
int nDout=0;
int port=0,mode=0;
int n=0;
WCHAR sin,smode;
printf("UART Mode Test Program\n");
printf("\t (0) Exit Program\n");
printf("\t (1) Display DIN\n");
printf("\t (2) Display DOUT\n");