Simple Bar Gauge case ..

34 views
Skip to first unread message

Stephan Eibl

unread,
Jul 16, 2026, 2:16:09 AM (8 days ago) Jul 16
to JaamSim Users Discussion Group
Dear Community,
I successfully used the bar gauge several time .. now I got the error message: received COLLECTION expected NUMBER.
Appreciate your ideas. Many thanks.
Best
Stephan



Bild1.jpg

Harry King

unread,
Jul 16, 2026, 1:53:26 PM (8 days ago) Jul 16
to JaamSim Users Discussion Group
Hi Stephan,

Look at the FractionComplete output for the EntityProcessor in the Output Viewer. You will see that it is an array of fraction values, one for each entity that is being processed.

Harry

Stephan Eibl

unread,
Jul 18, 2026, 8:23:23 AM (6 days ago) Jul 18
to JaamSim Users Discussion Group
Hi Harry, Many thanks.
Sorry to get it correct .. The bar gauge only works with a Server and not with an EntityProcessor ?
Stephan

Cristiano Silva

unread,
Jul 18, 2026, 1:34:48 PM (6 days ago) Jul 18
to Stephan Eibl, JaamSim Users Discussion Group
It works with the entityprocessor as well, in the latest version.

Atenciosamente,
Cristiano Luís Turbino de França e Silva
==============================
                      GNU / Linux
    ,                ,       /       .-.
   /                  \     /      (e e)
  ((__-^^-,-^^-__))   /     _.`V'._
    `-_---' `---_-'      /    //~~W~~\\
  <__|o ` 'o|__>   /    //,           ,\\
        \   `  /       /    // |            | \\
         ):  :(      /      \) |            | (/
        :o_o:    /           \           /
          "-"    /              `w -  w'


--
You received this message because you are subscribed to the Google Groups "JaamSim Users Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaamsim-user...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/jaamsim-users/e8bb6368-ffa0-44e4-9092-fede7e55b466n%40googlegroups.com.

lorenz...@gmail.com

unread,
Jul 18, 2026, 1:42:03 PM (6 days ago) Jul 18
to Stephan Eibl, JaamSim Users Discussion Group
Hello,

I guess you should input a scalar, not an array.
EntityProcessor gives you an array of values for different entities being processed but the BarGauge accepts only a scalar value. You can pass to the BarGauge only one value taken from an array or you can make a function to manipulate the values of the array to return a scalar (for you meaningful to show).

Regatasse,
Lorenzo

Inviato da iPhone

Il giorno 18 lug 2026, alle ore 14:23, Stephan Eibl <joee...@gmail.com> ha scritto:


--

Cristiano Silva

unread,
Jul 18, 2026, 1:50:54 PM (6 days ago) Jul 18
to lorenz...@gmail.com, Stephan Eibl, JaamSim Users Discussion Group
attached template

Atenciosamente,
Cristiano Luís Turbino de França e Silva
==============================
                      GNU / Linux
    ,                ,       /       .-.
   /                  \     /      (e e)
  ((__-^^-,-^^-__))   /     _.`V'._
    `-_---' `---_-'      /    //~~W~~\\
  <__|o ` 'o|__>   /    //,           ,\\
        \   `  /       /    // |            | \\
         ):  :(      /      \) |            | (/
        :o_o:    /           \           /
          "-"    /              `w -  w'

aula7.cfg

Stephan Eibl

unread,
Jul 18, 2026, 2:10:56 PM (6 days ago) Jul 18
to JaamSim Users Discussion Group
Dear Cristiano and Lorenzo,
Many thanks .. the example helps .. I will try.
Best
Stephan
Reply all
Reply to author
Forward
0 new messages