I am using ICM code 007 to run simulations. However, when exporting the results, I encounter an error accessing the data — even when exporting from an older simulation. I assume this is because the code has not released the database.
My code is organized into different modules, so running and exporting are handled by separate classes. Adding a wait command hasn’t helped either.
The only workaround I’ve found is to include two separate Ruby scripts in the BAT file: one for running the simulation and another for exporting the results.
Is there a method I can call to explicitly release the database after running a simulation, or any other way to resolve this issue?
kind regards
I am using ICM code 007 to run simulations. However, when exporting the results, I encounter an error accessing the data — even when exporting from an older simulation. I assume this is because the code has not released the database.
My code is organized into different modules, so running and exporting are handled by separate classes. Adding a wait command hasn’t helped either.
The only workaround I’ve found is to include two separate Ruby scripts in the BAT file: one for running the simulation and another for exporting the results.
Is there a method I can call to explicitly release the database after running a simulation, or any other way to resolve this issue?
kind regards