07-23-2009 02:55 PM
Hey, I'm trying to control two sets of LED's by switching between them based off of a trigger signal (single squarewave pulse) to switch between two channels on my daq, but I've run into the limit of my knowlege, and the tutorials aren't completely helpful.
How do you use an external trigger to switch between digital outs? Specifically, turning one line on, and turning off the other and vice versa?
Thanks to anyone who can help.
07-24-2009 04:08 PM
So this is most likely going to have been done in software. You can readin your trigger line in DAQmx and then based off of that being true you can enter a case structure that would flip the output going to the lines. Just to illustrate the concept it would be something like this-and the false case of the structure would just pass the array straight through.