Showing results for 
Search instead for 
Did you mean: 

experiment manager running

Dear Community,


a simple question i can't solve though; for doing simulation i can use both experiment manager and event controller.

i have write a method to save custom data but, when i use experiment manager, i need to save the data in a different type of folder and name so i need a code to understand when the experiment manager is running or not.

i've looked the whole methods but i wasn't able to find anything.

i've tried to use the user method of experiment manager but unfortunately is called just at the beginning and not at every experiment so it's useless.

Thank you.


Re: experiment manager running

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello Francescopoli,


the Eventcontroller has an attribute called "ExperimentManager". This attribute is void whenever the simulation is not run by an ExperimentManager. So you could set a statement like this in your write a method 


if EventController.ExperimentManager/=void
	--your method
Kind regards,

Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution

Re: experiment manager running

It is exactly what i need, thank you so much.