Download User manual - USconverters
Transcript
NPort IA5000A Series IP Serial LIB Overview What is IP Serial Library? IP Serial Library is a Windows library with frequently used serial command sets and subroutines. IP Serial Library is designed to reduce the complexity and poor efficiency of serial communication over TCP/IP. For example, Telnet can only transfer data, but it can't monitor or configure the serial line’s parameters. Why Use IP Serial Library? For programmers who are familiar with serial communication, IP Serial Library provides well-designed function calls that have the same style as Moxa’s PComm Library. IP Serial Library is amazingly simple and easy to understand. By including it in your VB, C, or Delphi programming environment, you can program your own TCP/IP application with the ability to control serial communication parameters. NPort IA5000A serial device servers use 2 TCP ports for communication between the NPort IA5000A and host computer’s Real COM driver. The NPort IA5000A uses a data port and command port to provide pure data transfer without decode and encode. Compared to using only one TCP port to control serial communication (such as RFC2217), IP Serial Library uses a command port to communicate with the NPort IA5000A in user’s program. IP Serial Library not only runs with excellent efficiency but also runs without any decode or encode problems. How to install IP Serial Library? IP Serial Lib comes with the NPort IA5000A Administration Suite. Refer to the IP Serial directory for more detail about the function definitions. IP Serial LIB Function Groups Server Control Port Control Input/Output Data Port Status Inquiry Miscellaneous nsio_init nsio_open nsio_read nsio_lstatus nsio_break nsio_end nsio_close nsio_SetReadTimeouts nsio_data_status nsio_break_on nsio_write nsio_break_off nsio_SetWriteTimeouts nsio_breakcount nsio_resetserver nsio_ioctl nsio_checkalive nsio_flowctrl nsio_DTR nsio_RTS nsio_lctrl nsio_baud nsio_resetport 7-2