Dear Oleg, your answer helped me very much. My question is: how can I optimize the write to file operation, that is I need something to control file destination name in order to avoid that puictures are overwritten when I press again the enable button. I am asking something similar to what is present in Write LabVIEW Measurement File, option "Use next available file name"