Solved

How should I communicate with the serial (com2) port?

Posted on 2003-12-10
6
354 Views
Last Modified: 2010-05-18
I need a sampler program to send and retreive ASCII text to the serial (Com2) port.  Anyone got any suggestions?
0
Comment
Question by:erudyte
6 Comments
 
LVL 92

Expert Comment

by:objects
ID: 9917862
javacomm api
0
 
LVL 92

Assisted Solution

by:objects
objects earned 100 total points
ID: 9917865
http://java.sun.com/products/javacomm/

it contains some examples.
0
 
LVL 15

Accepted Solution

by:
Javatm earned 50 total points
ID: 9918316
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 2

Assisted Solution

by:Tols
Tols earned 50 total points
ID: 9918713
With sun commapi comes nice demo 'SerialDemo', it contains SerialConnection class I use as scheme for my applications with serial comunication.
0
 
LVL 1

Assisted Solution

by:cavalmi
cavalmi earned 50 total points
ID: 9921141
You may also want to look the serial port package available at:
at http://www.sc-systems.com/
0
 
LVL 92

Expert Comment

by:objects
ID: 10077925
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now