Author |
Topic  |
|
cindynico
18 Posts |
Posted - 04/02/2025 : 05:05:39 AM
|
Dear all, I'd like to know if it was possible to automate the following successive treatments : 1. Import single ASCII (-> file with 10350 lines except headers and 31 rows) 2. Set col(B) as X and plot col(B) vs col (E) 3. Peaks analyzer with an already saved theme (-> 330 peaks integration, interested in area and FWHM) 4. Statistics (-> area & FWHM mean and std dev values)
Ideally I imagine to manually choose one ASCII file (by File->import). And with one click, I pick the stats in a tab . If task#2 is a concern, I could manually process the ASCII file to remove the useless col(A). If only tasks 3 and 4 can be automated, I still save time. So I take what is possible . FYI I have hundreds of ASCII file, one is attached in case of.
Thanks for you help
----------- Origin Ver. : 2017 SR1 b.9.4.1.354 Operating System: Win10 22H2
https://my.originlab.com/ftp/forum_and_kbase/Images/originlab-dummy%20file.txt
Nico, France |
|
ChaoC
USA
184 Posts |
|
cindynico
18 Posts |
Posted - 04/03/2025 : 03:05:15 AM
|
Hello ChaoC,
Great, this is exactly what I need.
As a side question, the col(B) is time (hh:mm:ss), ranging from 00:00:00 to 23:59:59. Fow few datasets, the plot col (B) vs. col (E) goes wrong if there is a day change during the data collection.
So far, I skipped the problem by a manual change of the col(B) values by another dataset that do not show a day change. But do you think that I could fix this problem by choosing the right label format for the X axis ? I tried some of them, with no success. Should I open a new post for that ?
Nico, France |
 |
|
NicholasSupport
USA
89 Posts |
|
cindynico
18 Posts |
Posted - 04/07/2025 : 08:11:03 AM
|
Hi, Thanks for the tip. But upgrading Origin is unfortunately not planned yet in my lab. Maybe in a couple of years  Best,
Nico, France |
 |
|
|
Topic  |
|
|
|