# Record Types

VisionPro tools can create two types of records:

- Current records contain a description of the current state of the tool.

  Use the CreateCurrentRecord() method to create a new set of current records.

- LastRun records contain information describing the state of the tool immediately after each call of the Run() method.

  Use the CreateLastRunRecord() method to create a new set of records that represent the tool's last-run state.

Every vision tool supports CurrentRecordEnable(), LastRunRecordEnable() and LastRunRecordDiagEnable() methods that enable the creation of tool records. Every vision tool implements these methods as part of its default interface, and every vision tool defines enumerations that let you specify the specific information stored in individual tool records.

For example, a Blob tool supports the BlobCurrentRecordConstants enumeration that determines if the current records for a Blob tool include a histogram of the input image in the current records.