Random Feeder

AlexRadAlexRad Cluj-Napoca, Romania
Hello,

I am having trouble with a feeder smart component which is supposed to generate two kinds of objects(Piesa_M and Piesa_N) in a random order. 


If the random number is >0,5 then Piesa_N is created, otherwise Piesa_M is created. But for example if the random number is >0,5 two times in a row , the Comparer Output is already set to 1 from last time so a new object fails to create.

Can someone please help me

Thanks,
Alex

Comments

  • AdnanAdnan Göteborg admin

    Hello,


    Why don't you reset the output every time it creates new object or try and create a new SC.


    /Adnan

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion