Gets or sets the delay, in seconds.

Syntax

Namespace: NationalInstruments.ModularInstruments.SystemServices.TimingServices

public double SampleClockDelay { get; set; }

Remarks

This delay is applied to the session sample clock relative to the other synchronized sessions. During synchronization, the driver aligns the sample clocks on the synchronized devices. To delay the sample clocks, set this attribute before calling Synchronize.

Between minus one and plus one period of the sample clock.

One sample clock period is equal to (1/Sample Clock Rate). For example, for a session with sample rate of 100 MS/s, you can specify sample clock delays between -10.0 ns and +10.0 ns.

The default value is 0.

Exceptions

TypeDescription
System.InvalidOperationException

The DeviceToSynchronize object does not belong to a TClock object.

System.ObjectDisposedException

The ITClockSynchronizable object that is contained in the DeviceToSynchronize object has been disposed.

System.InvalidOperationException

Cannot access the property before the session is opened.

NationalInstruments.ModularInstruments.ModularInstrumentsException

The underlying driver returned an error.