Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

How to read IOs with C#.

Hi, everyone.
I'm wondering - How can I read IO from IRC5 controller with C#? Example - when di1 is changed I would like to make some actions. This is my pseudo code:

"
    // Cn = new Controller;
   Cn.?? += SignalChangedEven;
   private void SignalChangedEven(Object sender, SignalChangedEventArgs e)
        {
            if (cn.? == true)
            {

            }

            if (true)
            {
                 do something;
            }
        }
"
Thank you.

Best Answer

Answers