LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how detect led blinking?

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.

0 Kudos
Message 1 of 6
(3,940 Views)

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?

0 Kudos
Message 2 of 6
(3,933 Views)

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. 

 

0 Kudos
Message 3 of 6
(3,931 Views)

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.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 4 of 6
(3,930 Views)

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.

0 Kudos
Message 5 of 6
(3,927 Views)

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.

 

 

0 Kudos
Message 6 of 6
(3,909 Views)