annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

initialization

Résolu !
Accéder à la solution

salam
hello I'm looking how to make an init program or reset every midnight that is to say I take the measurement every day

example and I want that this time has 00:00:00,000 all indicators will initialize ...

   AND THANK YOU

0 Compliments
Message 1 sur 8
3 452 Visites
Solution
Accepté par bilalus

Hi bilalus,

 

have you ever tried to search the function palette on your own or to read the (context) help?

 

check.png

(One of several possible ways...)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 sur 8
3 445 Visites

thank you GerdW for this solution, for me it is the first phase but how can I reset all the indicator for a new day

0 Compliments
Message 3 sur 8
3 416 Visites

I would look at the day component of the date cluster.  If the day is different then the previously stored day, then you know you have passed midnight.

0 Compliments
Message 4 sur 8
3 411 Visites

Hi bilalus,

 

"how can I reset all the indicator for a new day"

Indicators don't need to be resetted! All they do is show the data that is wired to them.

If you want to show new data for a new day you simply have to wire it...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Compliments
Message 5 sur 8
3 381 Visites

thank you

 is there a way to clear waveform charts each day

 

 

0 Compliments
Message 6 sur 8
3 368 Visites

Create a property node for the chart called History Data and write an empty array to that property.

 

Or create an Invoke Node for the waveform chart that is Reinit to Default Data and execute that.

0 Compliments
Message 7 sur 8
3 365 Visites

thanks

0 Compliments
Message 8 sur 8
3 341 Visites