Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Can I Run Multiple States in Parallel Using the LabVIEW Statechart Module?

Primary Software: LabVIEW Modules>>Statechart Module
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I would like to run two states or regions in parallel operation using the LabVIEW Statechart Module.  Is this possible?

Solution:
As of LabVIEW Statechart Module 1.0, parallel activity is not supported.  Two states or regions can be concurrent, but not parallel.  In the diagram, there are two regions with two states in each.

States within the same region cannot be concurrent because they cannot both be active at the same time.  However, State 2 and State 4 could both be active at the same time, thus becoming concurrent because they are in different regions.  When states are concurrent, they take turns executing each iteration of the statechart.

If true parallel activity is desired, it would be necessary to create two separate statecharts that could be run in parallel.

Related Links:
KnowledgeBase 4G3GQD8H:  Frequently Asked Questions (FAQ) for LabVIEW Statechart Module
LabVIEW Help:  Orthogonal Regions and Concurrency (Statechart Module)

Attachments:





Report Date: 05/14/2008
Last Updated: 05/24/2008
Document ID: 4LDH06LC

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit