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 for Programming
 LabTalk Forum
 New programmer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

yuvald2

Israel
2 Posts

Posted - 11/11/2015 :  04:42:27 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release : Origin Pro 9.0.0 (64bit)
Operating System: windows 10 Pro

Hello all,
I am new to programming in Origin, though not a new programmer in general. I was looking for a post about all the "how to" but I couldn't find one that bundle it all, so before I continue, if there is such post, please send me a link to it.

My problem is that I have to do the same set of commands for a lot of data, every time on the same order(copy-paste the same set of lines from an excel-like output and into a new worksheet in the same order of the files being uploaded to the project folder).
If anyone can help me build a macro for it I will be glad to give more information.

Thanks in advance for all helpers,

YD

Edited by - yuvald2 on 11/11/2015 04:43:21 AM

jasonzhao

China
262 Posts

Posted - 11/12/2015 :  10:19:21 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

You can try to use LabTalk to manipulate your worksheet, here are some basic worksheet operation:
http://www.originlab.com/doc/LabTalk/guide/Basic-Worksheet-Column-Operation
You can also try to call the X-function in LabTalk, and here is a wrcopy X-Function, which can help you to Copy a part of data in the current sheet to a new sheet,
http://www.originlab.com/doc/X-Function/ref/wrcopy

Best regards!
Jason
OriginLab Technical Service

Edited by - jasonzhao on 11/12/2015 10:19:46 PM
Go to Top of Page

yuvald2

Israel
2 Posts

Posted - 11/14/2015 :  12:23:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
first of all, thank you jasonzhao for your response.
secondly, I saw at a friend's origin that he made a template for uploading the results and then I saw a video showing how to make a graphs template BUT, I was wondering if I can join these together to one template.

also, if you know by chance where there is a guide for how to make templates, I will be very happy to get the link
Go to Top of Page

jasonzhao

China
262 Posts

Posted - 11/15/2015 :  9:11:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

Here are two links introduce the graph template and analysis template in general way:

http://www.originlab.com/doc/Origin-Help/Graph-Template-Basics

http://www.originlab.com/doc/Origin-Help/Analysis-Templates

If you would like to describe you cases in details, we can try to provide your some more specific examples

Best regards!
Jason
OriginLab Technical Service
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