HandshakeTrigger.ConfigureInterlockedTrigger Method
- Updated2023-02-21
- 1 minute(s) read
Configures the task to stop the acquisition when the device acquires all pretrigger samples; an analog signal reaches the level you specify; and the device acquires all post-trigger samples.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public void ConfigureInterlockedTrigger( string source, InterlockedHandshakeTriggerAssertedLevel assertedLevel )
Public Sub ConfigureInterlockedTrigger ( source As String, assertedLevel As InterlockedHandshakeTriggerAssertedLevel )
Parameters
- source
- Type: SystemString
The name of a virtual channel or terminal where there is an analog signal to use as the source of the trigger. For E Series devices, if you use a virtual channel, it must be the only channel in the task. The only terminal you can use for E Series devices is PFI0. - assertedLevel
- Type: NationalInstruments.DAQmxInterlockedHandshakeTriggerAssertedLevel
The value of the desired HandshakeEventInterlockedAssertedLevel.
Exceptions
| Exception | Condition |
|---|---|
| DaqException | The NI-DAQmx driver returned an error. |
Remarks
The NI-DAQmx driver does not determine if the requested settings are possible until the task is verified. ConfigureInterlockedTrigger(String, InterlockedHandshakeTriggerAssertedLevel) does not throw an exception for parameter values that are not compatible with your hardware or other settings in your task. To determine if all of the settings for a Task are valid, you must verify the task by starting the task, either with Start or by reading from or writing to the task, or by calling Control(TaskAction) with Verify.