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
 restriction to line length in fdf file
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

EWS23

Germany
Posts

Posted - 08/18/2005 :  05:55:05 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version: 6.0 SR4
Operating System: Win XP

Hello,

it seems that there is a restriction of 256 characters to the line length of the NLSF definition files (.fdf).
Is there any possibility to increase this, or to write the Parameter Names in two or more lines?

Thanks a lot
Eike

Mike

USA
357 Posts

Posted - 08/18/2005 :  09:54:40 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Eike:

See this kbase item:

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

Mike
OriginLab
Go to Top of Page

EWS23

Germany
Posts

Posted - 08/22/2005 :  09:45:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I don't have a problem with a long fitting function. The function type is external dll.

I need more space for writing "Names", "Initial Values" and "Upper Bounds".

Eike
Go to Top of Page

Mike

USA
357 Posts

Posted - 08/22/2005 :  2:35:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Eike:

I misunderstood. Since many more users have problems with long fitting functions, I assumed that was what was giving you problems. Note however, that according to this kbase item, you should have a 2048 character limit (your post says that you are using 6.0 SR4) -- and not 256 characters as your post suggests.

If you find that you do can't make use of 2048 characters and shortening the parameter names is not an option (or not the problem), then all I can suggest is that you download our Origin 7.5 Demo and try fitting with it. There really is no workaround for this.

I hope that this helps.

Mike
OriginLab
Go to Top of Page

EWS23

Germany
Posts

Posted - 08/25/2005 :  11:28:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi again,

I tried Origin 7.5G Evaluation Copy v7.5854 now.

And it still doesn't work properly.
Now the restriction for "Initial Values=", "Lower Bounds=" and "Upper Bounds=" seems to be about 512 characters (the number of characters for "Initial Values=" etc. are not included).
Origin does not read more than 512 characters for the "FITTING PARAMETERS" from the .fdf files.
Interestingly it is able to write more characters into the .fdf file.

Eike



Edited by - EWS23 on 08/25/2005 11:42:22 AM
Go to Top of Page

Mike

USA
357 Posts

Posted - 08/25/2005 :  2:36:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Well, I certainly see some potential for problems here. We publish a limit on the max number of characters in the parameter names field but we don't say anything about how long a single parameter name can be. If I create a single 500 character parameter name and try to save the fitting function, Origin crashes. If I break up the 500 character string with commas so that parameter names are on the order of 10 to twenty characters, it still crashes. So, I will have to consult with someone here who can give us some more guidance on this.

Out of curiosity:

> How many parameters do you have?
> How long are parameter names?
> Do you have spaces or special characters in your parameter names?

I'm curious as to how you are able to push this limit. The typical user might have a half a dozen or so parameters, each maybe two or three characters long.

Thanks

Mike
OriginLab

Edited by - Mike on 08/25/2005 2:37:09 PM

Edited by - Mike on 08/25/2005 2:42:15 PM
Go to Top of Page

EWS23

Germany
Posts

Posted - 08/26/2005 :  08:36:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
> How many parameters do you have?

130, but I don't vary them all at the same time.

> How long are parameter names?

The longest name has 6 characters.
The total number of characters behind Names= including the commas is 438. I know, this is below the limit.
But if you think about the Initial Values for 130 paramters you would need 130*(5 characters)-(1 comma)=649 characters.
Origin saves them all to the fdf file but doesn't read all of them after a re-start.

> Do you have spaces or special characters in your parameter names?

No, I don't. (The line breaks are for a better presentability in the browser)
Names=yscale,eshift,zeff,nmin,nmax,lmin,nele,RRref,kTpar,kTperp,
e1,w1,s1,e2,w2,s2,e3,w3,s3,e4,w4,s4,e5,w5,s5,e6,w6,s6,e7,w7,s7,
e8,w8,s8,e9,w9,s9,eA,wA,sA,eB,wB,sB,eC,wC,sC,eD,wD,sD,eE,wE,sE,
eF,wF,sF,eG,wG,sG,eH,wH,sH,eI,wI,sI,eJ,wJ,sJ,eK,wK,sK,eL,wL,sL,
eM,wM,sM,eN,wN,sN,eO,wO,sO,ep,wp,sp,eq,wq,sq,er,wr,sr,es,ws,ss,
et,wt,st,eu,wu,su,ev,wv,sv,ew,ww,sw,ex,wx,sx,ey,wy,sy,ez,wz,sz,
ea1,wa1,sa1,ea2,wa2,sa2,ea3,wa3,sa3,ea4,wa4,sa4,ea5,wa5,sa5

Maybe i should try to use some labtalk script to set my Initial Values and Upper/Lower Bounds. But with origin 6 it is not possible to access the activation boxes for the boundarys via labtalk.

One additional hint: I'm working with a german version so some things are differing to the English one. e.g.
Lower Bounds=0(I, Aus),0(I, Ein), ...



Go to Top of Page

greg

USA
1378 Posts

Posted - 08/29/2005 :  11:47:33 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Your Origin 6 version does have a limitation of 255 characters for the 'Names', 'Meanings', 'Initial Values', 'Lower Bounds', 'Upper Bounds' and 'Number Of Significant Digits' in the [FITTING PARAMETERS] section of the FDF file.

This has been increased in 7.x versions to 511 characters.

This should not affect operation of the function. The dialog lists all the parameters, it just stops showing names and will not remember any initializations you may have set. If you programmatically set any of the properties, you will have to use generic property names rather than your names:
nlsf.P1 = .8
rather than
nlsf.yscale = .8;

(Actually yscale may be OK since it's within the 255 characters limit, but names beyond that limit will have to use P#.)

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