Search code examples
qtomnet++veins

How to add a text box and show data on Veins Qtenv?


I am using Veins to do some Mobile Edge Computing simulations. To improve the visual effect, I am trying to show real time data of some nodes. For example, my application will return the communication delay in real time. In the Qtenv of Veins, I want to show the delay values in a text box just above the node icon. How to realize that? Or in which documentation can I get some help? Any advice will be appreciated!


Solution

  • Setting a node's Display String (specifically, its t tag) should do exactly that. See https://omnetpp.org/doc/omnetpp/manual/#cha:display-strings for the full documentation.