LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset indicators in a control design and simulation loop before each run?

Hi,

 

I am new to Labview. I have tried using property node to reset indicators before each run. But since it is in a simulation loop, it gets resetted many times. I am primarily interested in resetting only before each run. 

Any hint will be of great help.

 

Thank you!

 

Regards,

Divya

0 Kudos
Message 1 of 5
(3,626 Views)

Hi Divya, 

 

This KnowledgeBase article describes 2 methods for resetting your Front Panel programmatically:

http://digital.ni.com/public.nsf/allkb/08E7DDAE66A7D02C86256DDA00630E75

 

However if you have tried these methods, and are still not getting the behaviour you want, it would be easier to help if you could post your code (or even a screen shot of the section of code where you're trying to reset your values)

0 Kudos
Message 2 of 5
(3,598 Views)

Hi aranS,

 

Thanks a lot for the reply.

My apologies for late response.

 

I have tried resetting all controls option as per the article, but I was interested in resetting only the indicators.

So, I have now changed the code logic, as I learnt that resetting the indicators programmatically is not the right way.

 

Thanks again!

 

Divya

0 Kudos
Message 3 of 5
(3,558 Views)

hey Divya21..!

 can u please post ur code. i am seeking for same task u did..

0 Kudos
Message 4 of 5
(3,288 Views)

Just initialize them by writing default values to them first thing.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 5
(3,285 Views)