Tutorial: Creating a Chain

Prev Next

In the following tutorial, you will create a test chain that uses a file as the data source, and then send some data to it by creating the file and modifying it in a text editor.

To create a chain:

  1. In the RAS Adapter, click the Add RAS Chain button.
    The template selector dialog appears, asking you to choose which template the RAS chain will be based on:
    Template selector
     template-selector

  2. Choose the General-Purpose A template and click OK.
    The RAS Chain Editor appears:
    The RAS Chain Editor
     tut-chain-editor

  3. Enter the name Test RAS in the Ras Chain Id field (alternatively, you can enter any name you prefer).

  4. Click Input Connector and select File in the Input Connector Type dropdown:
    The RAS Chain Editor
     tut-chain-ed-file-path

  5. Enter c:\tmp\test.txt in the File Path field (assuming you have a “tmp” directory on your c: drive; if you do not, either create one or enter a path to an existing temporary directory).

  6. Now select the red Mapping processor. Note that if you hover your mouse over any red element, the tooltip will show you an informative message.
    The RAS Chain Editor
     tut-chain-ed-mapping-items

  7. Enter Test Mount in the Value column for the stw_mount key.

  8. Now select the Time Span processor.
    The RAS Chain Editor
     tut-chain-ed-time-span

  9. Enter mm:ss in the Input Format field. See “Date Time Formats” for more details.

  10. Click Save.

You have just created a new RAS chain. You can check its configuration by hovering your mouse over any block; the tooltip with the configuration is shown:

RAS chain block tooltip

tooltip

In the RAS Chain Editor, you can add or remove processors and change the types of input connector, parser, or output connector. You can also change the order of processing by moving processors up and down. The Mapping processor is usually the first one in the list.