# What is hardware-in-the-loop testing?

> Hardware-in-the-loop, or HIL, connects real flight or vehicle hardware to a simulation of everything around it, so teams can exercise the hardware against…

Source: https://nominal.io/answers/hardware-in-the-loop

1. [Answers](https://nominal.io/answers.md)
2. What is hardware-in-the-loop testing?

# What is hardware-in-the-loop testing?

Hardware-in-the-loop, or HIL, connects real flight or vehicle hardware to a simulation of everything around it, so teams can exercise the hardware against scenarios that are risky or expensive to create for real.

## Why teams use HIL

HIL finds integration problems early, before a vehicle is fully assembled, and lets teams repeat the same scenario after every software change.

## What it produces

Every HIL run produces hardware data: commanded and measured values, simulated states and software logs. Keeping those runs searchable makes regressions easy to catch.

## Related questions

### How is HIL different from software-in-the-loop?

Software-in-the-loop simulates the hardware too; HIL keeps the real hardware in the loop.

### When should a team start HIL?

As soon as a representative controller or avionics unit exists.

- [Why teams use HIL](https://nominal.io/answers/hardware-in-the-loop.md#why-teams-use-hil)
- [What it produces](https://nominal.io/answers/hardware-in-the-loop.md#what-it-produces)

Get started

## See Nominal in action

[Try Nominal](https://nominal.io/demo.md?from=%2Fanswers%2Fhardware-in-the-loop&cta=answers-cta)
