Assign Variable does not worj

Please help me to find what I am doing wrong. I just want to assign a value to a variable but it’s not working.

Seems that you are trying to use an integer variable which would persist its value between executions of process. For that purpose you need to create a component property to the component that has the process, in this case a property named “count”.

1 Like

I think it’s enough just to define the variable in the routine properties. See the following example.

1 Like

Thank you :slight_smile:

Thanks for your help.
What do You mean by “variables need to be defined beforehand”

I made a new varieble byt I can not find it when I want to use it in SendSignal statement.

Hy,

signals are not process routine variables!

Signals are placed in components, process routine variables in a Process…

May look at some courses in here: https://academy.visualcomponents.com/

  • For signals, look in basics of component modelling
  • Process Modelling contains the stuff of process routine variables

Regards
Feature

1 Like