आAcharya LESSON

TSE/HVI / FOUNDATIONS

The six blocks of every HVI program

beginner 20 min

What to understand

Every HVI test or program runs six blocks in order: Connect, Describe, Configure, Compile + load, Run + observe, Release. Describe and Configure create definition objects. After loadToHw the code must look up the runtime twin by name to change anything live.

Why it matters: This is the fastest way to read any test in Python, .NET or C++, and to tell whether a change has reached hardware yet.

Key points

  • Connect: engine ids/resources, FrameLeader, followers.
  • Configure: getConfig()->set…() on definition objects.
  • Compile + load: compile(), loadToHw(). Multi-chassis/Niagara systems also run initialize()/alignment.
  • Run + observe: runtime objects, on()/off(), applyConfig(), waits, asserts, scope.
  • Release: releaseHw().

Questions to explain aloud

  • What is a definition object versus a runtime object?

Watch for these misconceptions

  • Configuration directly changes hardware without compile/load.

PRACTISE

Complete this exercise

Mark the six blocks in one test.