TClock Class
- Updated2025-10-07
- 1 minute(s) read
Represents the component that is used to synchronize modular instruments.
Derives from
None
Syntax
Namespace: NationalInstruments.ModularInstruments.SystemServices.TimingServices
public class TClock
Remarks
The TClock object holds a TClockSynchronizableDevicesCollection. Each item in the collection is a DeviceToSynchronize object. The DeviceToSynchronize object represents an ITClockSynchronizableDevice. This ITClockSynchronizableDevice is a Modular Instruments device that can be synchronized by TClk technology.
Thread Safety
Any members of this type are not guaranteed to be thread safe.
Constructors
| Name | Description |
|---|---|
| TClock(params ITClockSynchronizableDevice[]) | Initializes a new instance of the TClock class. |
| TClock() | Initializes a new instance of the TClock class. |
Properties
| Name | Description |
|---|---|
| Advanced | Gets an instance of TClockAdvanced. |
| DevicesToSynchronize | Gets the TClockSynchronizableDevicesCollection held by the TClock object. |
| IsDone | Gets a value indicating whether the operations initiated by Initiate on the modular instrument(s) are complete. |
Methods
| Name | Description |
|---|---|
| ConfigureForHomogeneousTriggers() | Configures the properties required for the synchronization of device sessions with homogeneous triggers in a single PXI chassis or a single PC. |
| Initiate() | Initiates the specified acquisition or generation sessions. |
| Synchronize(PrecisionTimeSpan) | Synchronizes the TClk signals on the given sessions. After Synchronize executes, TClk signals from all sessions are synchronized. |
| Synchronize() | Synchronizes the TClk signals on the given sessions. |
| WaitUntilDone(PrecisionTimeSpan) | Delays the execution of your program until the acquisitions and generations corresponding to sessions are complete, or until the method returns a timeout error. |