Variable definition: Removed connector causes "connection loop"

Altair Forum User
Altair Forum User
Altair Employee
edited November 2020 in Community Q&A

Submitted by ParryKestrel on Mon, 07/16/2012 - 20:59 

I was wondering if someone can tell me the difference between these variable definitions. One has the variable with the output connector and the other is with the output connector removed. I have a simulation that runs fine however, when I begin removing the output connectors on variable definitions to clean up it begins to fail. It fails with the error 'Connection Loop'. I have seen the other forum post on that error and installed the most updated version available on the website. I am using V7.0A. I am curious as to how there is any difference at all between the definitions. Please see the image. http://imgur.com/ZPPIn

Also similarly, I am in the habit of removing the large black arrow when I use a defined variable. I remove the arrow since it is already defined and there is no need for inputing a signal into an already defined variable. When I do this am I altering the variable somehow?

Unable to find an attachment - read this blog

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Anders89 on Mon, 07/16/2012 - 22:00.

    There should be no difference in sim behavior between variables with and without input pins so long as there is at least one instance of the variable name with it's input connected. Removing the input pin on non-defining instances of a variable should not have any effect on the simulation. Likewise, removing the output pin on a defining instance should also have no effect.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by ParryKestrel on Mon, 07/16/2012 - 22:48.

    Thanks for your quick reply.

    I don't know what else it could be. It definitely seems to be linked to removing the output pin.

    I have a simulation that I can run 100+ times in a row without error. When I remove the output pins on two globally defined constants like in the picture [ZERO and ONE], it crashes every time after 31 simulations.

    When I remove all of the output pins on every block where they are not necessary it doesn't run once.

    It won't let me upload the vissims but I can email a copy of what I'm experiencing if you wouldn't mind taking a look.

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Anders89 on Tue, 07/17/2012 - 05:03.

    Please email to support@vissol.com

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by Anders89 on Tue, 07/17/2012 - 22:47.

    OK, we got your diagram. It works fine in v8. Looks like you'll have to upgrade.