SyncPulseSource
- Updated2025-10-07
- 1 minute(s) read
Gets or sets the sync pulse source.
Syntax
Namespace: NationalInstruments.ModularInstruments.SystemServices.TimingServices
public string SyncPulseSource { get; set; }
Remarks
This attribute is most often used when synchronizing a multi-chassis system.
Valid values are as follows:
An empty string.
For PXI devices, "<tt>PXI_Trig0</tt>" through "<tt>PXI_Trig7</tt>" and device-specific settings.
For PCI devices, "<tt>RTSI_0</tt>" through "<tt>RTSI_7</tt>" and device-specific settings.
The default value is an empty string. This default value directs the Synchronize method to set this attribute when all the synchronized devices are in one PXI chassis. To synchronize a multi-chassis system, you must set this attribute before calling Synchronize.
Examples of device-specific settings:
NI PXI-5122 supports "<tt>PFI0</tt>" and "<tt>PFI1</tt>"
NI PXI-5421 supports "<tt>PFI0</tt>", "<tt>PFI1</tt>", "<tt>PFI2</tt>", and "<tt>PFI3</tt>"
NI PXI-6551/6552 supports "<tt>PFI0</tt>", "<tt>PFI1</tt>", "<tt>PFI2</tt>", and "<tt>PFI3</tt>"
Exceptions
| Type | Description |
|---|---|
| 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.ArgumentNullException | The value being set on the property is null. |
| System.InvalidOperationException | Cannot access the property before the session is opened. |
| NationalInstruments.ModularInstruments.ModularInstrumentsException | The underlying driver returned an error. |