DB_RESET

Syntax

Example

Description/Remarks

DB_RESET fields

DB_RESET 2

This command resets the record buffers for the fields specified by the parameter.  It does not return a value.

Valid parameters:

0: Clears all the SPC and DMS data fields

1: Clears the following

  • SPC data values

  • DMS defect values

  • Notes

  • Bypass

  • Unsets anchor points

2: Clears the following

  • Event (SPC)

  • Event (DMS)

  • Cause

  • Action Taken

Setting the fields parameter to 0 causes all SPC and DMS fields, including note, to be cleared in the record buffer.

Setting the fields parameter to 1 causes the SPC data values, DMS defect values, note, bypass and anchor point fields to be cleared in the record buffer.

Setting the style parameter to 2 causes the Event for both SPC and DMS, Cause and Action Taken fields to be cleared in the record buffer.

The settings may be combined, e.g. set to 3 to clear a combination of fields (1 + 2)

This command may be called at any time.