function to export signals as text files for arbitray waveform generator
number of array elements = 5