-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TTL Word option to store integer event codes #6
Comments
Hi @joschaschmiedt, Yes, currently it is not possible to send TTL words directly via Network Events. But, you're on the right track. It should be able to receive and add TTL word events if you implement your mentioned changes. The You can see an example of how to use that method in the Feel free to ask any further questions! |
Hi @anjaldoshi, Thanks for the hint. I implemented the new I also fixed the windows GitHub pipeline. Would you mind enabling the GitHub Actions on this repository? |
I updated my PR for the implementation of the I have a remaining design question. The new overload for TTL words
While this is correct, it is a bit redundant and potentially confusing for a user analyzing the data. Do you have an opinion on this? |
Hi everyone,
I've just started working with OpenEphys and am setting up a new neuropixels lab. So far, I'm really happy with the customizability and design of OE! Thanks to all the developers.
Our experimental control software produces 16-bit integer codes for events, which we previously have sent as digital words to our recording systems. I'd like to be able to send these codes also via the Network Events plugin.
At the moment the
TTL [Line=1-256] [State=0/1]
command emulates actual TTL lines, which have to be turned on an off individually (and are limited to 256). I'd like to propose adding a command to send a word at once, which is stored as a time-stamped event, e.g.TTL Word=uint64
As far as I've seen, this is not possible yet. I'd go ahead and add handling such a message
NetworkEvents::handleSpecialMessages
. Does it make sense to create these events using theTTLEvent
's factory methodcreateTTLEvent(const EventChannel* channelInfo, int64 sampleNumber, uint8 line, bool state, uint64 word)
?The text was updated successfully, but these errors were encountered: