CATRule for the Data Collect Plan

Using a CATRule, you can specify the content (Label, Values, Text) of the created Rows in the Data Collect Plan.

This page discusses:

General Information

The following table provides you with information related to the definition of the opening ID.
PLM Opening ID DELWKIDataCollectPlan_ReqAssociation_BL_ID
Customization intent Computation
Execution context Client
CATRuleExit DELWKIDataCollectPlanReqAssociation.CATRuleExit
Sample CATRule DELWKIDataCollectPlanReqAssociation.CATRule

This BL is invoked when assigning Requirements to a Data Collect Plan.

Each assignment results in the creation of a new Row. The values on the created Row are specified by this BL.

Input Objects

Input Object Read/ Write Type Comments
AssociatedRequirement Read Requirement The Requirement being assigned

Output Objects

Output Object Read/ Write Type Comments
ReqText Write String The text / rich text content.
ReqLabel Write String
ReqNumMeasurements Write String
ReqType Write String

The type of row to be created.

This is a mandatory argument (must be specified).

The valid values are Real, Integer, Text, Boolean and Timestamp.

ReqMagnitude Write String This is a mandatory argument (must be specified) for Real types.
ReqUnit Write String This is a mandatory argument (must be specified) for Real types.
ReqValue Write Real This is an optional argument that can be specified for Real types.
ReqListPossibleValues Write List

This is an optional argument that can be specified for Integer, Text or Boolean.

Note: One or more values specified for Boolean types must match the values seen in the list when creating a row of type Boolean interactively.
ReqListConformanceValues Write List

This is an optional argument that can be specified for Text or Boolean.

Note: One or more values specified must be a subset of the values in ReqListPossibleValues.
Note: Only one value can be specified for Boolean type.
ReqMin Write Real

This is an optional argument that can be specified for Real or Integer types.

Note: Min is now known as Acceptable Min.

ReqMinBoundValue Write Integer

This is a mandatory argument (must be specified) for Real or Integer types.

Valid values are:

  • 0: Min value is unset/unspecified
  • 1: Value specified in ReqMin is Included (ReqMin value and higher are valid)
  • 2: Value specified in ReqMin is Excluded (Only values higher than ReqMin)
ReqControlMin Write Real

This is an optional argument that can be specified for Real or Integer types.

This should only be specified IF ReqMin is also specify.

The value should be greater than or equal to the ReqMin value.

The value should be less than or equal to:

  • The ReqValue (if ReqValue is specify)
  • The ReqControlMax value (if ReqValue is unset and if ReqControlMax is specify)
  • The ReqMax value (if ReqValue and ReqControlMax are unset and ReqMax is specify)
Note: Control Min is now known as Normal Min.
ReqControlMinBoundValue Write Integer

This is a mandatory argument (must be specified) for Real or Integer types.

The valid values are:

  • 0: Control Min value is unset/unspecified
  • 1: Value specified in ReqControlMin is Included
  • 2: Value specified in ReqControlMin is Excluded
ReqMax Write Real

This is an optional argument that can be specified for Real or Integer types.

Note: Max is now known as Acceptable Max.
ReqMaxBoundValue Write Integer

This is a mandatory argument (must be specified) for Real or Integer types.

Valid values are:

  • 0: Max value is unset/unspecified
  • 1: Value specified in ReqMax is Included (ReqMax value and lower are valid)
  • 2: Value specified in ReqMax is Excluded (Only values lower than ReqMax)
ReqControlMax Write Real

This is an optional argument that can be specified for Real or Integer types.

This should only be specified IF ReqMax is also specify.

The value should be less than or equal to the ReqMax value.

The value should be greater than or equal to:

  • The ReqValue (if ReqValue is specify)
  • The ReqControlMin value (if ReqValue is unset and if ReqControlMin is specify)
  • The ReqMin value (if ReqValue and ReqControlMin are unset and ReqMin is specify)
Note: Control Max is now known as Normal Max.
ReqControlMaxBoundValue Write Integer

This is a mandatory argument (must be specified) for Real or Integer types.

Valid values are:

  • 0: Control Max value is unset/unspecified
  • 1: Value specified in ReqControlMax is Included
  • 2: Value specified in ReqControlMax is Excluded
ReqTimestampFormat Write String

This is an optional argument that can be specified for Timestamp type.

Note: The value specified must match one of the values seen in the list when creating a row of type Timestamp interactively.
ReqBalloonNumber Write String This is an optional argument that can be specified for all types.

Sample

A complete example file is available in ..\resources\knowledge\scripts\ DELWKIDataCollectPlanReqAssociation.CATRule.

The sample BL does the following:

  • Reads the information from the input requirement and specifies the Label, Text, Type, Magnitude, and Number of Measurements on the row
  • If the input requirement is an FTA requirement, then it reads the nominal and tolerance information (if applicable, depending on the FTA type) and specifies the Nominal and Acceptable Min/Max values on the row.