EthoVision XT Integration

Overview

The ConductMaze–EthoVision integration establishes bidirectional communication between ConductMaze behavioral control and Noldus EthoVision XT video tracking via a persistent TCP/IP socket connection. EthoVision streams real-time positional data (center-point coordinates, body elongation, velocity) to ConductMaze, enabling closed-loop experimental paradigms where apparatus events are triggered by the animal's tracked position — for example, delivering a shock when a rat enters a defined zone, or opening a guillotine door when the subject crosses a boundary.

In the reverse direction, ConductMaze transmits timestamped event markers to EthoVision on every behavioral event: CS onset/offset, US delivery, lever press, nose-poke, door operation, reinforcer delivery, and trial phase transitions. These markers are embedded directly in EthoVision's data stream, producing a unified timeline that aligns video tracking data with hardware-controlled behavioral events at millisecond precision. The TCP client in ConductMaze runs on an asynchronous listener thread, maintaining connection state and reconnecting automatically if the socket drops.

ConductMaze includes a built-in EthoVision Simulator module for testing and validating integration configurations without requiring the full EthoVision license. The simulator generates synthetic coordinate streams with configurable arena dimensions, movement speed, and zone definitions, allowing researchers to verify closed-loop logic before running live experiments. Compatible with EthoVision XT 14 and later versions.

Trial Flow

start

Configure Connection

Set EthoVision hostname and TCP port in ConductMaze connection manager

process

Establish TCP Link

ConductMaze TCP client connects to EthoVision server, async listener thread starts

decision

Verify Handshake

Connection state transitions from WaitingForConnect to Connected

input

Stream Position Data

EthoVision sends real-time X,Y coordinates, velocity, and zone occupancy

decision

Closed-Loop Trigger

ConductMaze evaluates zone rules against current animal position

output

Execute Event

Apparatus action triggered (shock, door, stimulus) with TTL timestamp

process

Send Event Marker

Event marker transmitted to EthoVision for synchronized data logging

end

Session End

Disconnect TCP socket, export unified event + tracking log

Parameters

ParameterTypeDefaultDescription
EthoVision HoststringlocalhostHostname or IP address of the EthoVision XT workstation
TCP Portinteger5050TCP port for the EthoVision–ConductMaze socket connection
Auto-ReconnectenumEnabledAutomatically re-establish connection if socket drops (Enabled, Disabled)
Reconnect Intervalseconds5Delay between reconnection attempts when auto-reconnect is enabled
Coordinate FrameenumArenaCoordinate reference frame for position data (Arena, Pixel, Normalized)
Zone Trigger Latencyseconds0.5Minimum time animal must remain in zone before triggering closed-loop event
Event Marker FormatenumConductMazeFormat for event markers sent to EthoVision (ConductMaze native, EthoVision XML, plain text)
Simulation ModeenumDisabledUse built-in EthoVision simulator for testing without live tracking (Enabled, Disabled)

Metrics

MetricUnitDescription
Connection UptimepercentPercentage of session time with active TCP connection to EthoVision
Data Packets ReceivedcountTotal position data packets received from EthoVision during session
Event Markers SentcountTotal behavioral event markers transmitted to EthoVision
Closed-Loop TriggerscountNumber of apparatus events triggered by zone-based position rules
Mean Tracking LatencymsAverage delay between EthoVision position update and ConductMaze event evaluation
Packet Loss RatepercentPercentage of expected position packets not received (connection quality metric)

Sample Data

Timestamp_msEvent_TypeX_cmY_cmVelocity_cm_sZoneTrigger_Fired

Representative data for illustration purposes. Actual values will vary by species, strain, and experimental conditions.

Applications

  • 1
    Closed-loop place avoidancetrigger aversive stimuli when the animal enters defined spatial zones tracked by EthoVision
  • 2
    CPP with automated trackingcombine conditioned place preference apparatus control with EthoVision time-in-zone analysis
  • 3
    Social interaction quantificationsynchronize three-chamber door control with EthoVision social proximity tracking
  • 4
    Open-field operant overlayuse EthoVision position data to create virtual operant zones in an open arena
  • 5
    Multi-modal data fusionmerge video-tracked locomotion with ConductMaze-recorded lever presses and reinforcer deliveries in one timeline

Compatible Products

ME-1077ME-1055CS-958344

Ready to Automate Your Behavioral Protocols?

Contact us for a demo and pricing information.