Unipisa / Simu5G

Simu5G - 5G NR and LTE/LTE-A user-plane simulation model for OMNeT++ & INET
https://simu5g.org
Other
150 stars 87 forks source link

I can't get the 3 defined signals in the file in the outputs #8

Closed edadilann closed 3 years ago

edadilann commented 3 years ago

Hello there; I am interpreting various outputs from Simu5G sample simulations. But I can't get the 3 defined signals in the CbrSender.cc file (which is also the Receiver) in the outputs. I will add the signals below.

simsignalt CbrSender::cbrGeneratedThroughtputSignal = registerSignal("cbrGeneratedThroughtputSignal"); simsignalt CbrSender::cbrGeneratedBytesSignal = registerSignal("cbrGeneratedBytesSignal"); simsignalt CbrSender::cbrSentPktSignal = registerSignal("cbrSentPktSignal");

When I ran it by putting a breakpoint, I saw that the following commands did not work.

emit(cbrGeneratedBytesSignal, size);

In addition, no command has been written to the "cbrSentPktSignal" signal and I can't get it in the output.

giovanninardini commented 3 years ago

Hello, which simulation example did you run?

edadilann commented 3 years ago

Dual Connectivity MultiCell but I used CBR in the application setup.

giovanninardini commented 3 years ago

In the latest version of the code, i.e. in the master branch, CBR is used as application for the dualConnectivity_multicell scenario,

https://github.com/Unipisa/Simu5G/blob/master/simulations/NR/dualConnectivity_multicell/omnetpp.ini

By running the examples, the statistics you mention are produced correctly.

edadilann commented 3 years ago

Thank you i will check !