Hello,
I am using the NI USB X Series (specifically the NI USB-6343) and programming in Visual studio 2010 with C# .NET . What I have been trying to do is use an external Digital trigger on Port 1 (PFI0) and reading the input from Port 0. When there is a rising edge on the digital trigger line (PFI0) I want that trigger a read from the input port (port 0) just once next I want it to be retriggerable so it is ready for the next trigger again without the user needing to do anything (like press a button to start looking for the trigger again).
I tried creating my task, and using the configure trigger function on the same task, but my code doesn't seem to wait for a trigger it just reads the input data from port 0 regardless of whether there was a trigger or not.
Have I misunderstood how the trigger works? What am I missing?
Thank you and I appreciate the help.