Table of Contents

Advanced Configuration

This article covers device-wide configuration that goes beyond a single peripheral or output — settings that affect which data the Behavior board broadcasts.

The complete workflow is shown below:

Advanced Configuration

Select Active Events

The EventEnable register selects which event streams the device broadcasts. All events are enabled by default; write a new selection to silence the streams you don't need.

Select Active Events

  • Insert a KeyDown operator and set the Filter property to A.
  • Insert a CreateMessage operator and configure the following properties:
    • Payload - Select EventEnablePayload.
    • EventEnable - Select PortDI and PortDIO to keep only the poke and DIO events.
  • Insert a MulticastSubject operator named Behavior Commands.

Run the workflow and press A — the device stops broadcasting AnalogData and camera frame events, and keeps the poke events.

Warning

EventEnable writes the whole selection at once: any event not selected in the payload is disabled, including the 1 kHz analog stream and the camera frame events.



Last updated with:
Hardware v2.1
Firmware v3.3
Bonsai Package v0.2