SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Posted: 2017-10-31 10:30 AM
Link copied. Please paste this link to share this article on your social media post.
I have some high frequency data that is being stored at second intervals.
I have a requirement to move this data to an external data source in an automated fashion from an AS/ES.
While using the GetHistory function in combination with the MoreDataRef on the SOAP client seems like it would achieve this, having the maximum number of results capped at 1000 means that i would need to perform this operation ~86 times in order to get the 86400 entries per day out.
Is there a way to increase the page size, or even a better way to do what i am describing?
Link copied. Please paste this link to share this article on your social media post.
Hi James,
As far as I know, the page size is hard coded for SBO and it cannot be changed.
The only way to make it quicker to get history is to collect the records more than once per day. Of course you could write a SmartConnector extension to do this and run this processor that extracts data based on a Schedule in SmartConnector.
There already exists a 'proof of concept' SmartConnector extension, that is of itself extensible, it will periodically extract data from SBO (It can discover Historyitems from a folder(s) or you can give it history item Id's directly) and push this data to MSMQ. You can write your own 'Pop processor', inheriting from the base PopProcessor that will pop this data from the queue and send it wherever you want.
If this is something that interests you let me know, and I can see about packaging it up in a way that makes sense for you to consume.
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi James,
As far as I know, the page size is hard coded for SBO and it cannot be changed.
The only way to make it quicker to get history is to collect the records more than once per day. Of course you could write a SmartConnector extension to do this and run this processor that extracts data based on a Schedule in SmartConnector.
There already exists a 'proof of concept' SmartConnector extension, that is of itself extensible, it will periodically extract data from SBO (It can discover Historyitems from a folder(s) or you can give it history item Id's directly) and push this data to MSMQ. You can write your own 'Pop processor', inheriting from the base PopProcessor that will pop this data from the queue and send it wherever you want.
If this is something that interests you let me know, and I can see about packaging it up in a way that makes sense for you to consume.
Regards,
-Jeff
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.