how do I repair broken send/receive

mharter's icon

I have a subpatch where the send/receive pairs stopped working and my normal trick of paste replace isn't working. The pop-up shows the links, but no integers (or any other data) get through. I am directly patching them now so that I can keep moving forward, but it looks pretty messy with all the patch lines everywhere. I'm worried that other subpatches might go south, so I'd love to know how others have dealt with this.

Thanks so much!

mharter's icon

I have created new send objects and typed the same names in, they not only show the links in the pop-up, but they also pass data like they should. It seems that something got corrupted and then sorted out once this was done.

Interesting...onwards.

Emmanuel Jourdan's icon

Could you post an example? Is there anything printed in the Max window?

seejayjames's icon

also, if it happens again, does it get fixed if you restart Max? Could be a clue as to what's happening.

mharter's icon

I've been keeping an eye out for a repeat of this, and it did happen again once. I couldn't reproduce it. I think it might have to do with arguments to this subpatch. I found that if I tried defining the arguments as #1 #2 41 passing 2 args from grandparent) I had trouble with send receives. Defining then as #1 41 and the adding an inlet for the other data worked.

example:
[send #2_message]--------[r #2_message]

I am now switching to using #0 for all my send/receives and going through inlets/outlets for data going between sibling subpatches.

Thanks again and I wish I had a solid way to reproduce the issue I had.