cannot read the data from serial port at redhat
Date: 3 Nov 2004 15:45:44 -0800
Hi,
I wrote a program in Java to read external device's data thought
serial port. If the external device turn on after the pc booted up,
the program can get data from the serial port. But If the device is
turned on with the pc together, then the program can't get data from
the device. This program and the device can run well at windows. I am
not sure if it is OS issue or program issue. This is over my limited
knowledge. Welcome to any idea. Thanks in advance.
Raine
Relevant Pages
- Writing to serial port crashes MATLAB6p5
... I am in the process of trying to write a GUI that opens a serial port ... Current Java thread: ... Java 1.3.1_01 with Sun Microsystems Inc. Java HotSpotClient VM ... (comp.soft-sys.matlab) - Re: Writing to serial port crashes MATLAB6p5
... I am in the process of trying to write a GUI that opens a serial port ... I am transfering the file from MATLAB on one laptop (using ... Current Java thread: ... (comp.soft-sys.matlab) - Re: Serial Port API
... I am new to JAVA and thinking about using JAVA to control ... If you are comfortable with C, an practical approach is to write a user-space server with the minimum functionality needed to get bytes into and out of the serial port and talk to it from Java via a TCP/IP connection. ... The C should compile and run in any ANSI C environment that supports the pollfunction and would be easy enough to port to compilers that use select- e.g. the DJGPP gcc port for Windows. ... martin@ | Martin Gregorie ... (comp.lang.java.programmer) - Re: Help with : send "hello world" ASCII text to Linux serial port and read into a text file in java
... I have a linux v 2.4 box with serial port something like ttyS0. ... I have a java VM running. ... I think you should try opening the device special file and reading from it. ... two basic categories, character and block, and a tty is a character special ... (comp.lang.java.help) - Serial port using Java (Windows OS)
... I have to develop a Windows GUI using Java to control a HP spectrum analyser ... via the serial port. ... RS232 using Java? ... (comp.lang.java.programmer) |
|