In video recording: stop after a provided time

Requests or suggestions for new features
Post Reply
dr_no
Posts: 5
Joined: 30 May 2016, 16:53

In video recording: stop after a provided time

Post by dr_no »

Hello,

In the video recorder Plugin, for long simulations, a time bounded recording would be really handy. It would be even better to end the simulation based on a script variable.

Thanks!

coppelia
Site Admin
Posts: 10364
Joined: 14 Dec 2012, 00:25

Re: In video recording: stop after a provided time

Post by coppelia »

Hello,

you have 2 possibilities:
  • in the simulation settings dialog, you can request a simulation pause after a certain time. This will however only halt the video recorder, not end it (it will end once you stop the simulation)
  • in a child script you can call simStopSimulation. The function will trigger a simulation stop request, that could stretch over several simulation steps (in order to properly stop the simulation)
Cheers

dr_no
Posts: 5
Joined: 30 May 2016, 16:53

Re: In video recording: stop after a provided time

Post by dr_no »

Thank you for the reply.

I stopped the simulation, but the video recording was still running. Did I miss something ?

Thanks

coppelia
Site Admin
Posts: 10364
Joined: 14 Dec 2012, 00:25

Re: In video recording: stop after a provided time

Post by coppelia »

The video recording will only automatically stop at the end of a simulation if you previously checked the box Launch at next simulation start.

Cheers

dr_no
Posts: 5
Joined: 30 May 2016, 16:53

Re: In video recording: stop after a provided time

Post by dr_no »

It is working, thanks!

Post Reply