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

TTL signal triggers a Python callback

$
0
0

So, I have this NI USB 6008  connected to a microscope which will be sending a TTL pulse to one of the digital ports, lets say P0.0. What I want to do is when that pulse comes in (hence port reading changes from False to True, or vice versa for example) to trigger some Python task on a pc connected to my nidaq.

I am completely new to these nidaq devices (in fact, any nidaq). Is that possible with the 6008 model, which event should I be looking for to do the callback please? I will be using PyDAQmx library. Has anyone done something similar please?

 

Thanks


Viewing all articles
Browse latest Browse all 2182

Trending Articles