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: 

Measure the number of changes in a digital signal per minute

Hello friends!
I have boards PXI-6511 and PXI-6513. I am doing a project in which it is necessary to issue and receive digital signals. According to the results of the incoming signal, the lamp can be lit, dark or blinking. But it can blink at different frequencies: 200 or 55 pulses per minute. I need to create a counter that will count the number of blinks per minute (it should turn on only when the light starts blinking and turn off after 60 seconds).
I have been working on this function for the second week and I can not implement it in any way. I ask for your help.

0 Kudos
Message 1 of 10
(1,159 Views)

No one can tell what's wrong from your vague description.

Post your VI (not a picture) and people will take a look at it and offer advice.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 10
(1,138 Views)

Attached the archive with the project. The top panel with LEDs is the input digital signals that the 6511 board accepts. They can be lit, not lit or blinking.

0 Kudos
Message 3 of 10
(1,105 Views)

I need to create a counter that will check how many blinks an LED makes in one minute.

0 Kudos
Message 4 of 10
(1,100 Views)

Sorry; I can't open a .rar file.  Try using .zip

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 5 of 10
(1,070 Views)

You can implement a counter. Now just add your timing over 60 seconds.

 

Counter_Rising_Edge.png

0 Kudos
Message 6 of 10
(1,058 Views)

Поменял архив на zip

0 Kudos
Message 7 of 10
(1,040 Views)

Why do people complain about zip file types? I recommend trying 7-ZIP... you will not want to use anything else afterwards.

Sorta like Notepad vs Notepad++

---------------------------------------------
Certified LabVIEW Developer (CLD)
There are two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 8 of 10
(1,009 Views)

I've added some code to your timeout event case that might work.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 9 of 10
(988 Views)

Thanks for the help!

0 Kudos
Message 10 of 10
(972 Views)