My aim is to create a new file and within the same run write header info.(using Write to file) and data (using Write to Measurement file) into the txt file inside the folder.
I create the path by combining the input file path and time.
I'm not sure I understand your meaning. I'm so sorry.