caproto.server.get_pv_pair_wrapper(setpoint_suffix='', readback_suffix='_RBV')[source]

Generates a Subgroup class for a pair of PVs (setpoint and readback).

If no put method is defined for the setter, a default will be specified which updates the readback value on write.

Startup, shutdown, and scan hooks will be configured on the readback instance.

setpoint_suffixstr, optional

The suffix for the setpoint PV

readback_suffixstr, optional

The suffix for the readback PV


A wrapper that creates a SubGroup. It accepts all arguments used for PVSpec (or pvproperty). Additionally, keywords meant only for the setpoint or readback classes may be specified using setpoint_kw or readback_kw, respectively.