#750 Is there a way to pull data out of a Niagara 4

Mathew Bonasera Tue 22 Oct 2019

I'm a newbie at this and I'm trying to find out if there is a way to pull data from a Niagara 4 server. We installed haystack but I'm not sure that is a way to do it. Is there a REST API endpoint that can be exposed to get the data?

Any help would be really greatly appreciated.

Thanks! Matt

Eric Anderson (Tridium) Wed 23 Oct 2019

The Haystack servlet can be enabled on the nHaystack service to expose a REST API endpoint that speaks the Haystack protocol. The latest version of the nHaystack module (3.0.1- in beta) will export native Niagara 4 tags. See https://stackhub.org/package/nHaystack for more info.

Mathew Bonasera Wed 23 Oct 2019

Hi Eric, Thank you for the response. we have installed this package and the servlet is on. In the documentation I see nothing that looks like an HTTP endpoint where I can pull data from. Ex: {point,his} history:/my_station/LogHistory

This doesn't look like an HTTP endpoint and I'm not sure how to interpret this. I think that is where I am missing something. I can see and browse the server from a browser. We have someone who understands how to tag points and I can see data in the history but I can't find a way to pull this data over HTTP to another system.

Again, any help and guidance is greatly appreciated.

Matt

Eric Anderson (Tridium) Thu 24 Oct 2019

Is the documentation here what you're looking for: https://project-haystack.org/doc/Rest?

Login or Signup to reply.