LabVIEW Project Providers

cancel
Showing results for 
Search instead for 
Did you mean: 

Compile time checks

Is it possible to add rule checks to the project and give the VI/Library VIs broken run arrows at will: http://www.ni.com/getting-started/labview-basics/debug

For example if a parent LV class  requires a method be overridden, but a ahild class doesn't override this method the LV class is shown as broken with all associated VIs unrunnable. Is it possible to achieve the same effect with custom project items?



Using LV2018 32 bit

Highly recommended open source screen capture software (useful for bug reports).

https://getsharex.com/
0 Kudos
Message 1 of 3
(3,092 Views)

The project provider framework only affects the project and the display of things in the project.  I believe that IF this were possible, it would not be part of proejct providers, but VI scripting, and you would invoke whatever VI Scripting property/method from inside your project provider code. 

I personally don't know of any scripting functions that can manually break VIs (aside from placinng an already broken node on the diagram), but the best place to figure this out would be the scripting community.

0 Kudos
Message 2 of 3
(3,078 Views)

Thanks David. I'll post the question in the scripting community as well. I wasn't sure when/how LabVIEW invokes the rule checking: every time a VI is added, or wether it's the responsibility of the project provider to periodically check that it conforms.



Using LV2018 32 bit

Highly recommended open source screen capture software (useful for bug reports).

https://getsharex.com/
0 Kudos
Message 3 of 3
(3,078 Views)