question

Nanae H2 avatar image
0 Likes"
Nanae H2 asked Nanae H2 commented

how to access the status that inside process of Multiprocesser

Could the text object show the item status which is inside process at Multiprocess?

It seems to be in a tree node as shown in the following image, but I don't know how to access it.

screenshot.jpg


I guess it's easier if it separate each process to single processor object,

but there is a request consider connecting the object by digital twin in the future.

so its seems be helpful that objects and real facilities are the same number.


I appreciate anyone's help. thanks in advance.

sample.fsm

FlexSim 22.0.0
flexscriptscriptmultiprocessortreenode
screenshot.jpg (95.7 KiB)
sample.fsm (27.6 KiB)
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
1 Like"
Felix Möhlmann answered Nanae H2 commented

Choose 'Display Object Statistics' in the text display field. Then sample the multiprocessor and choose to display its state.

1657606717505.png

1657606748706.png

This will make the text show the current state in the default profile. To show the multiprocessor profile, open the code window and look for 'case 2'.

1657606848191.pngReplace the line after it with the following:

1657606893135.png

This is newer syntax than the default code. The '1' after state signifies that the state from the first (custom) profile should be read. Leaving the parentheses blank or typing in '0' would again show the default profile.

sample_fm.fsm


1657606717505.png (11.9 KiB)
1657606748706.png (9.8 KiB)
1657606893135.png (4.3 KiB)
sample-fm.fsm (27.1 KiB)
· 3
5 |100000

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

Nanae H2 avatar image Nanae H2 commented ·

@Felix Möhlmann

thank you for your answer. that is what I looking for.


by the way...

could I brif confirm that is possible or not to show from following?

1657620193670.png

0 Likes 0 ·
1657620193670.png (100.9 KiB)
Felix Möhlmann avatar image Felix Möhlmann Nanae H2 commented ·

In the first comment below the answer of this post, Phil BoBo describes how you can customize what is being shown in that box.

https://answers.flexsim.com/questions/111348/showing-stats-in-running-model-in-3d-area-above-or.html

0 Likes 0 ·
Nanae H2 avatar image Nanae H2 Felix Möhlmann commented ·

ah...I missed that answer.

thank you for your help.

0 Likes 0 ·