Create a SIMPL+ Module


A SIMPL+ module is a program written in SIMPL+ that interacts with the control system by sending and receiving signals and is represented by a symbol in Crestron Studio®. SIMPL+ modules are not included in the Crestron Database. You can download and use ready-made SIMPL+ modules, modify existing SIMPL+ modules or create brand new ones using the SIMPL+ Editor.

You can create a new SIMPL+ module right from the Start Page or by following the instructions below.

Create a new SIMPL+ module by doing the following:

  1. Go to the File menu and click New

    -or-

    Press .

  2. Click on a project type and choose a User SIMPL+ Module in the New Project Dialog.


  3. The Name field is pre-populated with a generic name Module, followed by a numeral. If desired, you can click in the Name field and write a custom name for your SIMPL+ Module. Note that the fully qualified SIMPL+ Module name has to be less than 250 characters long and cannot contain the following characters: <, >, ~, |, /, \, ?, *, :, ".

  4. Press New.

 

A dialog indicating that your module is created appears briefly and the SIMPL+ Editor opens in a new tab of Crestron Studio®:

 

 

For your convenience Crestron Studio® provides a skeleton SIMPL+ Module program that makes it easy to remember the language syntax and structure. To start writing right away, simply locate the necessary lines of code, uncomment them (by either removing the “//” at the start of the line or by removing the multi-line comment indicators /*…*/), and add the appropriate code.

 

To save changes to your newly created SIMPL+ Module follow the steps below:

  1. Go to the File menu and click Save your_module_name

    -or-

    Press .

    -or-

    Select Save As... on the File menu and type a new module name in the Save As... dialog:


 

More:

About User Modules

Importing User Modules

SIMPL+ Editor

SIMPL+ Module/Program Structure

Compile a SIMPL+ Module