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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Automation, I'm clueless

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Gabe24 Posted - 08/11/2016 : 09:23:37 AM
Origin Ver. and Service Release (Select Help-->About Origin): Pro 9G 64-bit
Operating System: Win7


Good day to everyone.

For my thesis I tripped over a problem which is causing more trouble than I thought. I measured the deviation of self-produced parts. Now I have lots and lots of Files which need to be compared.

Every file has lots of points which indicate the deviation of one specific part to the CAD model. The mean for parts produced the same way should be compared to the target state. In order to do that, I have to order, copy, order again, do a mean, do another mean and plot the statistics of e.g. three deviation matrices.

e.g. I have file H-2.00-1-L and there I want to choose 25 points with the same y-value. So I have to order column G (y-values).
Then I copy out the fixed x-values (F1 - F25), the target z-values (H1-H25) and the acutal z-values (O1-O25).
Together with the other actual values from worksheets H-2.00-2-L and H-2.00-3-L (as well in [O1-O25]). I can calculate their mean and plot it vs target values.

I understand basic programming but never worked with Origin, so I am tumbling quite a lot here. I wrote a pseudo-code but that's as far as I got.

Maybe someone understands what I am looking for and can give me helpful clues? In the end I can invest a week or two to manually do everything but somehow I don't like the feeling of that.

Cheers to anyone who read my problem, if you have any questions or suggestions feel free to ask. I'll try moving along the script-path a bit further.

Gabe



1   L A T E S T    R E P L I E S    (Newest First)
AmandaLu Posted - 08/12/2016 : 03:39:15 AM
Hi Gabe,

To select 25 points with the same y-value, you can consider "wxt" X-Function:

http://www.originlab.com/doc/X-Function/ref/wxt

To calculate mean of multiple curves, you can consider "avecurves" X-Function:

http://www.originlab.com/doc/X-Function/ref/avecurves

Thanks,
Amanda
OriginLab Technical Service

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000