SIMION®
The field and particle trajectory simulator
Industry standard charged particle optics software
Refine your design: model > simulate > view > analyze > program > optimize it.
SIMION v8.1.3.1-TEST posted - EA with new GEM features!
About | Documentation | Community/Support | Downloads | Ordering

SIMION SL Compiler

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

The SL Compiler allows you to write SIMION user programs in a high-level "SL" language (rather than low-level PRG code). SL programs are compiled directly into PRG code, which is then executed as usual by SIMION and can be mixed with existing PRG programs. For more complicated applications, SL code can also invoke remote C++ code via the SL Remote interface.

Below is a sample of SL code.

adjustable electrode_voltage = 500 # voltage cycle magnitude
adjustable switch_time = 2.0       # change time (microseconds)

# electrode voltage control
sub fast_adjust
    # start undulating at time switch_time
    if ion_time_of_flight < switch_time
        adj_elect01 = electrode_voltage ...
            * cos(1 + ion_time_of_flight/10)
    else
        adj_elect01 = 0
    endif
endsub
Note: The "online" version of the SL Compiler is no longer available. It has been largely superseded by Lua programming in SIMION 8.0. However, you can still use the "offline" version of the SL Compiler. SIMION 7.0 users with an SL Toolkit license already have a copy of SL Compiler. If you do not have the SL Toolkit but wish to compile SL code, please Contact Us to request a copy of the compiler (with full source code) to run locally on your computer. SIMION 8.0 users may obtain a copy for free. SIMION 6.0 and 7.0 users without an SL Toolkit license may be charged a small technical support charge (approx fifty USD, or two units of #SIMIONS technical support, which is much less than the cost of a SIMION 8.0 upgrade).

Language/compiler features:

The SIMION SL Toolkit™ and documentation is (c) 2003-2004 Scientific Instrument Services, Inc. All Rights Reserved.
Any comments on this web page? (will be sent to SIS SIMION Support)
[Optional] Your name: email: phone/fax:
The SL Tookit™ and documentation is (c) 2003 Scientific Instrument Services, Inc. All Rights Reserved.