Using Triggers

When specifying a trigger to extract comment from file contents, there are normally three different formats you can use: Characters, String, and Advanced.

Here is an example where the same trigger is assigned to several database fields. This field is used to specify the start trigger.

Specify start trigger.

The small icon at the right end of the input field indicates the type of trigger selected, in this case Characters.

To change the type of trigger, click on the icon, and select the type of trigger from the drop-down list, as shown below:

Select trigger format.

Character Trigger ()

Character triggers are used if you wish to trig on any single character from a list of one or more characters.

Example: To start the feed from the first line that contains % or O, specify %O in the input field, and select Characters from the drop-down list.

String Trigger ()

String triggers are used if you wish to trig on the occurrence of a specific string.

Example: To start the feed from the first line that contains the string "PGM", specify PGM in the input field, and select String from the drop-down list.

Advanced Trigger ()

Advanced triggers can be used when a more complex search is needed.

Example: To speed up the transmission, it is possible to remove comments from the transmitted data. To do this, specify the following advanced trigger <(.*)> in the Omit strings field, assuming that comments are enclosed in '(' ')'.

When specifying an advanced trigger, a small picture with a red cross indicates an invalid expression.

For more information on how to specify advanced triggers, please refer to Using Advanced Triggers.