We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpElectronics,  Serial Library › Problem with Port in ARDUINO/Processing
Page Index Toggle Pages: 1
Problem with Port in ARDUINO/Processing (Read 1475 times)
Problem with Port in ARDUINO/Processing
Jan 13th, 2010, 8:44am
 
Hello,
I am sending some data over serial from Processing to ARDUINO.
When I try to open the serial Monitor of Arduino to read the data I get the message that my port is already being used...and this makes sense. I am using in both processing and ARDUINO COM4 when I have one platform on the other conflicts and does not work.It depends what I open first, then the other application does not work.
Any advice?
Thank you
Re: Problem with Port in ARDUINO/Processing
Reply #1 - Jan 13th, 2010, 12:22pm
 
Instead of opening it exclusively in Arduino monitor, try using a serial port "sniffer"

As an example, RealTerm has such a function.
Re: Problem with Port in ARDUINO/Processing
Reply #2 - Jan 14th, 2010, 6:21am
 
@romank
But Realterm's "spy" (if that's what you meant by "sniffer") function is not included in the free version.

@CyberCulture
What is the purpose of the "other application" opening up the serial port again?

If you just want to see the data (and NOT send data) portmon by sysinternals might help. Realterm's "spy" function is similar.

If you want to send data, then you have a problem. You want two applications sharing the same serial port.

If you know how to create simple network programs (sockets, etc) funnel might be good for you.

(use google) funnel.cc/Software/Processing

funnel acts as a server and takes control of the serial port. All programs that want to use the serial port should communicate with funnel using sockets (locally, or via the network). Uses Firmata protocol to control the Arduino.
Page Index Toggle Pages: 1