
4.7 Generating Advanced Data Formatting Rules
8
In the
Enter port number
dialog box, enter the port number that the host computer application is listening on.
Figure 4-14
Port Number Entry
9
Configure
Advanced Data Formatting
and
Basic Data Formatting
Plug-in if any required modification to be
done to captured data before sending to remote computer.
4.7 Generating Advanced Data Formatting Rules
The ADF plug-in applies rules (actions to be performed based on defined criteria) to the data received via an
input plug-in before sending it to the output plug-in.
• Rules - The ADF process plug-in consists of one or more rules. DataWedge formats the output data according to
the first matching rule. A rule is a combination of criteria and a set of actions to be performed, upon fulfillment of
the criteria set in the rule.
• Criteria - Criteria can be set according to Input plug-in, symbology, matching string within the data (at the specified
position) and/or data length. Received data must match the defined criteria in order for the data to be processed.
• Actions - A set of procedures defined to format data. There are four types of actions which are for formatting
cursor movement, data modification, data sending and delay specifications. An action can be defined to send
the first number of characters to the Output plug-in, pad the output data with spaces or zeros, remove spaces
in data, etc.
4.7.1 Configuring ADF Plug-in
Configuring the ADF plug-in consists of creating a rule, defining the criteria and defining the actions.
MN000112A01 - September 2013
4-25