Moxa V2401-CE Руководство по программной части (Windows) онлайн [13/61] 170746
![Moxa V2402-T-LX Руководство по программной части (Windows) онлайн [13/61] 170752](/views2/1199424/page13/bgd.png)
V2401/2402 WinXP User’s Manual Introduction
1-10
*/
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");
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<=3;i++)
{
//Get digital input
port_no=i;
intDin=mxdio_get_din(hDIO,port_no);
printf("Din%d = %d\n",port_no,intDin);
}
//Close DIO
Содержание
- First edition february 2010 1
- V2401 2402 series 1
- Winxp embedded user s manual 1
- Www moxa com product 1
- Copyright notice 2
- Disclaimer 2
- Technical support contact information www moxa com support 2
- Trademarks 2
- V2401 2402 series winxp embedded user s manual 2
- Table of contents 3
- Introduction 4
- Application development environment 5
- Overview 5
- Software specifications 5
- Networking and communication capabilities 7
- How to determine firmware build versions 8
- Supporting services and daemons 8
- Inserting a usb mass storage device into the computer 9
- Inserting an cf card in the computer 10
- Inserting a sata hard disk into a v2400 computer 11
- Digital input output channels 12
- Four rs 232 422 485 serial ports 12
- Eight rs 232 serial ports v2401 only 16
- Software configuration 24
- Resetting your v2401 2402 xpe computer 25
- Starting your v2401 2402 xpe computer 25
- Changing the lvds settings 26
- Changing the network settings 28
- Operating your v2401 2402 xpe computer with a telnet client 29
- Adjusting the system time 30
- Starting and stopping services 31
- Remote desktop rdp 32
- Simple network management protocol snmp 32
- Serial ports 33
- Enhanced write filter 34
- File based write filter 34
- Management tools 37
- Computer management 38
- Component services 39
- Event viewer 40
- Internet information services web ftp 41
- Odbc data source administrator 48
- Performance monitor 49
- Services 50
- System recovery 51
- Recovery environment 52
- Recovery procedure 52
Похожие устройства
- Moxa V2401-CE Руководство по программной части (Linux)
- Moxa V2401-CE Технические характеристики
- Moxa V2401-CE Руководство по быстрой установке
- Moxa V2401-LX Инструкция по эксплуатации
- Moxa V2401-LX Руководство по программной части (Windows)
- Moxa V2401-LX Руководство по программной части (Linux)
- Moxa V2401-LX Руководство по быстрой установке
- Moxa V2401-LX Технические характеристики
- Moxa V2401-XPE Инструкция по эксплуатации
- Moxa V2401-XPE Руководство по программной части (Windows)
- Moxa V2401-XPE Руководство по программной части (Linux)
- Moxa V2401-XPE Руководство по быстрой установке
- Moxa V2401-XPE Технические характеристики
- Moxa V2402-CE Инструкция по эксплуатации
- Moxa V2402-CE Руководство по программной части (Windows)
- Moxa V2402-CE Руководство по программной части (Linux)
- Moxa V2402-CE Руководство по быстрой установке
- Moxa V2402-CE Технические характеристики
- Moxa V2402-LX Инструкция по эксплуатации
- Moxa V2402-LX Руководство по программной части (Windows)