pdcomm::formattedProgramStoreSnapshot
Function
Copies the equipment's formatted program store into an independent snapshot.
inline GemFormattedProgramStoreSnapshot formattedProgramStoreSnapshot(GemEndpoint &endpoint)Parameters
| Name | Description |
|---|---|
endpoint | Equipment endpoint with formatted program requests configured. |
Returns
A snapshot that stays valid after later changes and endpoint destruction.
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_STATEwhen the store does not exist;PDCOMM_ALLOCATION_FAILEDwhen memory runs out.