Write Record Dialog Box

Use the Write Record dialog box in a TestStand User Interface to configure the Write Record step.

The Write Record dialog box contains the following options:

  • Output Record Stream —Expression that specifies the stream to which to write. The expression can be either an object reference or a string. If it is an object reference, it must refer to an OutputRecordStream or ExecutionOutputRecordStream object. If it is a string, it must be the name of an ExecutionOutputRecordStream attached to the current execution.
  • Record —Expression that specifies the record to write. The expression can evaluate to either a container or an array. If the record is a container, the container represents the record, and each subproperty is a field. If the record is an array, the entire array represents the record, and each array element is a field.
  • Mapping (Optional) —Expression that specifies the mapping from elements of the record to fields in the stream. The mapping is a comma-separated list of index ranges. For example, "0, 3-5, 8-7" specifies that elements 0, 3, 4, 5, 8, and 7 of the record be written as the fields 0 through 5 in the stream. The final range in the list may be open-ended. For example, "2, 3-" indicates that elements 2, 3, and all elements beyond 3 be written to the stream.If the record parameter is a container, the range list may include individual subproperty names. For example, "Temperature, Pressure, 0-1" specifies that the subproperties Temperature and Pressure as well as elements 0 and 1 be written as fields to the stream.