03-12-2013 05:11 PM
how do I write on the first line of the recording a name and then go as I currently code.
03-12-2013 08:57 PM
I couldn't decypher what you are trying to say.
@strunf wrote:
how do I write on the first line of the recording a name and then go as I currently code.
Are you trying to assign a name to the waveform graph? Ohh.... Are you trying to create a new file and assign a filename? Well... the way you have it coded at the moment, it will prompt you for a filename and you can browse for a path... I could not see anything else that could get a name..
Unless you are trying to assign a name for the channel which is getting plotted.. But I don't know what you are trying to do.. Can you describe again?
03-13-2013 04:49 AM
How to make the saved file to show the first row as my name and on the others to be the generated numbers
03-13-2013 08:04 AM - edited 03-13-2013 08:10 AM
That is very easy. You were so close...
See snippet below.
If you like the solutions, don't forget to give +Kudos and/or to Accept as Solution.
The string "My name is Ray" ends with a carriage return. If you right click on the string constant, you can select '\' Codes Display and you will see the '\n' as shown in the formatting string %.3f\n.