
140: Opens an IO path for sending binary data to the signal generator. 150: Creates an ASCII string representation of the number of bytes in the waveform. 160 to 170: Finds the number of digits in Nbytes. 190: Sends the first part of the SCPI command, MEM:DATA along with the name of the file, data_file, that will receive the waveform data. The name, data_file, will appear in the signal generator’s memory catalog. 200 to 210: Sends the rest of the ASCII header. 230: Sends the binary data. Note th