Example Code

Batch Synchronization - Serial

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • Teststand

Code and Documents

Attachment

Overview

This example demonstrates how to use Batch Model Synchronization steps to run tests in a serial manner (one thread at a time) for a portion of a multi-threaded process model test sequence.

Description

When running the parallel/batch multithreaded process models, it may become necessary to execute the test code for multiple test sockets one socket at a time. This can be due to limited test resources or other such limitations.

Requirements

TestStand 2013 (or compatible)

Steps to Implement or Execute Code

  1. Reduce the speed of execution by navigating to  Configure => Station Options => Execution Speed and adjusting the speed slider.
  2. Select Execute => Single Pass to observe 4 tests run in parallel and execute through the serial Batch Synchronized section.

TestStand Batch model synch.PNG

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Adel99
Member
Member
on

Bonjour , Je veux créer une HMI avec labiew pour un parralelBatchmodel (4 sockets) Merci de m'envoyer un exemple

Contributors