AnsweredAssumed Answered

Analysis will not write ouput

Question asked by Johnny.bjanesoy on Aug 16, 2018
Latest reply on Aug 17, 2018 by sraposo

Update & Edit: The problem has become more clear after further debugging and rewriting so post is edited to support this


I have a bit conundrum with my AF Analyses

I have a custom symbol in PIvision that switches the value of a PIpoint from 1 to 0 and vice versa on click. It does this through a GET and PUT request to the webID of the point.

The purpose is activate some analyses running on the AF server. After a given time, an analysis is supposed to set the value to 0 through Output Attribute mapping.


It does however not write any values. The mapping is correct, code checks out and it evaluates correctly but no value is saved. Same for Periodic instead of Event-Triggered.

Code in question is simple:{      If(timeSinceLastUpdate > timer) Then 0 Else NoOutput()      } where the variables are simple integers defining time.


So far I cannot understand why this should be an issue but I suspect that since I am updating the value from my custom symbol, some measure in AF prevents the analysis from writing the value.

Anyone got any info on this?


AF Version