Hi, does anyone knows if its possible to use the REST Pi Web API to create EventFames template. I was able to create Elements template, but wasn't able to find any details for the EventFrames template?
Internally, Event Frames behave much like Elements that have a finite lifetime. To create an EF template, create an Element template with an InstanceType of 'EventFrame ':
Edit: This will be available in the upcoming version of PI Web API.
Check out this live library link: AFElementTemplate.InstanceType Property . Using the InstanceType Property you can set the type for your template.
myTemplate.InstanceType = typeof(AFEventFrame));
I'm not using the SDK, I'm only using the REST Pi Web API
When is the next version release where we will get that option on the template creation?
The date is TBD. If everything goes as planned, PI Web API 2016 will be released soon after the Users Conference (the UC is next week).
Retrieving data ...