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
 problems with peak analysis tool
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

G.Bartsch

Germany
Posts

Posted - 11/15/2007 :  11:50:49 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
hello again,
a few weeks ago i was using this peak analysis http://www.originlab.com/fileexchange/details.aspx?fid=68. it always worked perfect but after a reinstallation of my system it doesnt work any more. i can install it but when i run it, there is an error message "originc routines failed to load properly". the first lines of program code are the following:

[PeakLimits]
svMarker1=mks1;
svMarker2=mks2;
draw -n pkRect -f read PKrect;
draw -n CloseTab -f read %YCloseTab;
draw -n ReportTab -f read %YReportTab;
pkRect.dx=(x2-x1)*.5;
pkRect.x=x1+(x2-x1)/2;
return 0;

the error message pops up at the line "pkRect.x=x1+(x2-x1)/2;" where the x position of an object is set. if i try to set pkRect.x to other values there is the same error. on another computer everything works fine...

system is winxp pro with origin 7.0, @V=7,0383

maybe someone has an idea how to make this tool usable for me again.

thanks a lot

gregor

Deanna

China
Posts

Posted - 11/17/2007 :  12:41:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Gregor,

I am not sure about what happens. But maybe you can tell us more details and we can try to figure it out.

There is a yellow rectangle on the graph when the tool is used. Please right-click on it and choose Properties from the short-cut menu. In the Control tab, check the text in the Name edit box. Is it "PKRECT"? If yes, type "pkRect.x=" and press enter in the script window. Does Origin output any error or the correct position of the rectangle?

Additioanly, you can try to upgrade your Origin 7 to SR4 and see whether the problem persists. Information regarding upgrading to SR4 can be found in this page.


Deanna
OriginLab Technical Services
Go to Top of Page

G.Bartsch

Germany
Posts

Posted - 11/20/2007 :  04:55:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
thanks for your help,

i updated to sr4 now. @V=7,0552
pkrect.x=; gives the correct position of the rectangle, but if i set another value for pkrect.x i recieve the error message "OriginC routines failed to load properly" but the rectagle nevertheless moves correctly to the new position.

do you have an idea how to work on this problem?

best regards
gregor
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 11/21/2007 :  08:56:09 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try changing your default printer as discussed here. If that works but you still want the default printer you can download the DLL file discussed here...

http://www.originlab.com/www/support/resultstech.aspx?ID=1080&language=English

Mike Buess
Origin WebRing Member
Go to Top of Page

G.Bartsch

Germany
Posts

Posted - 11/27/2007 :  02:52:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
mike, i have to thank you.
it really works.

sometimes origin 7 moves in a mysterious way ;)

best regards
gregor
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