Serial Port Problem - doesnt communicate between applications

Triska Gagné's icon

Hi !

So I'm currently having a problem with my new pc who seems to be unable to use two applications communicating by the same port.

I am not a programmer or anything like that, I'm just an artist who's doing some project using Arduino and Max MSP.

Usually, I would be able to send data from Max MSP to Arduino or from Arduino to Max MSP. I never had any issue with my old pc. However, with this new one, I cannot use the two applications at the same time. I can programm the Arduino to receive some data from Max, but I cannot open the appliction and look at the Serial Monitor what have been sent. And when programming, well I can only open one at the time cuz the other will send an error message.

I tried a serial splitter online (FabulaTech), but it doesn't seem to work.

Does anyone can help me with that ? What am I missing ?

sousastep's icon

I'm surprised you were able to connect to the same serial port with two applications on your old PC.

I thought it was a given that you can't have more than one app using the serial port at a time. At least that's the case with my 2012 and 2021 macbooks.

Triska Gagné's icon

Well the second application in simply the Arduino application.

Like shown in this video :

I want to be able to see what is written in the serial monitor, but I cant

sousastep's icon

For me, the Arduino apps always been blocked by Max, and vice-versa.

hence this note I added to my patch:

Source Audio's icon

nothing to do with max.

2 apps -> same serial port -> no way

with some rare configurations it might kind of work, but don't count on it.

Tomoe KOJIMA's icon

Hi!

I had a similar situation yesterday and was having trouble.

I was able to confirm that if I complete the write from the Arduino and drop the Arduino application, I receive the values from Max via serial communication.

I knew that opening the serial monitor interrupts the serial communication with Max, but since when do I have to drop the application as well... I feel inconvenienced!

Francisco Uberto's icon

hello,

I'm struggling a lot with serial object. I opened an old project of mine to run emg sensor data to max from arduino, and now I can't connect to the specific port as I used to back in the days. I'm running out of ideas about how to sort this issue out. Besides upgrading to max9, I also update OS since then.

Here's a short about what I did in 2022.

any ideas?

best,

Source Audio's icon

I am not watching any yout tube stuff.

Post your details if you want help.

emg sensor means nothing

what OS, what arduino ?