Incorporating User Created SIMPL+ Libraries


At this time it's not possible to create a SIMPL+ Library from within Crestron Studio®, however existing SIMPL+ Libraries can be referenced from a SIMPL+ Module in Crestron Studio®.

To reference a SIMPL+ library in a Crestron Studio® system:

  1. Create new or open existing SIMPL+ module.

  2. Copy the SIMPL+ library file  (extension .usl)to the location of the SIMPL+ module.

    Central SIMPL+ modules reside in 'C:\Users\Public\Documents\Crestron\Tools\Modules'.

    Project specific SIMPL+ modules are saved in 'C:\Users\user_name\Documents\Crestron\Projects\Systems\System_name\Modules\'.

  3. Reference the SIMPL+ Library within the SIMPL+ module by using the SIMPL+ compiler directive #USER_LIBRARY "library_name" in the 'Include Libraries' section of the SIMPL+ module.



    Note that "library_name" is the name of the SIMPL+ library without the file extension.

    For example, #USER_LIBRARY “MyLibrary” references MyLibrary.usl.

    NOTE: The name of the SIMPL+ library cannot include relative or absolute paths. Additionally, Crestron recommends that the SIMPL+ directive #INCLUDEPATH is not used in Crestron Studio® as referencing paths outside of the Central and Project databases may break dependencies during module export.