D. RS232/422/485 Serial port Command and Function

Hardware Support:
0. PCCOM PCI 2 PORT RS232/422/485 Card
1. PCCOM PCI 4 PORT RS232/422/485 Card
2. PCCOM PCI 8 PORT RS232/422/485 Card

Command and Function:
public SerialPort(String pt, int br, int db, int pc, int fc, int sb) throws IOException
Pt - port name: for example: "/dev/ttyS0"
    PCCOM PCI 2 port card from /dev/ttys4/ to /dev/ttys5/
    PCCOM PCI 2 port card from /dev/ttys4/ to 
Br - baud rate: for example, 115200, 38400, 9600, 4800, 2400, 1200, ...etc.
Db - data bits: for example, 8, 7

Pc - parity check:  EVEN_PARITY, 
ODD_PARITY, 
SPACE_PARITY, 
NO_PARITY

Sb - stop bit: STOP_BIT_1,
STOP_BIT_2

Back to main manual
Prepare JAVA Development Environment
Write your program
Digital I/O Command and Function
RS232/422/485 Serial Communication Command and Function
12 bit Data Acquisition Card Command and Function
Video Image Input Command and Function
Sample Code
Compile your JAVA Class application program
Upload your application program
Start and Stop run your application program
Tranzview System