cancel
Showing results for 
Search instead for 
Did you mean: 

how to make LED flashing

Highlighted
Asif138
Active Participant

how to make LED flashing

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

 

Thanks,

Asif 

7 REPLIES 7
GerdW
Knight of NI

Re: how to make LED flashing

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
sebastianm127
Member

Re: how to make LED flashing

Message contains an image

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

 

 

Alexander_Sobolev
Active Participant

Re: how to make LED flashing

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...

Asif138
Active Participant

Re: how to make LED flashing

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 

Asif138
Active Participant

Re: how to make LED flashing

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 

GerdW
Knight of NI

Re: how to make LED flashing

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
sebastianm127
Member

Re: how to make LED flashing

Message contains an image

Hi Asif138,

 

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

 

Regard!!!

 

Sebastian.

 

Blinking.png