For VeriStand 2019 or later
Refer to
Running VeriStand Operations Using the Command Line to call
VeriStand.exe with arguments. For example to launch the Engine Demo shipping example in operator mode for VeriStand 2020, call the following command in Command Prompt.
"C:\Program Files\National Instruments\VeriStand 2020\VeriStand.exe" /nivsprj "C:\Users\Public\Documents\National Instruments\NI VeriStand 2020\Examples\Stimulus Profile\Engine Demo\Engine Demo.nivsprj" /operateScreen
For VeriStand 2018 or earlier
Refer to
Communicating with UI Manager Using Stimulus Profile Arguments to call
NationalInstruments.VeriStand.UIManager.Application.exe with arguments. For example to launch the Engine Demo shipping example for VeriStand 2018, call the following command in Command Prompt.
"C:\Program Files\National Instruments\NI VeriStand UI Manager 2018\NationalInstruments.VeriStand.UIManager.Application.exe" /nivsprj "C:\Users\Public\Documents\National Instruments\NI VeriStand 2018\Examples\Stimulus Profile\Engine Demo\Engine Demo.nivsprj"
You need to launch and connect to VeriStand Gateway explicitly before connecting from UI Manager. See next section.
Launching VeriStand Gateway Silently
If you are using your own customized user interface and want to deploy the VeriStand project without opening any VeriStand user interface, you can launch VeriStand Gateway silently.
“C:\Program Files (x86)\National Instruments\VeriStand 2020\veristand-server.exe” start
- This feature is further improved in VeriStand 2020 R6 to allow you to add arguments to deploy and undeploy system definition files. For example to deploy shipping example Engine Demo for VeriStand 2020.
“C:\Program Files (x86)\National Instruments\VeriStand 2020\veristand-server.exe” deploy “C:\Users\Public\Documents\National Instruments\NI VeriStand 2020\Examples\Stimulus Profile\Engine Demo\Engine Demo.nivssdf”
Additional Information
You can
Execute Command Line Arguments from LabVIEW.
VeriStand 2019 and later has a project-wide setting called
Privilege level which allows a project to be set to
Operator mode and disabled system definition file edits. See
How Do I Allow Only Operator Privileges in NI VeriStand? for more information.
Commands ran through the command line can be added to a .bat file for automated execution.
Additionally, a shortcut to the VeriStand.exe can be created with the opening arguments included.
For example, a shortcut to open VeriStand 2021 in operator mode can be created by specifying the
Target: as:
"C:\Program Files\National Instruments\VeriStand 2021\VeriStand.exe" /operateonly