|
| |
Buncher exampleDescription: This is an SL program to perform control of a Buncher lens. It can be used as a drop-in replacement for the PRG code in SIMION's _Buncher example. Category: SL Compiler This example is implemented in two versions:
SL versionUse: To use, copy the buncher.sl and target.sl files into SIMION's _Buncher subdirectory. Then compile each of the SL files with the SL Compiler to regenerate the PRG code. (This will overwrite the original PRG code, so you may wish to backup up the originals first.) Then run the _Buncher example in SIMION as normal. Browse the source code: CPP versionUse: To use, first compile the buncher.cpp program to generate buncher.exe. Copy buncher.sl into SIMION's _Buncher subdirectory and compile this file with the SL Compiler to regenerate buncher.prg (you way wish to make a backup of the original). Now, load the _Buncher example in SIMION, run the buncher.exe program (this will remain running in the background), and then fly ions in SIMION. The compiled PRG program will remotely call the running buncher.exe at various stages in the PRG code's execution. Browse the source code: |
|