Skip to content
Start free evaluation

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)

Declared in: #include <pdcomm_gem_formatted_program_capabilities.hpp>

Parameters

NameDescription
resultResult with GemOutcome::FormattedProgramCapabilityResult.
commandIndexZero-based command position.
parameterIndexZero-based parameter position.

Returns

An independently owned list item.

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_STATE when the result carries no capability data; PDCOMM_OUT_OF_RANGE for an invalid index.