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
 Automatic file import
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JNC27

Germany
4 Posts

Posted - 02/25/2020 :  12:34:59 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Pro 2018
Windows 10

Hi,
I need to update worksheets/plots with text files that are generated from another program. At present I am doing this by waiting for the file to be generated and then dragging it with the mouse into the worksheet and letting the filter do the rest.

It is possible to use a script that checks (e.g. every 10s) for a new file at a given location and, if it finds one, automatically updates the worksheet (and associated plots). The generated files always have the identical column / row structure

Many thanks for any help !

JNC

YimingChen

1592 Posts

Posted - 02/25/2020 :  2:53:11 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Origin introduced Data Connector in version 2019b which is exactly for your purpose. Workbook is linked to data file that the workbook gets updated when it detects the contents of data file changed. Please check below for details:
https://www.originlab.com/doc/Origin-Help/Data-Connector
https://www.originlab.com/doc/Origin-Help/Connect-to-File

James

Edited by - YimingChen on 02/25/2020 2:54:32 PM
Go to Top of Page

JNC27

Germany
4 Posts

Posted - 02/27/2020 :  05:12:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you. That worked perfectly.


Edited by - JNC27 on 02/27/2020 05:14:09 AM
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