asiavoices
Programmer
Hello again all,
I know that this has somewhat been covered in the forum before but just wanted some more clarification on my inquiry.
I have just started to learn java and to keep me interested, I've decided to use Java for a project at work. My project involves building an application that would send text commands to an equipment via their serial ports (RS-232 9 & 15 pin) using a null modem cable.
To simplify and start off with my project, I would like to design an extremely simply program where I could send messages to the port, listen, capture and parse the text string response back from the equipment and store them into a text file.
I knwo that this can be done in Java. I've heard that Java isn't good for manipulating hardware but I'm not really. I would just like to send a string command to the port, listen for the response and save the responses.
Any ideas how I could best approach this?
Thanks,
Christopher
I know that this has somewhat been covered in the forum before but just wanted some more clarification on my inquiry.
I have just started to learn java and to keep me interested, I've decided to use Java for a project at work. My project involves building an application that would send text commands to an equipment via their serial ports (RS-232 9 & 15 pin) using a null modem cable.
To simplify and start off with my project, I would like to design an extremely simply program where I could send messages to the port, listen, capture and parse the text string response back from the equipment and store them into a text file.
I knwo that this can be done in Java. I've heard that Java isn't good for manipulating hardware but I'm not really. I would just like to send a string command to the port, listen for the response and save the responses.
Any ideas how I could best approach this?
Thanks,
Christopher