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
 Referencing User Parameters with A[D1] notation

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
GerhardRP Posted - 02/27/2025 : 3:43:27 PM
Origin 2025 in Windows10
It took me a while to figure this out, so let me share. I want to use various user parameters in other parameters or the column formula.
When new user parameters are added, they are assigned the next sequence number regardless of the order they appear. New entries are placed below the line highlighted at the moment. The values are referenced with the column short name and the parameter number in square brackets like this: A[D1] The most recently defined parameter is also addressed by A[D0].
I have a small bit of screen grab to show this. The names I give have an added underscore and parameter like this: User_[D4] for the fourth parameter. Column A here is just a sequence to see what is happening. Column B has the references =A[D#] to pick up the value. Note that in the selected cells, the seventh parameter is called both [D7]and [D0].
I hope I have helped someone avoid frustration in this matter
1   L A T E S T    R E P L I E S    (Newest First)
snowli Posted - 02/27/2025 : 5:13:36 PM
Hi Gerhard,

Great you figured this out.
Using D0 for last user-defined parameter row is new in Origin 2025.
We have this doc of how to access column label rows https://www.originlab.com/doc/en/LabTalk/ref/Column-Label-Row-Characters

So besides using =A[Dn], u can use real parameter name, e.g. =A[Min_[D1]]$
$ at the end means it's a string.

But right now to use it in an math expression, you still need to use =A[Dn]. We will check if we can support =A[Min_[D1]] if it's numeric and use in calculation. I jiraed it in ORG-30394 S3.

Thanks, Snow

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