FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 FastFieldSolvers
 FasterCap and FastCap2
 Specify run menu options in automation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xiqiao.wang@nist.gov

1 Posts

Posted - Aug 09 2018 :  19:31:02  Show Profile  Reply with Quote
Hello,

I am using the fc_drive.xls to automate the FastCAP2 runs. In the visual basic code, how to specify additional menu options? For example, if I want to specify the input file to be a list file in automation, how to do it? Thanks!

Best,
XQ

Enrico

530 Posts

Posted - Aug 10 2018 :  23:53:13  Show Profile  Reply with Quote
You can provide input options just like you would do on the command line when launching FastCap from the shell.

To be clear, here you are just passing a string with the input file name.

couldRun = FastCap2.Run("""" + path + "sphere"+CStr(i)+".qui""")


You can pass more complex strings, like:

"-lmylistfile.lst -t0.02"


that launch the simulation on the list file mylistfile.lst with a tolerance of 2%.

Best Regards,
Enrico
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
FastFieldSolvers Forum © 2020 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06