|Download Help (Windows Only)|
The NI VeriStand Stimulus Profile Editor enables you to create specific test scenarios for use in your real-time test applications. If you want to script your test sequences in Python, you can use the NI VeriStand Python Integration Package as an alternative to the Stimulus Profile Editor. This open-source package allows you to execute Python scripts as if they were NI VeriStand real-time sequences. To learn more about this feature, view the NI VeriStand Python Documentation. To download this feature, go to the NI VeriStand Python Integration Package Download Page.
In real-time test, a stimulus is a physical or logical input that incites a reaction from the unit under test (UUT). A typical stimulus might be a change in temperature, voltage, power, or any other variable that might affect the behavior of the UUT. In NI VeriStand, a stimulus profile acts as a test executive that defines stimuli to apply to the UUT.
A stimulus profile contains specific tasks, called real-time sequences, that deploy to the UUT and execute in real time. Stimulus profiles execute on the host computer, and therefore can also control certain actions of the NI VeriStand environment. For example, stimulus profiles can open and close projects and user interface windows. A stimulus profile also can log the results of test scenarios to TDMS files for later review. You can execute multiple stimulus profiles concurrently, and each stimulus profile can contain multiple real-time sequences.
Stimulus profiles appear under the Profiles node in the Project Explorer window with a file extension of .nivsstimprof, shown as follows.
Real-time sequences are the key components of stimulus profiles. A real-time sequence is a program that defines a specific task to execute on the UUT. Real-time sequences actually deploy to the target, and therefore can execute deterministically. Sequences test the UUT by reading from and writing to channels defined in the system definition file. These sequences can include a wide variety of programming constructs, including while loops, for loops, variables, and conditional statements.
A real-time sequence cannot execute on its own and must belong to a stimulus profile. Real-time sequences also appear under the Profiles node with a file extension of .nivsseq.
The Stimulus Profile Editor is the environment in which you create, modify, and execute stimulus profiles and real-time sequences. The editor itself is a separate executable from the System Explorer, UI Manager, or Workspace window, which allows you to develop your test profiles in parallel with the system definitions and user interfaces with which they interact. However, a stimulus profile must be associated with a deployed NI VeriStand system definition in order to execute. In the Stimulus Profile Editor, you can start multiple concurrent stimulus profile executions. Each stimulus profile execution performs sequential execution of one or more real-time sequences.
To launch the Stimulus Profile Editor, select the Profiles node in the Project Explorer window and click Launch Stimulus Profile Editor (), or navigate to the editor from the Windows Start menu.
NI VeriStand includes example stimulus profile and real-time sequence files in the <Common Data>\Examples directory. Use these files to familiarize yourself with the Stimulus Profile Editor environment and features.
In addition to using the Stimulus Profile Editor environment, you can use the LabVIEW VIs on the Stimulus Profile palette in LabVIEW to execute and control stimulus profile and real-time sequence files programmatically. NI VeriStand includes examples of using these VIs in the <LabVIEW>\examples\NI VeriStand\API\Execution API\Sequences directory.