01-17-2019 12:32 PM
Hello Labwindows community,
Currently using Labwindows CVI 2012.
I wanted to see if there was a function, in particular with the NI-DAQmx library (but not limited to), that allows for the detecting of the falling or rising edges of a pulse that occurs in microseconds. Is there an interrupt function or something similar that I can use to detect this and if the event occurs, to call a callback function?
Thanks,
Vincent
01-18-2019 03:02 AM
Did you try Help >> Find Examples... ?
Maybe ReadDigChan-ChangeDetectionEvent.prj could be a starting point.
(Just guessing, I never used such a function.)
01-18-2019
10:09 AM
- last edited on
01-03-2025
11:02 AM
by
Content Cleaner
^ that example should show what you're trying to do.
Also, make sure your hardware is supported by change detection. You can take a look at this document to check:
Digital Change Detection in NI-DAQmx
01-18-2019 11:03 AM
Thank you for the response CVI-User and francine.p.
I took a look into the project description for the ChangeDetection.prj and noted that it wasn't something I was looking for. My project ran out of room for additional digital input signals. I wanted to see if there was a way we can measure the event change with a digital output signal, but scrolling through the functions, it seems limited to digital inputs only.
Thank you both for the feedback, I think I can use those resources to research further.
Regards,
Vincent