08-19-2011 11:56 AM
Hello everybody!!
I have a serial transmission and every time that the serial transmission send a byte, a LED blink. How can I do to know when the LED is blinking (there is serial transmission) or when the LED is off (there isn't serial transmission) to power on/off another led?
Thanks a lot.
08-19-2011 12:14 PM
What determines whether the first LED is blinking? Is it something you are doing in LabVIEW code? Or something that is a physical hardware LED determined by an actual electronic device?
08-19-2011 12:15 PM
Is the LED you want to toggle on/off a physical part, or an indicator on a front panel?
Doing this strictly for UI, or is there some other piece of hardware that needs to see this?
What I've done in my equipment is rip components apart (USB hubs mostly) and just yank the LEDs out, put wires on them, and panel-mount an LED on the front panel. This particular equipment houses a USB hub, USB-6501 DIO, and a telephone line simulator among others. The "off-hook" LED indicators on the telephone simulator and status light on the DIO were ripped off and replaced with a connector, put the LED for each on the front panel. Wired some other LEDs in for relay and power supply/120V status.
08-19-2011 12:16 PM
You can read the voltage on the wires of the LED just like any other TTL signal. Or, you could use a light sensitive transistor to detect the LED light.
08-19-2011 12:26 PM
Snowmule,
Your message has an image embedded in it, but unfortunately it is to some oddball 3rd party website that is not visible and all we see is a red X. Please attach your images to your message, then go back and embed the image with it pointing to the file location on NI's webserver.
08-19-2011 02:52 PM
Excuse me for not to be more especific.
I have a cRIO 9074 and the module NI-9870 where I receive the serial bytes from a balance.
The attached image is the FPGA program where I connect the Time Out output to a led. When don't receive bytes (balance is off) the led is off and when receive bytes (the balance is on) the led is blinking at irregular frequency.
Now, I want to put another led that indicate when there is serial transmission (led_2 on - not blinking) or not (led 2 off).
Thanks and excuse me for my bad english. Grettings from Spain.