AnsweredAssumed Answered

analyses

Question asked by Omar_Sanchez_TOYOTA on Oct 4, 2019
Latest reply on Oct 11, 2019 by Omar_Sanchez_TOYOTA

Hi good morning, I am new in this forum and with PI System as well. For that reason, I would like to ask you about when you aim to create an analyses (Event Frame Generation) inside an Element, sometimes the operation is detected as invalid, even the syntax is correct. Let me show you an example:

CASE 1

- Start trigger: 'A' <> 0 And 'B' = 0 for 20 minutes

- End trigger: ('A'=0 And 'B'=0) Or ('A' = 0 And 'B' <> 0) 

That works without any problem. 

CASE 2

- Start trigger: 'A' <> 0 And 'B' <=200

- End trigger: 'A'=0

And in this case, the error is: StartTrigger1: Cannot convert Invalid operation: [enumVal] <= [number] to bool.

Please, I would be grateful if you could help me with this issue.

 

Thank you very much,

Regards,

Omar. 

Outcomes