Skip to content

Add TTL Word option to store integer event codes #6

@joschaschmiedt

Description

@joschaschmiedt

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 the TTLEvent's factory method createTTLEvent(const EventChannel* channelInfo, int64 sampleNumber, uint8 line, bool state, uint64 word)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions