Trying to send photometry info to matlab using UDP

165 views
Skip to first unread message

Joe Banning

unread,
Nov 11, 2021, 5:47:43 PM11/11/21
to Bonsai Users
Hi there,

I'm trying to write a program that sends photometry data to matlab using udp and osc.

When I try and send the photometry data, I get the following error:
 "The specified connection name has no matching configuration."

Strangely, while I can't send photometry data, I can send simpler data successfully. For example, I've been able to send a single integer using these nodes. It seems that the error has something to do with the type of data I'm sending.

Does anyone know what this error means exactly?

Best,
Joe

p.s. Attaches is an image of my current workflow.
Capture2.PNG

jonathan...@gmail.com

unread,
Nov 12, 2021, 7:40:35 AM11/12/21
to Bonsai Users
Hi,

I've not used the Open Sound Control stuff, but maybe this will be helpful (scoll down for bonsai part): https://open-ephys.github.io/gui-docs/User-Manual/Plugins/Ephys-Socket.html

It works with Mat objects. You would need to replace the open ephys gui with some matlab script that opens and reads from a UDP socket.

- Jon

Spencer Blackwood

unread,
Nov 16, 2021, 2:57:19 PM11/16/21
to Bonsai Users
Hello,

The UdpSend node must be above the SendMessage node in the signal chain, otherwise this error happens. Compare yours to the OscSend example file. This error tripped me up for a little bit too, but it has a simple fix.

- Spencer

Reply all
Reply to author
Forward
0 new messages