Editing a Sequence

In this wizard, you must type the name of the sequence, select the value of its first number, the incrementing step (in other words, the difference between every pair of adjacent numbers), the number of precomputed values that you want to be cached and, optionally, the name of the sequence file where the numbers should be stored. If no sequence file is specified, the sequence will not be persistent and the value will be reset with every run of the graph. The name can be, for example, ${SEQ_DIR}/sequencefile.seq or ${SEQ_DIR}/anyothername. Note that we are using here the SEQ_DIR parameter defined in the workspace.prm file, whose value is ${PROJECT}/seq. And PROJECT is another parameter defining the path to your project located in workspace.

When you want to edit some of the existing sequences, you must select the sequence name in the Outline pane, open the context menu by right-clicking this name and select the Edit item. A Sequence wizard appears. (You can also open this wizard when selecting some sequence item in the Outline pane and pressing Enter.)

Now it differs from that mentioned above by a new text area with the current value of the sequence number. The value has been taken from a file. If you want, you can change all of the sequence properties and you can reset the current value to its original value by clicking the button.

Editing a Sequence

Figure 36.2. Editing a Sequence


And when the graph has been run once again, the same sequence started from 1001:

A New Run of the Graph with the Previous Start Value of the Sequence

Figure 36.3. A New Run of the Graph with the Previous Start Value of the Sequence


You can also see how the sequence numbers fill one of the record fields.