OMNeT++ Community Site
  Welcome to OMNeT++ Community Site Monday, October 13 2008 

Mailing list archive (omnetpp-l at omnetpp.org)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [omnetpp] Get current [run] from module



Patrick Haeflinger wrote:
> Hi Alberto,
>
> You can use :
>     simulation.runNumber()
> to get the needed information
>
> Hope this helps
>
> Patrick
>
> Alberto Núñez a écrit :
>   
>> Hello all!
>>
>> I need to obtain, from a module, the current run number of a simulation.
>>
>> I have a omnetpp.ini with several runs...
>>
>> [Run 1]
>> ...
>>
>> [Run 2]
>> ...
>>
>> [Run N]
>> ...
>>
>> Can I obtain the "Run" number?
>>
>> I am trying to get this information from ev.config() but I do not get it! :(
>>
>> Thanks in advance!
>>
>>   
>>     
> _______________________________________________
> OMNeT++ Mailing List
> options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
> archive: http://www.omnetpp.org/listarchive/index.php
>   
Oks.

Thanks for your help! ;)

-- 
-------------------------------------------------------------
Alberto Núñez Covarrubias
Computer Architecture, Communications and Systems Area.
Computer Science Department. UNIVERSIDAD CARLOS III DE MADRID
Avda. de la Universidad, 30
28911 Leganés (Madrid), SPAIN
e-mail: anunez at xxx
	anunez at xxx
Web: http://arcos.inf.uc3m.es/~anunez/
Phone:(+34) 916249104
FAX: (+34) 916249129
-------------------------------------------------------------

_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php

Home | Main Index | Thread Index


 Copyright © 2008 OMNeT++ Community Site
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By GeekLog v1.3.7sr1 
Page created in 0.06 seconds