From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

VI Analyzer Enthusiasts Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

What kinds of things can be broken on a diagram?

I'm writing a VI Analyzer test that involves detecting items within a subdiagram (like a case of a case structure) that might be broken. So just checking if the VI is broken isn't granular enough, I want to know the broken things on a certain subdiagram. Here are the things I can think of that I could detect through scripting that would tell me a subdiagram is broken:

 

1. Broken wire

2. Broken subVI (including a bad subVI linkage)

3. Unwired required parameter on a function/subVI

 

Can y'all think of anything else?

0 Kudos
Message 1 of 4
(3,065 Views)

Array constant undefined type

0 Kudos
Message 2 of 4
(3,015 Views)

and a few more:

missing SubVI (probably falls into broken SubVI)

format string problems with "Format into String" node

missing type definitions / other type definition problems for constants.

Scratching my head a bit around bundle/unbundle.  I think most of these errors would be found through broken wire checks.

 

 

0 Kudos
Message 3 of 4
(3,014 Views)

Thanks, Warren. I've added your suggestions to my test. Let me know if you (or anybody else reading this) can think of other broken items I can check for.

0 Kudos
Message 4 of 4
(3,004 Views)