pdcomm::formattedProgramTransferCommandInfo
Function
Describes one command of a received S7F23.
inline GemFormattedProgramTransferCommandInfo formattedProgramTransferCommandInfo(const GemResult &result, size_t index)Parameters
| Name | Description |
|---|---|
result | Formatted program transfer result that carries a program. |
index | Zero-based command position, less than GemFormattedProgramTransferInfo::commandCount. |
Returns
Parameter count and CCODE format.
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_STATEwhen the result carries no program;PDCOMM_OUT_OF_RANGEfor an invalidindex.