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
 Autoupdate / manual update can't be added

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
Upcons Posted - 02/20/2025 : 11:09:00 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin 2023 (64-bit)
10.0.0.154 (Government)

Operating System:
Windows 11 23H2

So, I'm writing on a analysis helper in labtalk (for easy distribution and since my Origin version has an issue with numpy).

While I was working on a non-linear fit section, I noticed something strange. When I added the recalculate-option to the nlfit code and excecuted it, I get the message
quote:
Unable to establish autoupdate. Recalculate mode is set to NONE.



The fitting and generating of the output sheets works just fine. But I really would like to have the recalculate option enabled for later fine adjustments.

This is my code segment:

	range rXData = [%(firstbookName$)]%(normsheetName$)!col(1);
	range rYData = [%(firstbookName$)]%(normsheetName$)!col(2);

	tree nlt;

	nlbegin 2 ExpDec1 tt weight:=1;

	nlfit -r 2;
	nlend 1;


I'm really not sure why I get this message, as my input data are in their own sheet and not in the output sheets (I use the standard output sheets nlfit generates).
Might it be an issue, that the sheet, which hides in "normsheetNames$" is being generated by another script earlier?

Best regards in advance
1   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 02/21/2025 : 3:44:59 PM
Please change the last line to
nlend 1 1;


Reference: https://www.originlab.com/doc/X-Function/ref/nlend

James

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