ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Scripted Testing with Veristand

Hello all,

I am pretty new to Veristand and am currently working on setting up a test project for my company. For our current simulation interface set up we are able to use the Python interpreter built in to control parameters/signals with operations like: override signal, set signal value, get value, etc.

I am trying to figure out how to build up the same functionality using Veristand, is this possible with Veristand?

0 Kudos
Message 1 of 2
(1,657 Views)

Hello,

 

VeriStand provides an Execution API and RT Sequences to achieve the functionality you are asking about. The Execution API can be accessed from any .NET-compatible programming language or environment https://www.ni.com/docs/en-US/bundle/veristand-net-api-reference/page/veristandsdapi/html/n_national...

 

For faulting/evaluating channels, consider the latency and determinism you require. If you use the the Execution API to get/set channel values, those commands/values are transmitted over the VeriStand gateway in the Communication Send/Receive loops: https://www.ni.com/docs/en-US/bundle/veristand/page/vs-engine.html. If you require determinism, consider creating a Real-Time Sequence which will operate in the engine. 

 

VeriStand offers a Python API for creating real-time sequences as well as compatibility with the Execution API (referred to as the Legacy API in the documentation). For an example of a basic, automated test environment, refer to https://niveristand-python.readthedocs.io/en/latest/basic_examples.html#combining-the-legacy-api-wit.... There are additional examples of Python Real-Time sequences in that documentation as well which demonstrates how to fault/evaluate channel values.

Brian.D
NI Product Owner
VeriStand
0 Kudos
Message 2 of 2
(1,623 Views)