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
 Autoupdate / manual update can't be added
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Upcons

Germany
2 Posts

Posted - 02/20/2025 :  11:09:00 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

YimingChen

1632 Posts

Posted - 02/21/2025 :  3:44:59 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Please change the last line to
nlend 1 1;


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

James
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