The SIMION SL™ Toolkit (version 1.2.1.0 - 2004-11-09)

Buncher example

Description: 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 - pure SL implementation
  • cpp - SL implementation that calls C++ code via SL Remote

SL version

Use: 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 version

Use: 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:

Please report any errors/comments regarding this web page:
  Name/e-mail/phone (optional):
 
The SIMION SL Toolkit™ and documentation is (c) 2003-2004 Scientific Instrument Services, Inc. All Rights Reserved.