Use For Loop and Simulate Signal to create a couple of signals. Using Set Waveform Attribute Function add the hard code header then merge the signals and use Write To Measurement File VI Express to Write the signals into the specified file.
Steps to Implement or Execute Code
1. Open the VI and switch to the block diagram.
2. Configure the Write to Measurement File to write the data to a known location 3. Run the VI