Arduino Maxmsp Serial Conflict

Hi all.

Here is the thing.

If i open a patch, then plug the arduino uno board via usb, and then open Serial object, evething works fine. But if a have the arduino pluged in and then open the patch, i cant open serial port: ¨Error opening serial port¨.

Ive try delaying the opening of the port a few seconds, but doesnt seem to be a timing thing.

Any idea helps

Thnaks.

Moris526: i cant open serial port: ¨Error opening serial port¨.

Are you getting this error in Max MSP or in the Arduino IDE?

In fact is in Max for Live, Max MSP for Ableton Live

More data

With Arduino Pluged in. If I load a patch with ¨Serial c 9600¨ Gives error, but....

If I create a new patch and create the Serial object, then it connects..

Correction:

When i load the patch it opens the port. When I open the patch to edit it disconects the serial

Are you talking about https://cycling74.com/. If so, there is a Max forum that might be able to help.

Moris526: When i load the patch it opens the port. When I open the patch to edit it disconects the serial

Not familiar with that software. After disconnection, it can't connect any longer till you close the patch and load it again?