Skip to content
Start free evaluation

pdcomm::removeFormattedProgramQuery

Function

Removes a program from the equipment's formatted program store.

inline void removeFormattedProgramQuery(GemEndpoint &endpoint, const SecsItem &id, bool *removed = nullptr)

Declared in: #include <pdcomm_gem_formatted_program_queries.hpp>

Same store as removeFormattedProgramStore().

Parameters

NameDescription
endpointEquipment endpoint with formatted program requests configured.
idPPID to remove.
removedOptional output; receives true when a program was removed and false when the PPID was not stored.

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_STATE on a host or without configuration; PDCOMM_INVALID_ARGUMENT for an invalid PPID.