VI Analyzer Enthusiasts Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

VIA_Ignore for Front Panel Objects

Is there already a subVI to add support for VIA_Ignore on Front Panel objects for custom tests? I don't want to duplicate something that is already being used by the community.

 

I put together a test subVI to make sure this would work. The subVI gets all the text decorations on the BD, filters on "#via_ignore", filters on the test name and builds an array of "AttachedObj" references. This will be a list of BD terminals that should be ignored by the test. Then I get the FP controls that I want to run the test on. For each control I get the Terminal reference and check to see if it is in the array of terminals that have the appropriate "via_ignore". So, if I want to ignore a test on a FP object, I can add a via_ignore comment to the associated BD terminal.

 

My test VI doesn't handle multiple tests in the comment and it doesn't like clusters and I'm sure there are other edge cases I'm not thinking about. Before addressing those issues I wanted to see if there is already something like this out there. I didn't see anything when I searched the forums.

 

Pat

0 Kudos
Message 1 of 4
(156 Views)

I have not heard of anyone else implementing #via_ignore for front panel objects.

0 Kudos
Message 2 of 4
(145 Views)

Ok. Then I think I'll clean up my test and attach it as an example of how to do it. I have a test that looks for FP digitals with non-default format strings.

0 Kudos
Message 3 of 4
(139 Views)

Here is an example of the way I support #via_ignore for front panel controls. Maybe it would be helpful to someone else. Any suggestions on how to do it better are welcome.

 

Pat

0 Kudos
Message 4 of 4
(114 Views)