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
 Forum for Origin C
 Curve_bspline driving me mad
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Frank_H

Germany
Posts

Posted - 12/11/2005 :  8:18:59 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I just spent a few hour with Curve_bspline. Although my problem is now solved, I still would like to understand it - and perhaps spare others a few hours.

When using
Curve_bspline(sourceCrv,destCrv)
to fit a spline to some data and then plot destCrv, everything went well. But then I added some further processing of destCrv, and the results seemed to implicate, that destCrv was not changed by Curve_bspline. But still it plotted fine in the test. Finally (after hours :-( ) I added
destCrv.Update(TRUE)
and suddenly it worked!
Does this mean, that Curve_bspline does not actully work as an OriginC command but is instead invoking a LabTalk command without updating the OriginC copy of the curve?

Cheers,
Frank

cpyang

USA
1406 Posts

Posted - 12/14/2005 :  10:39:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Frank,

Looks like this is a bug. A tracking number 8408 has been assigned for this to be fixed.

You are correct that Curve_bspline is making use of old LabTalk commands internally. In the next version of Origin, most of these data processing functions are calling a new DLL based on NAG functions and all the passing of data will be via vectors so the process will be very clear and will not have these type of problems resulted from OriginC trying to use old LabTalk codes.

CP


Go to Top of Page

Frank_H

Germany
Posts

Posted - 12/14/2005 :  1:22:58 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi CP

I am really looking forward to Origin 8! Seems it will solve a lot of issues raised by the current implementation of OriginC.

Frank
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