About extracting results from odb during a simulation

Hi,

 

I would like to extract results, e.g., some state variables, from odb file and output them to an external file using python on a regular basis during a simulation in ABAQUS. I notice that this is usually not permitted, but I am wondering whether it will work if I set the boolean readOnly as True in openOdb() since the default value is False for readOnly flag there. Thanks!