Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2181

external digital input start and done events

$
0
0

Dear NI members,

 

we are working on a microscope driving application, written in C by using the NIDAQmx driver. We create a digital input task and we asign a Change Detection event for it. From the microscope a 8kHz signal will arrive every time the scanner starts acquisition and that signal will stop after acquisition is done. To detect the start point we are looking for the first change in signal from low to high. We are having issue of detecting the end point, as the number of 8kHz pulses sent by the scanner can be different. What is the best way to detect that the signal is not arriving anymore? 

The card we are using is NI PCIe-6321.

Thank you in advance for any ideas.

 

Best,

Georgi

 


Viewing all articles
Browse latest Browse all 2181

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>