Digital States, one issue remains in 5.1.0
Some of the issue with Digital states was corrected by the fix of #159, but there is one thing still to fix: When using the "State timeline" panel together with Digital States and Recorded values set to Off, the behaviour compared to 4.2.0 is different and the query doesn't get the data. (The query result is the same for all panels but the use of State timeline shows the error more clearly)
- Panel: State timeline
- Time period: "Today".
- Query: See image below.
- Expected result: Since Recorded values is sett to Off, the last value will be a empty value, since the queried time period is "today", which is in "the future". But in 5.x.0 this returns an error if using this query with Digital states.
If I turn off Digital States I get this:
Same with Table view:
This is expected behaviour (the empty value) since there is no data "yet" for the time when the panel was reloaded/refreshed and. But if Digital State is turned on, the query end with an error,
New version will truncate all times to 1s. Make sure the browser and the PI Dataserver/PIWebAPI have correct times.
Closing as this error should have been fixed in recent versions.
Yes, it works ok!