How to show AGV status in words dynamically

How to show AGV status in words dynamically

shanice_c
Not applicable
316 Views
1 Reply
Message 1 of 2

How to show AGV status in words dynamically

shanice_c
Not applicable

[ FlexSim 21.1.4 ]

In my model, AGV is executing particle monitoring in fab, so I need to display the numerical value whenever completing measuring. Also, I'd like to show AGV status(traveling, measuring,...) in words. Currently I give AGV a label called "status"(this is a number label). And in the position above my model, I use Visual > Text to show AGV state, however, I hope to show status in words directly so that it's more intuitive to understand. I reassign label value(0~4) in process flow whenever AGV take different actions. How could I reassign status in words, also how could I display them dynamically.

AGV status display.fsm

0 Likes
Accepted solutions (1)
317 Views
1 Reply
Reply (1)
Message 2 of 2

SCHamoen
Advisor
Advisor
Accepted solution

@Fiona C In the command help you can find the functions getstatestr, getstatenum, setstate and setstate_s. these are all deprecated and one should use the object.stats.state().value or valueString but they give some extra info. For instance the valueString is not mentioned in the API reference.

0 Likes