Yo,
I was wondering if there is a way to set a timeout for a task's digital start trigger that is built into the NI API? I would like to cancel or stop a task if it does not receive a digital start trigger within 15s of the task being started. My task's digital start trigger configuration code is shown below.
_task.Triggers.StartTrigger.ConfigureDigitalEdgeTrigger("/" + _deviceLocator.DeviceName + "/PFI1", DigitalEdgeStartTriggerEdge.Rising);