LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display Indictor value when boolean is true

Hey,

 

This ia a very basic issue I have been facing for quite some time and am unable to figure out a solution for this.

 

I have an indicator display that has to update the value it shows only whenever a boolean is ON. The indicator displays the average of ten samples, and has to update only after ten samples have been acquired. The boolean goes ON after the acquisition of every tenth sample.

 

I have tried keeping the indicator in a case structure, but it ends up displaying 0 all the time. I then tried to pass the wire through the case structure keeping the indicator outside, and even that didn't work. 

 

Can you please suggest a solution ?

 

Thank you

Dheeraj Bharadwaj
IIT-Madras
0 Kudos
Message 1 of 7
(3,299 Views)
0 Kudos
Message 2 of 7
(3,296 Views)

Use property node inside case structure to make it visible or invisible.

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

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 7
(3,292 Views)

@Ranjeet_Singh wrote:

Use property node inside case structure to make it visible or invisible.


Please don't answer threads already marked as duplicate.

You should also try to understand the question before answering, because your suggestion is incorrect. The indicator should always be visible, but only update every 10 iterations.

0 Kudos
Message 4 of 7
(3,279 Views)

He did a mistake by posting again so its ok for me. Second thing I didnt read the question completely so my mistake.

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

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 5 of 7
(3,276 Views)

Hiding an indicator is better becasue when user will see the indicator may be it was not updated. Hence will convey the wrong message. Hence after reading 10th data update and make the indicator visible

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

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 6 of 7
(3,273 Views)

It is not productive to provide an answer to a question that has not been asked. First you need to answer the actual question and at the end you could offer good arguments for alternative solutions. Here, we want to constantly display an average of 10 measurements. This is often a useful solution in the presence of noise, where the indicator would otherwise flicker too much. or where the actual update rate would be too fast to really see. It is silly to suggest to only show the indicator for an instant and then hide it most of the time. That would make no sense at all!


@Ranjeet_Singh wrote:

Hiding an indicator is better becasue when user will see the indicator may be it was not updated. Hence will convey the wrong message. Hence after reading 10th data update and make the indicator visible


The indicator constantly shows the average of 10 measurement. That is NOT the wrong message but a value that is useful and exactly defined at all times. Right?

0 Kudos
Message 7 of 7
(3,247 Views)