Search code examples
csvomnet++inet

Generating a DATASET using OMNet++


After creating a Simulation using OMNet++ and with the help of the INET framework , i have generated .vec and .sca files , the problem is that when i want to import the .csv file i don't get some important features such as the event number , time ...etc., the features that i get are here in this picture :
my output

So please, what should i do to make these features appear in my output ?


Solution

  • It may be possible to get the event number: https://doc.omnetpp.org/omnetpp/manual/#sec:ana-sim:vector-eventnum-recording but it is not exported by default to CSV

    You are already geting the vector time in the value "vectime".

    Each vector has a comma separated list of times in vectime and a corresponding comma separated list of values in vecvalue.