ivan dell'oro - 2013-12-09

Hi, i want to dump the coverage data to a .ec file on a certain path and then reset the coverage data to restart calculate it during a test.
Till now i've written the command like:

CtlProcessor ctl=CtlProcessor.create();
ControlRequest[] cr=new ControlRequest[2];
cr[0]=ControlRequest.create(ControlRequest.COMMAND_DUMP_COVERAGE, null);
cr[1]=ControlRequest.create(ControlRequest.COMMAND_RESET_COVERAGE, null);
ctl.setCommandSequence(cr);
ctl.run();

but i'd like to know where to put the path for the file and if this command is well written, 'cause there is no documentation for Emma usage.
Thank's in advance.
IDell