03-30-2012 02:24 AM
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
Solved! Go to Solution.
03-30-2012 04:25 AM - edited 03-30-2012 04:26 AM
03-30-2012 04:46 PM
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
03-30-2012 08:47 PM
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.
04-01-2012 11:42 AM
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...
04-01-2012 05:38 PM
thank you
is there a way to clear waveform charts each day
04-01-2012 05:56 PM
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.
04-02-2012 12:43 PM
thanks