How do I run the SDK?

To compile the examples you merely enter the following command on the command line


This will compile and build the library file

To include crank functions as part of an external library when running Psyclone you will need to create a psySpec and define a module using the specific crank function as a crank. For example, to define a module which uses the crank function testCrank located inside the example library called cm (do not include 'lib’ in this name), you would specify the module like this

<module name="MyModule">
        <description>This module is my first module</description>
        <parameter name="maxcount" type="Integer" value="100"/>
        <parameter name="anotherparam" type="double" value="0.01"/>
        <parameter name="astringparam" type="String" value="Hello"/>
            <context name="Psyclone.System.Ready">
                <phase id="1">
                    <triggers from="WB1">
                        <trigger after="100" type="Psyclone.System.Ready"/>
                        <trigger type="Test.Message.Type"/>
                        <crank name="cm::testCrank" />
                        <post to="WB1" type="Other.Message.Type" />

For more information on this, see the Psyclone Manual (psycloneManual.html).