diff --git a/src/components/readouts/ADCs.jl b/src/components/readouts/ADCs.jl index eca79676bec754c9b3882480782d9419fefe45b8..5e745848ccd0b59dd0f17687f90b7dcbeebee50b 100644 --- a/src/components/readouts/ADCs.jl +++ b/src/components/readouts/ADCs.jl @@ -37,7 +37,8 @@ function ADC(; resolution=nothing, dwell_time=nothing, time_to_center=nothing, c get_free_variable(oversample, integer=true), ) apply_simple_constraint!(res.dwell_time, :>=, 0) - apply_simple_constraint!(res.oversample, :>=, 0) + apply_simple_constraint!(res.oversample, :>=, 1) + apply_simple_constraint!(res.resolution, :>=, 1) if center_halfway apply_simple_constraint!(variables.duration(res), 2 * res.time_to_center) else