Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

How to reference an element on a visiualization in program?

yue-qi-qi
2012-10-19
2012-10-22
  • yue-qi-qi - 2012-10-19

    Hello:
    I met a problem, I want change the property (m_SubRange.iEndIndex) of a comboBoxInteger when the PLC is running based on deferent condition but not at design time. But I do not know how to reference the comboBoxInteger element in the program. Can anyone help me?

     
  • yue-qi-qi - 2012-10-22

    anyone can help me?

     
  • TimvH

    TimvH - 2012-10-22

    This doesn't seem possible. You cannot select a variable, only a fixed value.
    Maybe you can send a request for this new feature to the support of 3S-Smart Software Solutions.

     
  • yue-qi-qi - 2012-10-22

    I think it should be。Every element on a visu is just an instance of a control class. There must be a way to access the instance at runtime,but I just do not know how。

     

Log in to post a comment.