open-ephys-plugins / network-events

Adds TTL events via a network connection
4 stars 4 forks source link

Sending TTL w/ Binary Format #1

Closed markschatza closed 3 years ago

markschatza commented 4 years ago

Hello!

I added the TTL functionality awhile ago. It seems that it isn't working with Binary file format or with the new record node. Not sure if it's a network events issue or a binary format issue. The message events are going through, but the TTL events are not being triggered.

jsiegle commented 4 years ago

This is likely related to an issue with the underlying Record Node connections that we're in the process of fixing. @medengineer, can you test out this use case?

jsiegle commented 3 years ago

This should be fixed in the latest test binaries: https://dl.bintray.com/open-ephys-gui/Test/

Can you check if it's working now?

markschatza commented 3 years ago

I don't think so? I used v0.5 and then used the plugin installer to install network events. I then sent ttl events over (which show up in the message area in the plugin gui). When I load in the structure.oebin file through load_open_ephys_binary I get the correct number of events. But the channelindex is 1 for all of them so I think they are just mesage events, but not the ttls. I'm sending one ttl event to each of the 8 channels.

medengineer commented 3 years ago

Hi Mark,

Are you using a similar chain as below? It should also work with a NetworkEvents module going into a Record Node by itself.

NetworkEventsWithMerger

markschatza commented 3 years ago

Oh I see. Yep, I get exactly that. My problem was I didn't understand exactly how to use the load_open_ephys_binary() function. I wasn't changing the index based on my signal chain. Updated the index and works great.

Thanks for clarifying! :)