pdcomm::formattedProgramQueryParameter
Function
Returns one PPARM of one command of a returned program.
inline SecsItem formattedProgramQueryParameter(const GemResult &result, size_t commandIndex, size_t parameterIndex)Parameters
| Name | Description |
|---|---|
result | Formatted program request result whose answer contains a program. |
commandIndex | Zero-based command position. |
parameterIndex | Zero-based parameter position. |
Returns
An independently owned item.
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_STATEwhen no program is present;PDCOMM_OUT_OF_RANGEfor an invalid index.