Chapter 11. Setting Up Writers (UniversalDataWriter)

When you set up writers, the most important is to set the output files to which data should be written.

To do that, double-click the UniversalDataWriter component and click the File URL attribute row in the component editor. After that, a button appears in this row. Click the same row again and type ${DATAOUT_DIR}/output.out. The meaning of this expression is similar to that of ${DATAIN_DIR}/input.dat. You read data from the input.dat file and write it to the output.out file. Both DATAIN_DIR and DATAOUT_DIR are parameters. They are both defined in the workspace.prm file (see above).

Editing a Writer

Figure 11.1. Editing a Writer


Now you must click OK. To save the graph, click Ctrl-S. The graph is ready to be run.