आAcharya LESSON

TSE/HVI / SYSTEM

Triggers, actions and events

intermediate 25 min

What to understand

Why it matters: Most Niagara and PXI routing tests are assertions on destination settings. Knowing defaults and the failure behavior prevents false conclusions.

Key points

  • SamplingMode: FullRate (default, engine clock) vs Clk100Mhz (10 ns) → HW FullRate/SlowRate.
  • SyncMode public values: Immediate, Sync, Sync_Base, Sync_10Mhz. The others are cmi_only.
  • TriggerId (Trigger0-63, DStar*, Stm*) vs TriggerResourceId (PxiTrigger0-7, AxiTrigger, FpTrigger…).
  • A failed Trigger::applyConfig releases the trigger. Later applies fail and the HW keeps the last good config; TriggerRuntime has no readback.

Questions to explain aloud

  • What does a destination setting change?
  • How do definition and runtime objects differ?

Watch for these misconceptions

  • Triggers, actions and events are runtime synonyms.

PRACTISE

Complete this exercise

Annotate one routing definition.