LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I count how many times a control boolean is true

Solved!
Go to solution

As part of my project using LabVIEW 2012 I am trying to count how many times a control boolean is set to true. Please help me...

0 Kudos
Message 1 of 7
(3,903 Views)

Hope this is what you need. Press manually boolean control to make it TRUE

Let me know if you have any doubt

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
Message 2 of 7
(3,899 Views)
Solution
Accepted by topic author sagardoshi
0 Kudos
Message 3 of 7
(3,888 Views)
0 Kudos
Message 4 of 7
(3,881 Views)

Hi,

 

one more idea (using the readily available edge detection function):

check.png

 

Or using a simple version of rising edge detection:

check.png

 

@Ranjeet:

You know it's not "LabVIEW-style" to over-use local variables? It hurts the DATAFLOW paradigm (and the eye)...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 7
(3,874 Views)

HI 

 

Sorry, i am new in Labview world.

I want to learn more from Sample program.

 

I want to know where i can get this.2013-03-05 下午 10-18-21.jpg

 

0 Kudos
Message 6 of 7
(3,815 Views)

Hi,

 

Pt-by-Pt functions palette, other functions...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 7 of 7
(3,805 Views)