Para descargar el software de NI, incluyendo los productos que se muestran a continuación, visite ni.com/downloads.
Overview
This VI shows how to use a Functional Global Variable to stop multiple parallel loops.
Description
Within a loop connect the loop's stop condition to stop in and the loop's error cluster to error in, reset remains unconnected (default: FALSE). When stop in is true or an error is present, the value is stored and then read by all instances to stop all loops.
To reset the FGV connect a reset constant to reset. In the reset case the status from error in is stored. If the FGV is reset while an error is present, stop out is TRUE, otherwise FALSE.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Description-Separate-2El código de ejemplo del Intercambio de Código en la Comunidad de NI está autorizado con la licencia MIT.