XTCE 1.3 RTF Avatar
  1. OMG Issue

XTCE13 — Add ArgumentRef to the Verifier Condition element in MetaCommand

  • Key: XTCE13-184
  • Status: open  
  • Source: NASA ( Mr. James Kevin Rice)
  • Summary:

    Noticed in YAMCS example. YAMCS says XTCE should support ArgumentRefs in MetaCommand/Verifiers. For example from the YAMCS website:

    <xtce:MetaCommand name="cmd_with_verifier4">
    <xtce:ArgumentList>
    <xtce:Argument name="arg1" argumentTypeRef="u32" />
    </xtce:ArgumentList>
    <xtce:CommandContainer name="cmd_with_verifier4">
    <xtce:EntryList>
    <xtce:ArgumentRefEntry argumentRef="arg1" />
    </xtce:EntryList>
    </xtce:CommandContainer>
    <xtce:VerifierSet>
    <xtce:CompleteVerifier>
    <xtce:BooleanExpression>
    <xtce:Condition>
    <!-- This is not valid according to XTCE but we think it should be made part of the standard.
    It achieves the same as the example above without using the false /yamcs/cmd/arg parameter reference. -->
    <xtce:ArgumentInstanceRef argumentRef="arg1" />
    <xtce:ComparisonOperator>==</xtce:ComparisonOperator>
    <xtce:ParameterInstanceRef parameterRef="local_para1" />
    </xtce:Condition>
    </xtce:BooleanExpression>
    <xtce:CheckWindow timeToStartChecking="PT0S" timeToStopChecking="PT1S" />
    </xtce:CompleteVerifier>
    </xtce:VerifierSet>
    </xtce:MetaCommand>

  • Reported: XTCE 1.2 — Thu, 12 Dec 2024 22:19 GMT
  • Updated: Thu, 19 Dec 2024 01:15 GMT