Skip to content
Start free evaluation

pdcomm::formattedProgramTransferCommandInfo

Function

Describes one command of a received S7F23.

inline GemFormattedProgramTransferCommandInfo formattedProgramTransferCommandInfo(const GemResult &result, size_t index)

Declared in: #include <pdcomm_gem_formatted_program_transfers.hpp>

Parameters

NameDescription
resultFormatted program transfer result that carries a program.
indexZero-based command position, less than GemFormattedProgramTransferInfo::commandCount.

Returns

Parameter count and CCODE format.

Notes

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