All Discussions Tagged 'communication' - Codetown2024-03-30T07:32:54Zhttps://codetown.com/forum/topic/listForTag?tag=communication&feed=yes&xn_auth=noUsing rs-232 in a java desktop applicationtag:codetown.com,2011-05-27:2197786:Topic:224972011-05-27T15:54:34.859ZPaul Stearnshttps://codetown.com/profile/PaulStearns
<p>Hello all:</p>
<p> </p>
<p>I am fairly new to the Java world and would like some advice on how to handle rs-232 communications with a Java based GUI I am working on. Several years ago I created a similar GUI with Visual Basic, but my coding skills are a bit rusty and I never got the communication thing completely figured out. I could send command strings easy enough, but I had trouble getting responses and processing them quickly.</p>
<p> </p>
<p>The current GUI is to control an RGB…</p>
<p>Hello all:</p>
<p> </p>
<p>I am fairly new to the Java world and would like some advice on how to handle rs-232 communications with a Java based GUI I am working on. Several years ago I created a similar GUI with Visual Basic, but my coding skills are a bit rusty and I never got the communication thing completely figured out. I could send command strings easy enough, but I had trouble getting responses and processing them quickly.</p>
<p> </p>
<p>The current GUI is to control an RGB lighting system. It has some sliders, some radio buttons, and a few check boxes. When the sliders move a command string needs to be sent out. It will have to happen quickly so that the change in light level is smooth. When the radio buttons and check boxes are clicked, single commands will have to be sent out.</p>
<p> </p>
<p>I would also like to be able to handle any responses sent back from the controller. When the sliders are moved, there will be a lot of comm traffic coming back to the GUI. I sure this will require a buffer of some kind, but I am not sure how to set it up.</p>
<p> </p>
<p>Once I get the rs-232 option up and running, I need to look at communicating with the light controller via an Ethernet connection.</p>
<p> </p>
<p>Any advise or assistance would be appreciated.</p>
<p> </p>
<p> </p>
<p>Paul Stearns</p>