Page 1 of 1

Macro to Export Signal (Time, Response) to CSV file

Posted: Sun Oct 10, 2010 4:09 pm
by Hossam
Hi dears, I need a macro line(s) that could export the current channel file (Signal) to CSV file. Thanks in advance

Posted: Mon Oct 11, 2010 12:37 pm
by DR
Without more details, you will not get much of an answer.

That said, most chromatography data systems (CDS) include a provision for exporting raw data into CSV format. If it comes out as a single column of numbers, you need only look up the sampling rate for the injection and you can easily make a companion column for elapsed time, in seconds.

Posted: Mon Oct 11, 2010 4:18 pm
by Hossam
Dear DR
Thank you very much for your reply. I could generate the CSV file from the export menu but I was hoping to have a command line that I could insert in my macro. The macro will be used to generate all the files included in my project directory (more than 100 Channel files). Thanks again for your earlier reply.

Hossam

Posted: Tue Oct 12, 2010 12:46 pm
by DR
Others may have experience with this sort of thing - if you provide at least the name of your data system, the appropriate persons may chime in.

Posted: Thu Oct 14, 2010 2:27 pm
by GasMan
If you do a search on this forum for 'CSV', you will find a macro that I supplied to an earlier posting that should do what you what to do.

Gasman

Posted: Sun Oct 17, 2010 11:39 am
by Hossam
Dear Gasman
Thank you very much. it work very fine.
Thanks again