Good morning. I need some help. I'm developing an application. I must read 2 encoders (1 angular position and 1 linear position) with TIO board ni-6601. I already made it (in Delphi using the C functions in nicaiu.dll). However I need to reset these counters when I receive a reset signal from external source (5 volt), in digital input.
How to made it? There is a way to configure ni-6601 to made it automatically? or a way in Ansi C functions in NIDAQmx to be notified when an input occur so to reset counter without delays with functions in Ansi C?
I'm using these functions in delphi... so better if I can have an answer about the C functions I must use, but if someone can only explain me a solution on what to do (like you must use triggers or timing functions) , the answer is welcome, too.
I already created 2 tasks to read positions form encoders and it's OK:
TaskCreate...
Channel configuration...
I'm a newbie, so sorry for mistakes: wrong forum or bad description.
Thanks from now for any answer.