AnsweredAssumed Answered

How to inject timeProvider in PI Vision 4?

Question asked by Roger Palmen on Apr 10, 2018
Latest reply on Aug 29, 2018 by jsintilas

I'm a bit stuck here. I'm trying to get at the current time context (start- and endtime) of the display to insert into my PI Web API calls, but i can't find how to get that in.

I expected that, just like migrating from PIV3 to PIV4, i just needed to add an import of timeProvider from @angular/core, and then include that in my constructor: private timeProv: timeProvider.

 

But timeProvider nowhere to be found. Any clues?

Outcomes