01-17-2025 04:35 PM
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
01-17-2025 04:48 PM
I have not heard of anyone else implementing #via_ignore for front panel objects.
01-17-2025 05:20 PM
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.
01-20-2025 08:19 PM
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