Time Domain

TimeDomain

class canlib.canlib.TimeDomain[source]

A time domain is a set of channels with a common time base.

add_channel(channel)[source]

Add a channel to the domain.

Parameters

channel (Channel) – Canlib channel

close()[source]

Delete all members of the domain and then delete the domain itself.

get_data()[source]

Get Time Domain data about channels and devices in the time domain.

Returns

TimeDomainData

remove_channel(channel)[source]

Remove a channel from the domain.

Parameters

channel (Channel) – Canlib channel

reset_time()[source]

Reset the time of all channels in the domain.

TimeDomainData

class canlib.canlib.TimeDomainData(sync_groups, synced_members, non_sync_cards, non_synced_members)[source]
Variables
  • sync_groups (int) – Number of MagiSync groups.

  • synced_members (int) – Number of MagiSynced channels.

  • non_sync_cards (int) – Number of MagiSync interfaces.

  • non_synced_members (int) – Number of non-MagiSynced channels.