The first step is to install NI VeriStand software and associated driver software on your Windows computer. Then install NI VeriStand Engine software on all real-time targets to which you are deploying.
Install NI VeriStand by using the NI VeriStand DVD or downloading NI VeriStand. When you run the installer, you have the option to select the components that you need for your application.
Note: The NI VeriStand Model Framework can be installed independently and licensed free of charge. For machines that do not need the NI VeriStand environment, select only the NI VeriStand Model Framework for installation. Once you have installed the NI VeriStand Model Framework, you can license it for free by using the NI VeriStand Model Generation Activation Utility found here.After you install the necessary NI VeriStand software components, install NI Device Drivers from either the Device Drivers DVD or from NI Driver Downloads. Install the following drivers:
After all installations are complete on the host PC, open NI Measurement & Automation Explorer to confirm the installed software by expanding the My System»Software item within the tree structure as shown below.
Once you have all of the necessary software on your host computer, you need to install software on the real-time target computer by following the steps below.
In Measurement & Automation Explorer, select your NI VeriStand real-time target under the Remote Systems tree item.
Select the Software item for your real-time target and choose Add/Remove Software.
For CompactRIO targets only: Select the Custom Software Installation option.Choose to install the NI VeriStand Engine. This installs the NI VeriStand Engine as well as the software components required to run it.Optional: If you want to implement a distributed real-time test system that uses GE reflective memory interfaces, select the GE reflective memory software on the target for installation.Optional: If you are using a CompactRIO device and you want to install the Scan Engine Custom device, select the NI-Industrial Communications for EtherCAT and I/O Variable Remote Configuration Web Service for installation as well.Complete the software installation process and reboot your real-time target. You can see a list of currently installed software on your target by looking under the Remote Systems»Real-Time Target»Software item within the MAX tree structure as highlighted above.
Open NI VeriStand (Start»Programs»National Instruments»NI VeriStand) and create a New NI VeriStand Project. Choose your project name and directory path from the window that appears.Note: NI recommends keeping all project dependencies relative to the project file location and placing them in the same folder or in a subfolder. This includes items such as Workspace files (.nivsscren), System Definition files (.nivssdf), Stimulus Profile files (.nivsstimprof), Real-Time sequence files (.nivsseq), models, and FPGA bitfiles or configuration files.In the NI VeriStand Project Explorer window, expand the System Definition File tree item and open the *.nivssdf file found there by right-clicking on the file and selecting Launch System Explorer.
Note: NI will remove support for Phar Lap for cRIO in the NI 2020 Software Release and for PXI in the NI 2022 Software Release. For more information, please see the Phar Lap RT OS EOL Road Map .PXI Real-Time and cRIO-908x TargetsConfigure the PXI target by highlighting Controller in the tree, selecting Phar Lap* for the OS, and using the same IP address displayed for the PXI system in MAX. Rename the controller Name to a unique name of your choosing.All Other CompactRIO Real-Time TargetsConfigure the CompactRIO target by highlighting Controller in the tree, selecting VxWorks for the OS, and using the same IP address displayed for the CompactRIO system in MAX. Rename the controller Name to a unique name of your choosing.Note: The Operating System drop down has the choice for Phar Lap*, VxWorks, Linux_32_ARM, and Linux_x64 as of VeriStand 2014. The choices for VeriStand will match the Real-Time Controllers and RTOS Compatibility documentation .
Note: The cRIO 904x controller is currently not supported in NI VeriStand.Running the NI VeriStand Engine on the Localhost Windows ComputerConfigure the Windows target by highlighting Controller in the tree and selecting Windows for the OS. Note localhost is the automatic selection for IP address, which indicates that the System Definition runs on the host PC. Rename the controller Name to a unique name of your choosing.
While in the Controller section, the setting for Target Rate underneath the Timing Source Settings section sets the Primary Control Loop rate on your target. The Primary Control Loop controls the timing for the NI VeriStand Engine and keeps updated channel values. Find more information on the Primary Control Loop and other individual loops running on the NI VeriStand Engine in NI VeriStand Engine Architecture .Expand Controller in the tree and note the various items you can add to your System Definition.
Aliases are useful for many reasons, including sharing one Workspace with multiple system definitions and mapping Workspace objects to those aliases. Because of this, you can rename System Definition channels within an alias without the Workspace losing its mapping.
You can easily connect channels to each other in NI VeriStand using a mapping tool. This tool helps you quickly connect simulation models to physical I/O as well as any other channel in your system. To configure mappings for your NI VeriStand system, select Tools»Edit Mappings or click on the Configure Mappings button, shown below, to connect channels to each other such as a model output to a physical channel or a calculated channel to an alias.
Select a channel in the tree under Sources in the System Configuration Mappings window that just opened.
Select a channel under Destinations and then click Connect to map the channels. Note that the Source and Destination channels now appear under Mappings.
System channel mappings can be exported and saved to file. You can then import this file to automate the system mapping process at a later time.
Once you have configured your system definition, save and close the System Explorer. There are two options for running NI VeriStand projects.Run: Launches the Workspace window. If you have configured the system to run on a PC, clicking the button begins running the project. If you have configured the system to run on an RT target, clicking the Run button deploys the system definition file if one is not already running. If a system definition file already is running on the RT target, clicking the Run button connects to the target and launches the Workspace window without re-deploying the system definition file.
Deploy: Pressing the button deploys the system definition to the target that you specified in the System Explorer. However, it does not open the Workspace Window. If a system definition file already is running on the RT target, deploying a new system definition will replace the system definition that is currently running.
You can use NI VeriStand with a wide variety of simulation modeling environments and programming languages. Model subsystems can be built independently and integrated within the NI VeriStand environment, so you can easily replace simulated components with real components as they become available.
If you are using an NI real-time target and you don't know which OS is running on the target, view Real-Time Controllers and Real-Time Operating System Compatibility .
For more information on interacting with models from other modeling environments and programming languages in NI VeriStand, go to Using Simulation Models With NI VeriStand . This document has a complete list of supported modeling environments that have been tested and verified as being able to create compiled models that can be imported in NI VeriStand.
With the Scan Engine and EtherCAT custom device, you can easily read scanned I/O from C Series modules located in a CompactRIO or NI 9144 EtherCAT chassis. The add-on also supports the use of custom FPGA personalities with an NI 9144 chassis.Note: The EtherCAT and NI Scan Engine add-on for NI VeriStand is compatible with CompactRIO targets and the NI 9144 EtherCAT expansion chassis.Download the Veristand 2018 Scan Engine and EtherCAT Add-On and follow the installation instructions.To add the Scan Engine and EtherCAT Add-On to your NI VeriStand system, follow these steps:
* NI will remove support for Phar Lap for cRIO in the NI 2020 Software Release and for PXI in the NI 2022 Software Release. For more information, please see the Phar Lap RT OS EOL Road Map .
MATLAB®and Simulink® are registered trademarks of The MathWorks, Inc. All other trademarks are the property of their respective owners.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.