Quote:
Originally Posted by sircedric4
So to repeat I go from red 5V from digital output through my LED and then to the signal pin on the digital output? Is this correct? And then my program can turn it off and on by cycling the digital output in code?
|
It will work that way, though the LED will be off for a "1" value and on for a "0". Since the DS's output can source current as well as sink it, I'd connect from the digital output through the indicator to ground instead. That way the LED will be off for "0" and on for "1".
The way you connect it should depend on whether you want the LED to be on or off when the system is reset, before the cRIO software has a chance to control it.