openDAQ
Open data acquisition platform
GenericSyncComponentPtr< InterfaceType > Class Template Reference

Interface representing a Synchronization Component in a Test & Measurement system. A SynchronizationComponent ensures synchronization among measurement devices in the system. It can act as a sync source and/or as a sync output, with each component having one sync input and 0 to n sync outputs. More...

Detailed Description

template<typename InterfaceType>
class GenericSyncComponentPtr< InterfaceType >

Interface representing a Synchronization Component in a Test & Measurement system. A SynchronizationComponent ensures synchronization among measurement devices in the system. It can act as a sync source and/or as a sync output, with each component having one sync input and 0 to n sync outputs.

SynchronizationComponents are configured via interfaces, which can include PTP, IRIQ, GPS, and CLK sync interfaces, among others.

Note
Every SynchronizationComponent has at least one interface. Only one interface can be set as an input, while others can be used as sync outputs to synchronize other devices. The configuration of these interfaces and the reading of their status is defined in Part 4.
Depending on the setup, some interfaces may be switched off, and some interfaces may act as sync sources or outputs.
A CLK interface can be used to let a device run in Fre-Run mode, where the device syncs internally to an internal quartz.

Public Member Functions

daq::Bool getSyncLocked () const
 Retrieves the synchronization lock status. More...
 
daq::Int getSelectedSource () const
 Retrieves the selected sync source interface. More...
 
void setSelectedSource (daq::Int selectedSource) const
 Sets the selected sync source interface. More...
 
daq::DictPtr< daq::IString, daq::IPropertyObject > getInterfaces () const
 Retrieves the list of interfaces associated with this synchronization component. More...