Moxa Technologies NPort 1220 Win32 API Function Compatible List, Test function Test Flag

Page 30

Win32 API Function Compatible List

Windows 98

Test function

Test Flag

 

 

1. PurgeComm

PURGE_TXABORT

 

PURGE_RXABORT

2. ClearCommBreak()

 

3. SetCommBreak()

 

4. ClearCommError

cbInQue

 

cbOutQue

5. EscapeCommFunction

SETDTR

 

SETRTS

 

SETXON

 

SETXOFF

 

SETBREAK,CLRBREAK

6. GetCommMask

EV_BREAK

 

EV_CTS

 

EV_DSR

 

EV_ERR

 

EV_RING

 

EV_RLSD

 

EV_RXCHAR

 

EV_RXFLAG

 

EV_TXEMPTY

7. GetCommModemStatus()

 

8. SetCommMask

EV_CTS

 

EV_DSR

 

EV_RLSD

 

EV_RXCHAR

 

EV_RXFLAG

 

EV_TXEMPTY

10. SetCommState

BaudRate

 

Parity, ByteSize, StopBits,fParity

 

ErrorChar,fErrorChar

 

fNull

 

fRtsControl=RTS_CONTROL_DISABLE

 

fRtsControl=RTS_CONTROL_ENABLE

 

fDtrControl=DTR_CONTROL_DISABLE

 

fDtrControl=DTR_CONTROL_ENABLE

 

FDsrSensitivity=TRUE

11.SetCommTimeouts

ReadIntervalTimeout

 

WriteTotalTimeoutMultiplier

 

WriteTotalTimeoutConstant

13. HWFlowContrl()

dcb.fRtsControl=RTS_CONTROL_HANDSHAKE

14. CloseHandle()

 

15. ReadFile()

 

A-2 NPort 1220/1240 USB-to-Serial Hub User’s Manual

Image 30
Contents NPort 1220/1240 USB-to-Serial Hub User’s Manual Copyright Notice Page Table of Contents Introduction Package Checklist Product FeaturesOverview Product Specifications NPortGross Weight 215 ±5 g 0.48 lb Panel Layout Dimensions DIP Switch SettingsWire RS-422/485 Page Driver Installation Installing the Driver Driver Installation Select klsibus.inf, and then click Open Click OK to continue Driver Installation NPort 1220/1240 USB-to-Serial Hub User’s Manual Driver Installation Instructions below Checking the Installation Configuring the Ports WindowsWindows 2000/XP Uninstalling the Driver Serial Programming Tools PComm Installation PComm Programming LibraryUtilities Diagnostic for Moxa boards only Monitor for Moxa boards under Windows NT OnlyTerminal Emulator Technical Reference Win32 API Function Compatible List Test function Test FlagTechnical Reference General Technical Reference QuestionService Information Moxa Internet Services Following services are providedProblem Report Form Moxa NPort 1220/1240Product Return Procedure Revision History