Chapter 7 289
Integrating Programs In Other Languages
Using a System Command
d. Configure the first transaction as READ TEXT Lines INT32. Lines
replaces the default variable
a.
e. Configure a second transaction as
READ TEXT X STR
ARRAY:Lines
. Enter Lines in the SIZE field to specify the length
of the array.
2. Select
Display ⇒ AlphaNumeric and Clone it. Connect one
AlphaNumeric
to the Lines output and another one to the X output
pin.
3. Run the program. It should look like Figure 7-5.
Figure 7-5. Using a Shell Command with a Pipe