HIL Runtime and NI VeriStand
Runs → HIL runtime connects a project to a hardware-in-the-loop bench through the NI VeriStand Gateway. You select VeriStand as the project's HIL execution provider and discover the Gateway. You can then deploy a reviewed VeriStand system definition, or attach to a running one to observe its channels.
Before you start
| Requirement | What you need |
|---|---|
| Licence | A DEP HIL Runtime licence (runtime.hil.execute) on the DEP PC, and your own NI licences. See Licensing and Editions. |
| NI VeriStand | NI VeriStand 2024 Q4 with its Gateway, installed and running. DEP does not start the Gateway. |
| DEP PC | The NI Client API (VeriStand 2024), with Windows PowerShell 5.1 and .NET Framework 4.6.2. |
| Network | Network access and NI peer authorisation between the DEP PC and the Gateway PC. |
| Project | An initialised project with no other execution owner active. Stop, release or reconcile any previous owner. |
| Files | For deployment: a prepared VeriStand system definition and its dependencies. |

The top of the page shows the bench status:
- Banner: Physical outputs locked.
- Saved System profile: the profile and the number of assigned models.
- Deployment compatibility: shows Review required until you review it. Compatibility is reviewed separately from connection and deployment.
- Connection evidence: shows Not verified this visit until you connect.
- HIL execution provider: the selected provider.
Steps
Discover the Gateway

- Select the providerIn Runs → HIL runtime, select NI VeriStand Gateway.
- Gateway connectionIn Gateway host, enter
localhostor the hostname or IP of the Windows PC that runs the Gateway. Do not enter the real-time controller's address: the controller is discovered through the Gateway. For NI Client API, choose VeriStand 2024. - SaveSelect Save provider. Selecting a provider does not deploy a model or enable outputs. Discovery is available only after you save.
- DiscoverSelect Discover Gateway. Discovery waits at most 12 seconds.
Deploy or observe a system definition
- ReviewSelect Choose and review definition. Review the definition and its dependencies, and tick the review confirmation.
- Deploy or attachChoose Deploy reviewed Windows system to deploy the reviewed definition through the Gateway, or Attach observation only to attach to a system that is already deployed and only read it.
- ObserveWatch the channel observations on the page.
- StopSelect Stop owned deployment to stop a deployment that DEP started.
Results
- The discovery result shows the Gateway's state. Idle means the Gateway is reachable but has no deployed system. That is not an error, and it is not a completed HIL test.
- Connection evidence and Deployment compatibility show what has been verified during this visit.
- Channel observations carry the Windows receive time of the DEP PC.
Limits
DEP does not connect to or drive hardware. The HIL bench runs on NI VeriStand, which owns real-time execution and all I/O. From DEP you can discover the Gateway, deploy a reviewed system definition and observe its channels. DEP never writes VeriStand channels, so use HIL runtime to prepare and inspect a bench, not to drive actuators.
- Only the NI VeriStand 2024 Q4 client is enabled. Other NI versions need a compatibility review by DEVlink.
- Synchronised acquisition and channel commands are not available.
- Stop owned deployment stops only a deployment that DEP started.
- Channel observations use the Windows receive time, not the real-time controller's clock.
- Scenarios do not run on the HIL profile.
Troubleshooting
| Symptom | Usually means | Action |
|---|---|---|
| Gateway discovery timed out. Check the Gateway host, NI version and network access. No deployment or stop was requested. | The Gateway did not answer within 12 seconds. | Check that the Gateway runs, that Gateway host names the Gateway PC (not the controller), the NI Client API version, and NI peer authorisation. |
| Discover Gateway is not available | The provider was not saved. | Select Save provider first. |
| A request is recorded as UNKNOWN | DEP lost an acknowledgement from the Gateway. It does not assume success or failure. | Inspect and reconcile the session in Runs → HIL runtime before you retry. |
DEP-TGT-TIMEOUT | The target did not answer in time. A timeout does not prove that the bench has stopped. | Check the VeriStand side as well, then reconcile in Runs → HIL runtime. |
| Idle after discovery | The Gateway has no deployed system. | Expected. Deploy a reviewed definition, or deploy it in VeriStand and attach for observation. |

