Creating and handling Time Domains.
More...
Creating and handling Time Domains.
◆ kvTimeDomainAddHandle()
◆ kvTimeDomainCreate()
◆ kvTimeDomainDelete()
This is a cleanup routine that deletes all members of a domain and then deletes the domain itself.
- Note
- A time domain is a set of channels with a common time base.
- Parameters
-
- Returns
- canOK (zero) if success
-
canERR_xxx (negative) if failure
- See also
- kvTimeDomainXxx Example
-
kvTimeDomainCreate()
◆ kvTimeDomainGetData()
◆ kvTimeDomainRemoveHandle()
This routine removes an open channel handle from a domain.
- Note
- A time domain is a set of channels with a common time base.
- Parameters
-
[in] | domain | An opaque variable set by kvTimeDomainCreate() that identifies the domain to remove a handle from. |
[in] | hnd | A handle to an open channel. |
- Returns
- canOK (zero) if success
-
canERR_xxx (negative) if failure
- See also
- kvTimeDomainCreate(), kvTimeDomainAddHandle()
◆ kvTimeDomainResetTime()
This routine resets the time on all members of a time domain.
After a call to this routine timestamps from all channels with MagiSync™ running have no offset at all any longer. The same applies for channels that reside on the same physical interface.
- Note
- A time domain is a set of channels with a common time base.
- Parameters
-
[in] | domain | An opaque variable set by kvTimeDomainCreate() that identifies the domain to reset the time on. |
- Returns
- canOK (zero) if success
-
canERR_xxx (negative) if failure
- See also
- kvTimeDomainXxx Example
-
kvTimeDomainCreate()