DAQTriggers.ReferenceTrigger Property
- Mise à jour2023-02-21
- Temps de lecture : 2 minute(s)
Gets or sets the DAQTrigger that serves as the reference trigger for current instance of DAQTaskAI.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Public Property ReferenceTrigger As DAQTrigger |
| C# |
|---|
public DAQTrigger ReferenceTrigger { get; set; } |
| Visual C++ |
|---|
public: property DAQTrigger^ ReferenceTrigger { DAQTrigger^ get (); void set (DAQTrigger^ value); } |
Property Value
A reference to a DAQTrigger. The default value is no trigger.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The TriggerType of the DAQTrigger is Software.
|
Remarks
A reference trigger establishes a reference point in a finite signal around which the acquisition occurs. You can include samples that occur prior to a reference trigger in the acquisition. This is useful if you want to ensure that the acquisition includes the signal values that caused the reference trigger.