Skip to content

Commit

Permalink
Merge pull request #41 from jacquelinegarrahan/initial_put
Browse files Browse the repository at this point in the history
Fixes for inital put on default
  • Loading branch information
jacquelinegarrahan authored Aug 27, 2020
2 parents 1e9b15a + cb20e65 commit 0e7be81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lume_epics/client/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ def put(self, pvname, value: Union[np.ndarray, float], timeout=1.0) -> None:
"""
self.setup_pv_monitor(pvname)

# allow no puts before a value has been collected
registered = self.get(pvname)

# if the value is registered
if registered is not None:
if self.protocol == "ca":
Expand Down

0 comments on commit 0e7be81

Please sign in to comment.