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
 Edit 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

LordHoth

Austria
4 Posts

Posted - 09/18/2012 :  05:26:16 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello!

I'm looking for a way to change the initial values in an FDF - File using a script. Is that possible?

Penn

China
644 Posts

Posted - 09/18/2012 :  06:01:46 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You can refer to okutil_write_file_section function.

Penn
Go to Top of Page

LordHoth

Austria
4 Posts

Posted - 09/18/2012 :  06:21:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Okay, I think I'm gonna need a little bit more help with that function ^^.

[Fitting Parameters]
Names = R1,C1,R2,C2,R3,C3
Initial Values = 1000(V),1e-007(V),1e-009(V),1e-008(V),60000(V),1e-008(V)

My FDF File looks like this. How can I access a certain line in the file and delete or overwrite the existing line?
Go to Top of Page

LordHoth

Austria
4 Posts

Posted - 09/18/2012 :  06:31:53 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Wait I think I got it :)
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