The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 batch processing xml files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Joachim.Deinhofer

5 Posts

Posted - 11/14/2023 :  07:10:52 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2023
Operating System: Windows 10

Hi everybody,

I am kind of new to Origin batch processing. I was asking myself it it was possible to batch process data extracted from xml files.
To me it seems pretty complicated, given that most the online explanations include import of simple dat files.

I would be glad if you could share your opinion or experience!

J.

aplotnikov

Germany
160 Posts

Posted - 11/14/2023 :  09:39:59 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
https://www.originlab.com/doc/User-Guide/Import-Data
https://www.originlab.com/fileExchange/details.aspx?fid=525

Edited by - aplotnikov on 11/14/2023 09:48:21 AM
Go to Top of Page

Joachim.Deinhofer

5 Posts

Posted - 11/15/2023 :  08:33:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks,
I got it right elaborating my import and analysis using LabTalk.

Then, I set the batch processing data source to "Use Existing Worksheets".
This batch process exports only one pdf file designed by a Word template.

However, there is one thing left unresolved. As I complete the batch process, I cannot change the name that is given to the pdf (which is "Bookmarks", as in "Data Sheet(s)" specified, or "Bookmarks1", "Bookmarks2" and so on).

Might there be a way to change the pdf name in the "Script at the End" option?

J.
Go to Top of Page

Echo_Chu

China
Posts

Posted - 11/16/2023 :  12:26:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Support you generate a PDF file named sensor01 in folder "D:\temp\",
You can use scripts below in the batch process dialog to rename the file


file -c "D:\temp\Sensor01.pdf" "D:\temp\mysensor.pdf";
delete -f "D:\temp\Sensor01.pdf";
Go to Top of Page

Joachim.Deinhofer

5 Posts

Posted - 11/17/2023 :  02:03:12 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Echo,
It did the trick. Thanks so much!
Kind regards,
Joachim
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000