Skip to content

radiens_core.models.core_config

Core hardware configuration models.

CLASS DESCRIPTION
CableDelay

Cable delay configuration for a specific port.

CoreConfig

Core hardware configuration retrieved from the server.

SetCoreConfigRequest

Request to update core hardware configuration.

Classes

CableDelay

Bases: BaseModel

Cable delay configuration for a specific port.

ATTRIBUTE DESCRIPTION
port

The hardware port for which the cable delay is configured.

TYPE: Port

cable_delay

The cable delay value in units specific to the hardware.

TYPE: int

is_auto

Whether the cable delay is automatically determined by the system.

TYPE: bool

CoreConfig

Bases: BaseModel

Core hardware configuration retrieved from the server.

ATTRIBUTE DESCRIPTION
allego_core_server_port

The network port used by the Allego Core server.

TYPE: str

base_samp_freq

Base sampling frequency in Hertz.

TYPE: float

stream_loop_dur_ms

Stream loop duration in milliseconds.

TYPE: int

backbone_mode

Current hardware backbone mode.

TYPE: BackboneMode

has_xdaq_gpio_expander

Whether the system is equipped with an XDAQ GPIO expander.

TYPE: bool

cable_delays

Cable delay per port, keyed by Port value.

TYPE: dict[int, CableDelay]

SetCoreConfigRequest

Bases: BaseModel

Request to update core hardware configuration.

Only the deprecated AllegoClient.set_core_config() takes this.

ATTRIBUTE DESCRIPTION
samp_freq

Target sampling frequency in Hertz.

TYPE: float | None

loop_dur

Ignored by the server.

TYPE: float | None

pcache_persistence

Ignored by the server.

TYPE: float | None

cable_delay

Cable delay configuration to set.

TYPE: CableDelay | None