Table Of Contents

Sample Clock Timebase Synchronization

Last Modified: November 16, 2017

Sample Clock Timebase synchronization allows you to synchronize devices at different rates. Use Sample Clock Timebase synchronization to synchronize a combination of devices for which Reference Clock, Master Timebase, or Sample Clock synchronization is not an option.

When using Sample Clock Timebase synchronization, slave devices replace the Sample Clock Timebase for a given subsystem with the Sample Clock Timebase from another device. Each device derives its Sample Clock from the synchronized Sample Clock Timebase. You must share a Start Trigger for the derived clocks to start in phase.

spd-note-note
Note  

You must start any tasks on slave devices before starting the task on the master device.

You must set two properties on the slave devices to synchronize the Sample Clock Timebase. Use the SampClk.Timebase.Src attribute/property to specify the terminal of the Sample Clock Timebase from the master device. Because the slave devices then use an external timebase, you must also use the SampClk.Timebase.Rate property to specify the rate of that timebase. Instead of hard-coding those values, you can query the Sample Clock Timebase rate and source from the master device and set the rate and source on the slave devices to the same values.

Sample Clock Timebase synchronization results in skew due to the time required for the clock to travel between devices.


Recently Viewed Topics