question

Jyhjeng D2 avatar image
0 Likes"
Jyhjeng D2 asked Jyhjeng D2 commented

Can't find Status Vs Time for Operator Objects Under Listen to Object

Hi:

I used consultant Felix's program to find the status chart for the operator. There I can find the Status Vs Time for Operator Objects Under Listen to Object as shown below.

listen-to-object.jpg

status-vs-time-for-operator-objects.jpg

The flexsim prStatus_of_an_operator-B.fsmogram is attached. However, rebuilt the program from scratch by building a statistics collector. I found that I cannot find the Status Vs Time for Operator Objects Under Listen to Object as shown below. I don't know why? What happened?


listen-to-object-02.jpg

status-vs-time-for-operator-objects-02.jpg

The flexsim program is as attached. Primer_2-5C.fsm


FlexSim 22.0.1
status for opeator
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Jyhjeng D2 commented

"Status VS Time for Operator Objects" is a group that was created as part of the installed chart components. If you manually create a group in the toolbox and add the operator(s) to it, it should appear in the events menu as well.

· 10
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jyhjeng D2 avatar image Jyhjeng D2 commented ·

Ok, I built a group. But I still get an error message as follows.

"exception: FlexScript exception: Label property Objects retrieved on /Tools/StatisticsCollectors/Status Vs Time for Operator Collector. Label does not exist. at MODEL:/Tools/StatisticsCollectors/Status Vs Time for Operator Collector>variables/eventReferences/On Reset/rowValue

time: 0.000000 exception: FlexScript exception: Label property Objects retrieved on /Tools/StatisticsCollectors/Status Vs Time for Operator Collector. Label does not exist. at MODEL:/Tools/StatisticsCollectors/Status Vs Time for Operator Collector>variables/eventReferences/On Warmup/rowValue"

It stressed label does not exist. But how to fix it?

The new program is attached.

https://drive.google.com/file/d/1P8BswQwU28w_f-tIn3NtiDxJ64X1cG3L/view?usp=share_link

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Jyhjeng D2 commented ·

This label is defined on the Statistics Collector. It is used in the reset and warmup events to reference the group of objects that the collector is listening to.

1679297287251.png

The error does actually tell you where the label was expected but not found.

1679297357516.png

0 Likes 0 ·
1679297287251.png (10.2 KiB)
1679297357516.png (16.0 KiB)
Jyhjeng D2 avatar image Jyhjeng D2 Felix Möhlmann commented ·

Ok. I fix it, but there is still some problem. The show legend shows an odd number, 416214050, instead of FinishOperator_1. Plus, I cannot set up the time unit to minutes. The result is shown below.

show-legend-incorrect.jpg


The program is attached. Primer_2-5C2.fsm

0 Likes 0 ·
Show more comments
Jyhjeng D2 avatar image Jyhjeng D2 commented ·

I made some amendment. But still get the same error. File is attached below.

https://drive.google.com/file/d/1oDIbd_dJRFtFGnIeun3GpN7PAO7UIAGD/view?usp=share_link

0 Likes 0 ·