Overview; Ip Serial Lib Function Groups - Moxa Technologies NPort 5200A Series User Manual

Hide thumbs Also See for NPort 5200A Series:
Table of Contents

Advertisement

NPort 5200A Series

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.
The NPort 5200A uses 2 TCP ports for communication between the NPort 5200A and host computer's Real COM
driver. The NPort 5200A 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 RFC 2217), IP Serial
Library uses a command port to communicate with the NPort 5200A from the user's program. IP Serial Library
not only runs with excellent efficiency but also runs without any decode or encode problems.
How do I install IP Serial Library?
IP Serial Lib comes with the NPort Administration Suite. Refer to the IPSerial directory for more detail about the
function definitions.

IP Serial LIB Function Groups

Server Control
nsio_init
nsio_end
nsio_resetserver
nsio_checkalive
Port Control
Input/Output Data
nsio_open
nsio_read
nsio_close
nsio_SetReadTimeouts
nsio_ioctl
nsio_write
nsio_flowctrl
nsio_SetWriteTimeouts
nsio_DTR
nsio_RTS
nsio_lctrl
nsio_baud
nsio_resetport
Port Status
Inquiry
nsio_lstatus
nsio_data_status
7-2
IP Serial LIB
Miscellaneous
nsio_break
nsio_break_on
nsio_break_off
nsio_breakcount

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nport 5200a-tNport 5200a

Table of Contents