Sg2.9
Java Bridge / SerialPortEvent...
Recent RSS
Java Bridge / SerialPortEventListener
From:  Thijs Gadiot
Date:  29. May 2008, 00:43

Hey all,

I'm trying to get the eventListener for incoming serial data to work, a kind person on the rhino newsgroup supplied me with the following code.

port.addEventListener(new gnu.io.SerialPortEventListener( { serialEvent: function( serialPortEvent ) { print("yay"); }} ) );

although the serial communication is working properly, I can send and receive data, the serialEvent is never triggered.

Thanks in advance!

Scripts
26.04.12, 16:05
19.04.12, 16:54
07.04.12, 16:17
05.04.12, 00:49
15.03.12, 13:02
14.02.12, 19:00
Posts
17.05.12, 11:04
15.05.12, 02:38
15.05.12, 01:51
12.05.12, 00:54
11.05.12, 05:26
09.05.12, 21:16
Script of the Moment
Variator 08.01.12
Donation

If you use Scriptographer regularly or for commercial purposes, please consider making a donation via PayPal:

Thank you!