AnsweredAssumed Answered

PI ACE and Digital outputs

Question asked by RGarshol on Feb 23, 2018

I've written a short PI ACE program which is not giving me the result i expect. I expect the output tag to toggle between "True" and "False" . However the output tag is not updating.

 

The short ACE program:

 

Public Overrides Sub ACECalculations()

        If test.Value <> "FALSE" Then

            test.Value(ExeTime) = 0

        End If

        If test.Value <> "TRUE" Then

            test.Value(ExeTime) = 1

        End If

    End Sub

 

I've also tested setting the test.value="True"/"False" with the same result.

Can anyone spot where I fail?

Outcomes