0 Replies Latest reply on Feb 23, 2018 2:09 PM by RGarshol

    PI ACE and Digital outputs


      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?