Function Cicode calling not working

Hello All,

I'm using Citect Scada 2018 R1 update 16. We are struggling to have cicode functions working. How do i call a function from a graphical page.

Below is the current function call. Are we missing anything?

Parents
  • Try making it simpler: put the cicode as the action on a button click or something rather than as a "Cicode" graphic object (Which will continually call the same code). 
    It's hard to make out what your code is doing, but from the looks of things you're trying to set a bunch of variables based on other conditions... why are you doing this from a graphic? I'd consider rethinking the approach

Reply
  • Try making it simpler: put the cicode as the action on a button click or something rather than as a "Cicode" graphic object (Which will continually call the same code). 
    It's hard to make out what your code is doing, but from the looks of things you're trying to set a bunch of variables based on other conditions... why are you doing this from a graphic? I'd consider rethinking the approach

Children