Simulation/Fimmwave-Fimmprop

From OptoelectronicsWiki
Revision as of 14:51, 24 November 2010 by Jtien (Talk | contribs)

Jump to: navigation, search

License installation instruction

File:NetworkLicense InstallationGuide.pdf

License debug

  • Use Sentinel Protection Monitor tool (usually http://localhost\:6002) to check if there are free licenses and who is using existing ones (click on the key in first screen to show detail screen). Note down what you see in both screens, e.g. screenshots.

On your own PC (where you are trying to run fimmwave):

  • Add fimmwave to the exception list if you use firewall in your PC
  • Use Alt-Tab to check that you dont have a fimmwave.exe already running. If you find one, this is why the "license in use" error is appearing.
  • Use Task Manager to look for a fimmwave.exe running - maybe your last one did not shut down properly? If you find one, this is why the "license in use" error is appearing. Kill the process.
  • If you still have problems, log out of your computer and log back in. Did this help?
  • If you still have problems, re-boot your computer and log back in. Did this help?
  • If you still have problems, are you able to run FIMMWAVE from another computer? Are other people?

It is VERY important that any observations are carefully and accurately noted down and then sent to us. Accurate observations will help us identify the root problem with confidence and resolve this issue finally. Regards Photon Design Support


Scripting

There are a few steps that you need to do with your computer in order to allow scripting in python of Fimmwave. Please see the manual (File:Fimmwave Scripting Manual.pdf) for step by step instructions. I have already done this to the simulation computer.

Once you have completed these preliminary steps, please feel free to take a look at this already constructed python scripting example File:LioniX WG Example.zip. If you write a new and interesting example, with additional functionality please post the commented code.

1) Extract all of the files in the above .zip you will need them to walk through this example. Be sure to place all three of these files (LionixPyScriptExampleFDM.py, LionixPyScriptExampleFMM.py and PdPythonLib.py) in the same folder.

2) Open Fimmwave via the desktop shortcut with the target "...fimmwave.exe" -pt 5101 for reasons described in the manual. (python and other programs communicate with communicate with Fimmave over TCP/IP)

3) Open LioniX_WG.prj

4) Open LionixPyScriptExampleFDM.py or LionixPyScriptExampleFMM.py in Python IDLE (or your preferred python script compiler)

5) You can modify a output file save location in this script, else the data will simply be saved in the current directory of your script

6) Run the script with Python 2.3 (other versions give you errors, this is the version on the Fimmwave CD).

7) Once the script is complete the output file can be viewed. It is tab delimited and makes a nice table in excel.

Have fun and share your knowledge!!!

Updates

There is an update CD in one of the binders for July 19, 2010, Jock has a copy.

Once you install you need to replace these 3 files in the bin folder. File:LioniX WG Example.zip