Skip to content

UEyelinkInterface::OpenEyelinkConnection

Class: UEyelinkInterface

Opens a network connection to the Eyelink eyetracker.

Syntax

bool UEyelinkInterface::OpenEyelinkConnection(const FString &address=FString(""), const FVector2D &resolution=FVector2D(0, 0), EEyelinkInterfaceMode mode=EEyelinkInterfaceMode::Simulate)

Parameters

Parameter Type Description
address const FString & IP address of the Eyelink host computer. Uses the stored eyelinkIP if empty.
resolution const FVector2D & Display resolution in pixels. Uses the stored ScreenResolution if zero.
mode EEyelinkInterfaceMode Operating mode (Live or Simulate).

Return Value

true if the connection was established successfully.

Blueprint

Blueprint: Callable from Blueprints

Remarks

Configures the device address, screen resolution, and operating mode, then attempts to establish a connection. On success the tracker is placed in offline (non-realtime) mode and sets what should be recorded (lifted from stimulus_presentation repo). address IP address of the Eyelink host computer. Uses the stored eyelinkIP if empty. resolution Display resolution in pixels. Uses the stored ScreenResolution if zero. mode Operating mode (Live or Simulate). true if the connection was established successfully. UFUNCTION