From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make LED flashing

i want to make flashing LED. how to do that?

 

Thanks,

Asif 

0 Kudos
Message 1 of 8
(6,210 Views)

Hi Asif,

 

set the blinking property of a LED indicator as needed…

Or switch it's value (TRUE/FALSE) periodically!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 8
(6,203 Views)

Hello Aisf138,

 

As GerdW says, you can use a While Loop to change the value of the LED (True/False) for each iteration using Shift Registers. In Addition, you can add a Wait function to control the "Blinking Time". I share with you a VI Snippet to do this app.

 

Regards!!!

 

Sebastian.

 

Blinking Led.png

 

 

0 Kudos
Message 3 of 8
(6,155 Views)

Any details? NI is dealing with many kinds of flashing LEDs including

Semiconductor manufacture control to make LEDs that can flash.

Controlling NI and 3-d party current sources to flash LEDs

Design of PCB to make LED driver to flash LEDs

Ethernet hubs flash active LED when transmitting data, if you write network communication, you have flashing LEDs

Above 2 software solutions

ETC...

0 Kudos
Message 4 of 8
(6,128 Views)

Thanks Dear 

its working. but i want to to start blinking by logic (0 or 1) just say by toggle switch.

how to do that.

 

Thanks,

Asif 

0 Kudos
Message 5 of 8
(6,105 Views)

I want one Boolean indicator (LED) to blink when i press toggle switch. i actually want to blink it when logic 1 on any input bit of PLC high.

 

Thanks,

Asif 

0 Kudos
Message 6 of 8
(6,103 Views)

Hi Asif,

 

I want one Boolean indicator (LED) to blink when i press toggle switch.

Use the blinking property of the LED indicator, just connect your switch…

 

i actually want to blink it when logic 1 on any input bit of PLC high

Read "any input bit" of your PLC, OR those bits, wire the result to the blinking property of your LED indicator…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 8
(6,093 Views)

Hi Asif138,

 

This VI Snippet makes a blinking Led when you press toogle switch using Event Structures and Property Nodes.

 

Regard!!!

 

Sebastian.

 

Blinking.png

0 Kudos
Message 8 of 8
(6,069 Views)