Store PLCnext CommunityPLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

0
Votes
Undo
  1. request
  2. PLCnext Technology & PLCnext Controls
  3. Monday, 21 December 2020

Hello,

looking at the graph ehmi object, i've see that is using the new rest "_trend_api"

it seems the api are connected someway to the graphic object we can obtain data making a request with something like this

https://192.168.1.52/_trend_api/api/trends/t227965432

where the "id": "t227965432" changes somehow
 
is there any way to make a request directly to obtain the content of a data logger?

 

thanks

Martino

Request Team

 

 

Frank PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hey Martino,

the new  _trend_api is not yet public documented and I do not know if it ever should be.

I'll ask first of all if this should be a public service (which makes sense for me) and if it would be possible to query directly the datlogger.

Have a great Christmas,

Frank


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

Frank PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Good Morning Martino,

due to the vacation time it took a bit longer for the clarification.

I've spoke with the development and product manager and they pointed out that the it would make no sense to publish the _trend_api in the current version to the public.

The initial version is does the job for the PLCnext HMI, but needs further improvements that it is suitable for others.

However, it is planned to publish the API, but definitely later this year (maybe Q3).

Have a great start into the new year,

Frank


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.