-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please help, I can't get Summary Total to work in new 5.1.0 #172
Comments
Turn off the recorded values. and turn on only the summary enable. check the query using query inspector and check if that what you want from the PiWebAPI. |
I tried that but no change. I have created an excel file to compare the different result of the Summary types. As you see the result is the same when using recorded and non recorded values. I must use the Recorded values since adding the interpolated values gives wrong result. Also, the min, max and range summaries works, but not the total, average, stddev, stdevpopulation and count. The picture below shows the correct (expected) result and the result using 5.1.0 using Recorded values = ON and Recorded values = OFF.
|
Has anyone else seen this behaviour? |
The related code
I honestly don't know why the values are different. If you tell me what is the correct web api call based on this documentation https://docs.aveva.com/bundle/pi-web-api-reference/page/help/controllers/streamset/actions/getsummaries.html that yields the correct result I can fix it. |
This is said to be corrected in 5.1.0, but if so, I need help to understand how to use it.
I have a data set with values on with summary basis event-weighted, i.e. data come on erratic basis.
The first picture below show the dataset in table panel, and the table summarizes it to 20.9 using recorded values. (correct total).
Then I do Summary Enable, Total, and the Total value is not correct. Am I doing wrong?
There is this new "Enable interval", but I can not understand how to use it, and since the data is event based, using sampling interval can't be correct way.
and then I use Summary Total:
![image](https://private-user-images.githubusercontent.com/92076711/387274655-f8f2f962-81e1-48ff-936d-c152a0d58c39.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTA2NzMsIm5iZiI6MTczOTMxMDM3MywicGF0aCI6Ii85MjA3NjcxMS8zODcyNzQ2NTUtZjhmMmY5NjItODFlMS00OGZmLTkzNmQtYzE1MmEwZDU4YzM5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDIxNDYxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIxZTUwMzFhNWYxMTgyMzJjOWQ1OGE1YmE0MDVhZWQ2M2E0Mzk2Y2Y5M2Y3MzkwMjRmMTY3NWVhMGU3M2JiNGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Th8Ducp00wSjdbQPqvxkvulyzaEX09e-lX_00x47V0E)
The text was updated successfully, but these errors were encountered: