Transfer Macros

Use these macros to explicitly control the transfer of individual records.

Each of the macros takes an argument as follows:

  • input is the index of the input (0 to n). If you have defined a name for the input port you can use this in place of the index in the form portname.portid_.
  • output is the index of the output (0 to n). If you have defined a name for the output port you can use this in place of the index in the form portname.portid_.
  • index is the index of the transfer (0 to n).

The following macros are available:

  • doTransfer(index). Performs the transfer specified by index.
  • doTransfersFrom(input). Performs all transfers from input.
  • doTransfersTo(output). Performs all transfers to output.
  • transferAndWriteRecord(output). Performs all transfers and writes a record for the specified output. Calling this macro is equivalent to calling the macros doTransfersTo() and writeRecord().