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

Why Do I See VIs Under the Error List When I Have a Real-Time VI Without a Broken Run Arrow?

Primary Software: LabVIEW Modules>>LabVIEW Real-Time Module
Primary Software Version: 5.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Full Development System

Problem:
I have a VI that is being developed for a Real-Time system. Even though the Real-Time VI does not have a broken run arrow, I still have items with errors found under the Error List. Why does this happen?

Solution:
This behavior can occur if you have any VIs with Conditional Disable Diagrams. If a condition is disabling VIs that would be broken under a Real-Time target, then those VIs would still show up under the Error List even though the top-level VI is not broken.

Example:
Using the Simple Error Handler.vi or General Error Handler.vi in your block diagram will result in the Error List shown below.



Both Items with errors can be found in the General Error Handler CORE.vi which is a subVI of the General and Simple Error Handlers. In this subVI a Conditional Disable Structure is used to disable part of the code that will not execute on a Real-Time target.



Even though the section of block diagram is disabled, it is still loaded into memory as being under a Real-Time target. Therefore, any errors resulting will not cause the top-level to break, but they will show up in the Error List. The enabled section of the Conditional Disable Structure is shown below.



Since this section of the Conditional Disable Structure does not contain any errors, the top-level VI is not broken while under the Real-Time target.

Related Links:
KnowledgeBase 4KLKH48A: How to Programmatically Launch a VI on a Real-Time (RT) Controller

Attachments:





Report Date: 10/30/2008
Last Updated: 11/13/2008
Document ID: 4QTE1D0U

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