You can further extend StresStimulus run-time by creating an external component. An external component traps StresStimulus run-time events to extend its functionality. Components can be created by writing .NET code. Once created, they are displayed in the Component section of the workflow tree (a).
To create a component inside StresStimulus, navigate to the Components tab (a). From there, you can create your own variable. Select one of three languages you wish to use: C#, VB.NET or JScript.NET (b).
Give your component a name (c) and chose when you want to invoke it (d).
There are two modes of component invocation:
You can edit or delete your component later on by going back to the Components tab, selecting the variable you wish to modify, and then clicking either Edit (e) or Delete (f). Click OK to bring up the code editor window. If you don't see your component, click Open File (g) to select the code file to edit.
There are two types of scriptable variables that differ by the method they are created: