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
 Origin Forum
 Set Column Values behaves odd

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
myszowaty Posted - 06/24/2011 : 1:10:04 PM
Origin Ver. and Service Release (Select Help-->About Origin): 8.0.63.988 SR6
Operating System: XP

The problem seems very odd to me. I am trying to repeat some of my earlier work with the new set of data and simplified workbook. It involves nonlinear fit to custom function, which was completed successfully. Now I have to use the found fit coefficients for further calculations and here is where the fun begins.



This Set Value window comes from my initial work, which still works fine, the result is the column filled with numbers.



This Set Values Window comes from my recent work and it does not produce numbers, the column is filled with "--". The equation in P4+P3 is only a result of my attempts to find out what is wrong, it is supposed to be the same as in the first window.

range rParam brings in the fit coefficients and if I put D, or DP and so on, each alone, as the equation for the column, the column gets filled with the proper number. BTW, Origin stopped tolerating lower case letters as well, but only in this project. I can load the working one, as it on the upper picture, and it works fine. This change in behavior happened after upgrading to SR6, before that it was SR2. I am not sure if it was immediate, though.

The same goes for P1, or P2, or P3, or P4

P1+P1 works, P1+P2, P1+P3 do not. other operations behave the same. It seems the OUT has something to do with it.

range OUT is my argument data and when put OUT as an equation for the column, it works fine. The complete equation, does not work.

Restarting Origin and the computer did not change a thing.

So I am stuck and pretty confused.
2   L A T E S T    R E P L I E S    (Newest First)
myszowaty Posted - 06/27/2011 : 2:04:53 PM
Thanks for the advice. The 'range out' part works, I can read the values, but nothing else has changed. Currently I am reworking the old project, which still works with apparently the same definition. I still would like to find out what is wrong with my new definition.

The getnlr function is way more descriptive than what I was doing.
Laurie Posted - 06/27/2011 : 10:42:38 AM
Is 'out' the column's long name or the name of the column itself? If it is the name of the column itself then don't use quotes.

It should be the following:

range out = summary!out;

Btw, you can also use the getnlr x-function instead of fitnl1!8:
http://wiki.originlab.com/~originla/howto/index.php?title=QuickHelp:How_do_I_access_analysis_result_table_values_from_script

OriginLab Technical Support

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