Hi developers, @Jordan Johnson,
one of my clients found a serious bug for getting statistics: In the attached model
Tracked_Variable_Histogram_Bug_20.1.1.fsm
a Time Series Tracked Variable is created just to record a value on exit of the Source. The value is 5 for 100 times before it changes to 10. The upper histogram was created through the Tracked Variable GUI, no changes made. The count for both values is one after 1020s.
The lower histogram is created based on another statistics collector and shows the correct count for each value. On the default SC created automatically with the dashboard chart, the Change Rule is "Cange", while I think it needs to be "Update" for Time Series TVs....
This is easy to identify in this simple model, but VERY hard to find in a real world project. Hence my user's questions:
1. Is this bug effecting other dashboard charts created with the pin as well?
2. With what version has this bug been introduced? My client will have to go back through all projects he built in effected versions to revisit results. Here is another model in 20.0.5 that shows this bug, too:
Tracked_Variable_Histogram_Bug_20.0.5.fsm
Thx