I am trying to setup a USB-6251 to measure when voltage level is passing 3 Volt. I will use 4000 Hz and I want 1000 samples before voltage pass 3 Volt and 3000 samples after. I am trying to read the documentation and I have been searching for sample code but with no success.
I want to do this with Python and nidaqmx (or PyDAQmx).
Can anyone show or point me to a useful example how to achieve this?
Best Regards
Anders