286 Chapter 7
Integrating Programs In Other Languages
Using a System Command
3. Double-click the transaction bar to get the I/O Transaction box.
a. Change
REAL64 FORMAT to STRING FORMAT.
b. Change
SCALAR to ARRAY 1D.
c. Click on the
SIZE: (10) field to toggle it to TO END: (*), then
click
OK. The transaction bar should now read: READ TEXT x STR
ARRAY:*
. This transaction will read the contents of the bob file.
4. Select
Display ⇒ Logging AlphaNumeric and connect its data
input pin to the
From File data output.
5. Run the program. It should look like Figure 7-3.
Figure 7-3. Listing the Files in a Directory (PC)