question

Rafael de Assis avatar image
0 Likes"
Rafael de Assis asked Jason Lightfoot edited

How do I make a AGV level battery display?

I would like to make a display whith shows the battery level of AGV, I would like that display stayed in side of park point. I looked for some similar project, but I dont find or I cant open de file because de version.

Modelo situação AGV elevador.fsm

FlexSim 21.1.5
agv battery leveldisplay
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 Jason Lightfoot edited

You can use a Text object to display the battery level. You only need a reference to the AGV, which you could get by setting up a pointer label on the text object.

You read the battery level through "AGV(reference).batteryLevel". To have the text show this value, convert it to a string and assing it to the "textnode" treenode variable in the Text Display code.

modelo-situacao-agv-elevador-fm.fsm


· 2
5 |100000

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