Skip to content
Start free evaluation

pdcomm::formattedProgramStoreSnapshot

Function

Copies the equipment's formatted program store into an independent snapshot.

inline GemFormattedProgramStoreSnapshot formattedProgramStoreSnapshot(GemEndpoint &endpoint)

Declared in: #include <pdcomm_gem_formatted_program_store.hpp>

Parameters

NameDescription
endpointEquipment endpoint with formatted program requests configured.

Returns

A snapshot that stays valid after later changes and endpoint destruction.

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_STATE when the store does not exist; PDCOMM_ALLOCATION_FAILED when memory runs out.