DEP — DEVlink Engineering PlatformUser Guide

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.

HIL through NI VeriStand: DEP on Windows talks to the VeriStand Gateway through the NI Client API; the Gateway manages the real-time controller and its I/O DEP Studio (Windows)Runs → HIL runtimeDiscover Gateway NI VeriStand GatewayVeriStand 2024 Q4 on Windowslocalhost or the Gateway PC RT controller and I/Odiscovered throughthe Gateway NI Client API DEP does not drive outputs. It deploys reviewed systems and observes channels; it never writes channels.
DEP talks to the VeriStand Gateway through the NI Client API. The Gateway manages the real-time controller and its I/O.

Before you start

RequirementWhat you need
LicenceA DEP HIL Runtime licence (runtime.hil.execute) on the DEP PC, and your own NI licences. See Licensing and Editions.
NI VeriStandNI VeriStand 2024 Q4 with its Gateway, installed and running. DEP does not start the Gateway.
DEP PCThe NI Client API (VeriStand 2024), with Windows PowerShell 5.1 and .NET Framework 4.6.2.
NetworkNetwork access and NI peer authorisation between the DEP PC and the Gateway PC.
ProjectAn initialised project with no other execution owner active. Stop, release or reconcile any previous owner.
FilesFor deployment: a prepared VeriStand system definition and its dependencies.
The status cards at the top of Runs → HIL runtime.
The status cards at the top of Runs → HIL runtime.

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

Gateway connection: Gateway host, NI Client API, Save provider and Discover Gateway.
Gateway connection: Gateway host, NI Client API, Save provider and Discover Gateway.
  1. Select the providerIn Runs → HIL runtime, select NI VeriStand Gateway.
  2. Gateway connectionIn Gateway host, enter localhost or 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.
  3. SaveSelect Save provider. Selecting a provider does not deploy a model or enable outputs. Discovery is available only after you save.
  4. DiscoverSelect Discover Gateway. Discovery waits at most 12 seconds.

Deploy or observe a system definition

  1. ReviewSelect Choose and review definition. Review the definition and its dependencies, and tick the review confirmation.
  2. 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.
  3. ObserveWatch the channel observations on the page.
  4. 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

SymptomUsually meansAction
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 availableThe provider was not saved.Select Save provider first.
A request is recorded as UNKNOWNDEP 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-TIMEOUTThe 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 discoveryThe Gateway has no deployed system.Expected. Deploy a reviewed definition, or deploy it in VeriStand and attach for observation.