09-28-2013 01:30 AM
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
09-28-2013 02:05 AM
09-28-2013 02:17 AM
Use property node inside case structure to make it visible or invisible.
09-28-2013 03:42 AM
@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.
09-28-2013 03:53 AM - edited 09-28-2013 03:53 AM
He did a mistake by posting again so its ok for me. Second thing I didnt read the question completely so my mistake.
09-28-2013 03:56 AM
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
09-28-2013 10:09 AM
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?