If you want to do that, then you have to program it... Make a case statement and let the user select when to save data to a file. Or make some logic and start your microwave generator only at certain conditions... All the same programming: make a case statement of it, like in every other language.
Best regards, Gerd