# Setup And Hold

With a data signal and its associated clock signal:

- Setup time is the amount of time that the data signal must be stable and valid prior to a clock edge.
- Hold time is the amount of time that the data signal must be stable and valid after a clock edge.

This Setup And Hold trigger mode lets you trigger on Setup time violations, Hold time violations, or either Setup time or Hold time violations.

Setup time violations occur when the data signal is not stable and valid for the required amount of time prior to a clock edge.

Hold time violations occur when the data signal is not stable and valid for the required amount of time after a clock edge.

Violations occur when the data signal crosses though the specified violation region(s).

- Trigger Condition — Select the kind of setup and hold violations to trigger on:

  - Setup Time — Looks for violations where the data signal crosses though the region specified by the < Setup time.
  - Hold Time — Looks for violations where the data signal crosses through the region specified by the < Hold time.
  - Setup or Hold Time — Looks for violations where the data signal crosses though the combined region specified by the < Setup time and the < Hold time.

- Data Source — Selects the analog input channel that is the data signal. The associated Level field (and increase, 50%, or decrease buttons) let you specify the threshold level for the data signal.

- Clock Source — Selects the analog input channel that is the clock signal. The associated Level field (and increase, 50%, or decrease buttons) let you specify the threshold level for the clock signal. The Slope control specifies whether the clock occurs on rising or falling edges.