pdcomm::formattedProgramCapabilityParameter
Function
Returns one parameter description of one command of a received S7F22.
inline SecsItem formattedProgramCapabilityParameter(const GemResult &result, size_t commandIndex, size_t parameterIndex)Parameters
| Name | Description |
|---|---|
result | Result with GemOutcome::FormattedProgramCapabilityResult. |
commandIndex | Zero-based command position. |
parameterIndex | Zero-based parameter position. |
Returns
An independently owned list item.
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_STATEwhen the result carries no capability data;PDCOMM_OUT_OF_RANGEfor an invalid index.