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
 Origin Forum
 Batch Processing and NLFIT
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

a.abc.b35

175 Posts

Posted - 09/11/2011 :  11:39:56 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.5.1
Operating System: windows 7
.............
I have a set of data and am fitting a NLFIT function (user defined) to fit to my data.As I am repeating the same fitting, I have used the batch processing and it works fine when I use the whole datasets (my data is in a single worksheet in X-YYY...YY format). Now, I wanted to repeat the process on the same dataset but with different range for different columns (say 1st Y column is from 1 - 90, 2nd from 42-90, 3rd from 36-86 etc). So, after I chose the columns inside the batch processing window (file-> batch processing), I choose the range of the columns (the option is there). Now I would expect that the result would be for the custom range I have changed there. But unfortunately what it does is, for all the files, it takes the same range, which is 1:end. This, I think is a BUG in origin and I need this fixed soon. Can anyone help me out please ?

AB

a.abc.b35

175 Posts

Posted - 09/12/2011 :  12:07:40 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I have found out this: I am calling my NLFIT routine which I have saved as an analysis template (from save workbook as analysis template). What I found out is, irrespective of the range I give in the batch processing window, the program will take the range set in the analysis template!!! Strange but that is what origin is doing. HOPE SOMEONE WILL FIX IT SOON AND POST THE SOLUTION.
..........
PS: ORIGIN IS NOT CHEAP TO BUY AND I HAVE HEARD A LOTS OF COMPLAINT ABOUT IT, IN THE FORUM HERE(http://www.originlab.com/forum/topic.asp?TOPIC_ID=9401) AND ELSEWHERE ALSO (from colleagues etc.) BUT TILL NOW I HAVE NEGLECTED IT. BUT AFTER I BOUGHT THIS NEW VERSION OF ORIGIN 8.5.1, I SEE WHY THEY ARE GIVING SO MUCH NEGATIVE FEEDBACK ABOUT ORIGIN. THERE ARE OTHER PROBLEMS ALSO AND I SINCERELY HOPE SOMEONE WILL FIX THIS OTHERWISE NOT SO BAD SOFTWARE!

AB
Go to Top of Page

Sam Fang

293 Posts

Posted - 09/13/2011 :  03:38:52 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi AB,

Thanks for reporting it.

It's a new feature of 8.5.1 to remember Row From and To in analysis template. We provide this feature because some customers require it during batch processing.

In fact you can invalidate this feature by copying a range of XY data into a new worksheet before creating an analysis template. In the analysis template you select all copied data, Rows check box will be unchecked in analysis template. Then in the batch processing you can select different ranges for different columns. And the result will be for these custom ranges you have chosen.

I have created a JIRA item ORG-3788 to suggest providing a hint in batch processing dialog that row range in analysis template will be used for batch processing if it is specified in analysis template and row range in batch processing will be ignored. What do you think of it?

Thanks.

Sam
OriginLab Technical Services

Edited by - Sam Fang on 09/13/2011 04:37:07 AM
Go to Top of Page

a.abc.b35

175 Posts

Posted - 09/13/2011 :  7:05:44 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
@ Sam, irrespective of row range selected in analysis template or not, it does not take the range provided at the batch processing window. THATS THE REASON I AM CALLING IT A BUG.IS THERE SOMETHING I AM MISSING THEN ?

You said "Rows check box will be unchecked in analysis template. Then in the batch processing you can select different ranges for different columns. And the result will be for these custom ranges you have chosen"

IT DOES NOT WORK THIS WAY. WHETHER ROWS ARE CHECKED OR UNCHECKED, IT DOES NOT MATTER!

AB

Edited by - a.abc.b35 on 09/13/2011 7:51:41 PM
Go to Top of Page

Sam Fang

293 Posts

Posted - 09/14/2011 :  04:56:04 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi AB,

Yes. You are right. It is a bug. When Rows is unchecked in analysis template, rows chosen in batch processing dialog should work.

Thanks for reporting the problem. I have added P2 for it in ORG-3788.

Sam
OriginLab Technical Services
Go to Top of Page

a.abc.b35

175 Posts

Posted - 09/14/2011 :  1:51:14 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You said " I have added P2 for it in ORG-3788" which I did not get at all! Also you have acknowledged the BUG. So now what will the solution for it? How do I get a patch or something, fixing it, and use it with my installed version of origin 8.5.1 SR pack2.

AB
Go to Top of Page

Sam Fang

293 Posts

Posted - 09/15/2011 :  03:39:48 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi AB,

Sorry, P2 in ORG-3788 has been moved to P1 in ORG-3805. JIRA is Origin's internal report for bugs, which need account to access.

When it is fixed next week, we can provide you a fixed source file. You can try to replace the old source file (Backup your old file first).

Sam
OriginLab Technical Services
Go to Top of Page

a.abc.b35

175 Posts

Posted - 09/15/2011 :  09:16:04 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Sam, Please let me know here how to get the patch when it is available next week, thanks in advance.

AB
Go to Top of Page

Sam Fang

293 Posts

Posted - 09/19/2011 :  02:49:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi AB,

I have uploaded the fixed file "To_AB.zip" in the "ftp://ftp.originlab.com/pub/USERS/". And the zip file contains two files "BatchProcess.cpp" and "BatchProcess.h".

You can first backup your old "BatchProcess.cpp" and "BatchProcess.h" files in the folder "Origin Installation folder\OriginC\OriginLab". Then use these two new files to replace them.

Sam
OriginLab Technical Services
Go to Top of Page

a.abc.b35

175 Posts

Posted - 09/25/2011 :  10:36:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
@ Sam Fang, I have done the way you have told me. But that has basically killed my batch processing!!! And I am in a mess now !! Please help me at the earliest.
.....
I have backed up the older *.h and *.cpp file for batch processing and replaced them in the said folder with the ones you gave. Result is, batch processing from file menu started behaving strangely. I have, suppose, one X and 2 Y columns in a worksheet (does not matter if data is in multiple worksheet). Previously I was using an analysis template
(created as explained here:http://qhwiki.originlab.com/~originla/howto/index.php?title=Tutorial:Batch_Processing ) and that was working fine, except the range thing. Now what happens is, the data from the XY columns are not imported into the analysis template when called(i have checked this by un-checking the 'delete intermediate workbook') and as a result the fits fail with error code -207!!!!!!
..........
I reverted back to my previous *.cpp and *.h batch processing files but to my horror, the problem still persists. Restarting origin does not help either. And re-installation is not an option at this point. Could you please please give me a quick solution. I am basically f*** up!!!

PS: If I manually copy paste the data into the analysis template and run it, it works fine though. Only when batch processing is called from file menu, it fails to work!!! I have tried creating fresh analyssi templates but the problem persists!!
If I import ASCII file externally, it works!! The problem seems to be if I use existing datasets from existing workbooks in the project.

AB

Edited by - a.abc.b35 on 09/26/2011 02:20:30 AM
Go to Top of Page

Sam Fang

293 Posts

Posted - 09/26/2011 :  04:03:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sorry for bringing you inconvenience.

Did you use a subrange in the analysis template? If so, it may cause the problem.(The problem appeared in 8.5.1SR3, but not in 8.6 beta build)

If you use full columns in the analysis template, then in the batch process dialog, you can choose full columns or subrange. It can work. I uploaded an example including analysis template and data in "To_AB_Ex.zip" in the "ftp://ftp.originlab.com/pub/USERS/". You can test it.

It can't be recovered by two old files maybe because Origin compiles an updated file only when its date modified is newer than current file's. To avoid the limit, you can save your two old files(Don't change anything). Their date modified will be today. And they can be compiled now. And batch process will be recovered.

Sam
OriginLab Technical Services

Edited by - Sam Fang on 09/26/2011 04:53:50 AM
Go to Top of Page

a.abc.b35

175 Posts

Posted - 09/26/2011 :  5:00:40 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Sam, I have switched back to the old batch processing *.cpp and *.h files. As you mentioned, I have changed those two files such that there dates are recent ! In this way, I could get back my old batch processing atleast!!! Am a lot relieved now.
...
But the problem still remains then (the purpose of this thread). I have not used any subrange in the analysis template(s). What could be the reason then ? I have again replaced with the files you sent me, the batch processing runs this time with your files also !!!!!!!! But it does not take the full range...got to check your example though.
...


AB

Edited by - a.abc.b35 on 09/26/2011 5:07:20 PM
Go to Top of Page

Sam Fang

293 Posts

Posted - 09/26/2011 :  11:42:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Maybe we can't simply copy source files from 8.6 to 8.5.1 though it is fixed in 8.6. And it may cause other problems in 8.5.1 if we just replace old files with them.

Sam
OriginLab Technical Services
Go to Top of Page

a.abc.b35

175 Posts

Posted - 09/27/2011 :  01:11:05 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
What is the way out ? THIS IS A BUG REPORTED BY ME, and also, as a valued customer, I do deserve atleast a patch!!! If you are saying that it can only be fixed if I switch to 8.6 ,then I would ask you to provide me a free copy of it. Because, when I bought this software, I bought it with the knowledge that no such BUG is there....

AB
Go to Top of Page

Barb Tobias

USA
305 Posts

Posted - 09/27/2011 :  10:44:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

Hi AB,
Please email our tech support team so we can directly discuss further with you: tech@originlab.com
Thanks in advance,
Barb Tobias, OriginLab Support
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