Error of "Uniform" block

Tom_abc
Tom_abc Altair Community Member
edited February 2022 in Community Q&A

I opened a Vissim file which can run successfully before. However, this time when I opened it, an error occurred (see Fig below). It said that "Uniform.7860(Compound) is missing output tab 1". And I cannot click on that block called "uniform". I think that block was inteded to generate some random numbers, and it was a built-in block. Why does this error happen? Is it because this built-in function no longer available? How can I fix it to run the model?

image

Answers

  • Andrei Urtmintsev
    Andrei Urtmintsev
    Altair Employee
    edited February 2022

    Embed does have a uniform block under Blocks > Random Generator.

    Reading your description, my first thought is that the diagram i.e. .vsm file can be corrupt. Is it possible to share your diagram (.vsm) here?

  • Tom_abc
    Tom_abc Altair Community Member
    edited February 2022

    Embed does have a uniform block under Blocks > Random Generator.

    Reading your description, my first thought is that the diagram i.e. .vsm file can be corrupt. Is it possible to share your diagram (.vsm) here?

    Thanks Andrei! I'm afraid that the ".vsm" file cannot be uploaded. I will check the program to replace them by the "Blocks > Random Generator"

  • Andrei Urtmintsev
    Andrei Urtmintsev
    Altair Employee
    edited February 2022

    I understand. Can you at least copy-paste and save the diagram excerpt from the picture?

  • Tom_abc
    Tom_abc Altair Community Member
    edited February 2022

    I understand. Can you at least copy-paste and save the diagram excerpt from the picture?

    Hi Andrei, here I attached those blocks shown in the picture. What is interesting is that at the original vsm file, I cannot went into the "uniform" block (i.e., right-click that block and then nothing happened). However, when I pasted those blocks into this new vsm file, that "uniform" block seems become just a "compound" with nothing inside it (i.e., I can right-click on it but nothing existed inside it).

  • Andrei Urtmintsev
    Andrei Urtmintsev
    Altair Employee
    edited February 2022
    Tom_abc said:

    Hi Andrei, here I attached those blocks shown in the picture. What is interesting is that at the original vsm file, I cannot went into the "uniform" block (i.e., right-click that block and then nothing happened). However, when I pasted those blocks into this new vsm file, that "uniform" block seems become just a "compound" with nothing inside it (i.e., I can right-click on it but nothing existed inside it).

    I can see inside something strange what I do not expect from a compound block.

    If you open your small file in Embed, then remove the compound block, then create a brand new compound block and name it "uniform". Save the diagram with a different name. If you open .vsm file in any text editor, even Notepad, and scroll to near bottom, you'll see something

    N.NUMBER="Compound" and so on

    Compare yours and freshly saved. I have no idea how to get where your original diagram was.