Export Data to .csv file (in Excel)
Hello everyone!
I am new to Max/MSP so it might be a easy question. I designed a project using Max/MSP to display data from external sensor device. Now I need to export those float data from Max/MSP to a .csv file that can be opened using Excel. I have searched through many posts and tried many strategies, such as sending a trigger message to write to a .csv file, but none of them worked. Would anyone give me any suggestions about the best way to do that?
I attached an image below that shows how the output .csv is supposed to look like. For example, in Max/MSP, I receive float data from 3 sensors respectively. Because those values will change, I would like to export all the previous values to the .csv file under different categories (sensor 1, 2, 3) as a record. Is there anyway to do that? I just started learning Max/MSP, so examples will work the best for me. Thank you very much!
With the [text] object you can format delimited strings which can be written to file on any given moment.
Please see: text.maxhelp
Best FJ