Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Serial Implementation

Posted on 2004-08-29
11
Medium Priority
?
220 Views
Last Modified: 2010-03-31
I'm making a program that's going to interface with Cisco Catylist 2950 switches. Basically what it does is sends/receives user input, easy enough huh? Doesn't seem to be the case for me. I can't quite figure out how to send/receive the right data.

The switches are connected to the computer via a serial port on COM1.

Even just a start would be great... A complete solution will receive 500 points.

Please help, if you need more information just ask.
0
Comment
Question by:liquidpro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
11 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 11924914
What protocols are being used? (Web link?)
0
 

Author Comment

by:liquidpro
ID: 11924926
For all I know it directly communicates with it, using 9600 baud rate on the COM1 port, 8 data bits, no parity, one stop bit, and hardware flow control
0
 

Author Comment

by:liquidpro
ID: 11924927
Actually I take that back, it uses no flow control
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 11924930
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11924938
>>Try this

I'd assumed that was being used already - maybe not ;-)

>>For all I know it directly communicates with it

Yes, but how? *Are* you using javacomm? What protocol is used to communicate with it - i.e. what are you sending it and what are you receiving from it?
0
 

Author Comment

by:liquidpro
ID: 11924940
I have looked at that but it is <b>extremely</b> complicated to use.... there has to be an easier way to do it
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 500 total points
ID: 11924945
No other way of communicating with serial port in 'modern' Windows + Java AFAIK
0
 

Author Comment

by:liquidpro
ID: 11924964
Well then looks like I'll be doing that...

I will be giving you both 100 points, as you did not give me a complete solution (code, etc.), I still have to do the work, haha. But, it seems like you're still getting a deal, because you just had to look up a web link.

Thanks for the help, I appreciate it.
0
 

Author Comment

by:liquidpro
ID: 11924967
Well I guess I can't just give you guys 100 points... looks like you'll both be getting 250.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11924976
:-)
0
 
LVL 35

Expert Comment

by:girionis
ID: 11926093
:)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

636 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