Question (plane with parameters)

Question (plane with parameters)

samuel_patarroyodiaz
Enthusiast Enthusiast
157 Views
4 Replies
Message 1 of 5

Question (plane with parameters)

samuel_patarroyodiaz
Enthusiast
Enthusiast

Hello everyone, 

 

Iam trying to use the parameter in my model to control how many lines (planes) ans operators with a dispacher option  i'll need it, but some happend with i use 2 planes for the processor2 (not call the operator2) and i not sure haw can i fix it. 

samuel_patarroyodiaz_0-1746027602953.png

 

The operator 1 works great, but not for the operator2. 

 

Attached model. 

 

Thank you . 

 

 

 

0 Likes
Accepted solutions (1)
158 Views
4 Replies
Replies (4)
Message 2 of 5

ABajpaiWMKNX
Enthusiast
Enthusiast

Hi, i have an unrelated question. How did you attach the fsm file to this query? I have been trying to attach the .fsm file to my question but it does not allow me to do so. 

0 Likes
Message 3 of 5

samuel_patarroyodiaz
Enthusiast
Enthusiast

Hi, drag and drop in this option. 

samuel_patarroyodiaz_0-1746039145027.png

 you'll see de model atached (exemple)

samuel_patarroyodiaz_1-1746039183127.png

 

0 Likes
Message 4 of 5

moehlmann_fe
Enthusiast
Enthusiast

When the plane gets copied, the connections between objects within the plane get copied as well. Connections of the plane itself to other objects (Queue3 and Queue4) get recreated as well in the OnSet code of the parameter. However, connections of objects inside the plane to objects outside the plane (the processor-dispatcher connections) to not get copied over). Processor1 isn't actually using the operator for anything, so the missing connections is not an issue there.

 

You either have to adjust the OnSet code to recreate those connections as well, based on objects names.

moehlmann_fe_0-1746429187494.png

Or, instead of using centerport-connections, you just use a fixed reference to the respective dispatcher in the processor properties.

moehlmann_fe_2-1746429283105.png

 

 

0 Likes
Message 5 of 5

samuel_patarroyodiaz
Enthusiast
Enthusiast
Accepted solution

Thankyou @moehlmann_fe , now works. 

 

 

0 Likes