Have you tried the format PI Web API returns Timestamps with?
Also enclosing the time string with double quotes could help but please verify with the result if it is what you've been looking for
I can confirm that formatting the time parameter using the timestamp format allows me to express the same value.
From the reference manual:
\PI Web API 2015 R3 Programmer Reference\help\topics\time-strings.html,
Note to callers
Some formats with missing hours, minutes, and/or seconds that were supported by PI Time are not supported. For example "hh:mm" is supported, but "hh::ss", ":mm:ss", and "::s" are some formats that are not supported. The format must be supported by Microsoft .NET's DateTime.TryParse method.
- "*" (now)
- "*-8h" (8 hours ago)
- "01" (first of current month)
- "01/01" (first of current year)
- "Sat, 01 Nov 2008 19:35:00 GMT + 2y+5d-12h+30.55s"
- "Today" (Today at 00:00)
- "Yesterday + 03:45:30.25"
1 of 1 people found this helpful
You can make that work by doing:
I could make addition of relative time stamps work by doing for example:
To write beyond than 10m than current time, you need the target tag to be created as a future tag not a normal tag.
See our documentation: Future PI points
I don't know what time it was for you when trying to write at T+5:30, so I can't confirm that this was your issue, but this is something that is definitely good to keep in mind
Hope this helps,
Thanks for the insight.
I was trying to get the value of the tag from PI server using the above time-stamps.