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: 

Is recursive calls allowed while creating custom VIA tests?

Team,

I am creating custom step to check font style of all front panel objects. I am using recursive call to check for array elements. VI Analyzer engine stops once it reaches that node.

Error Message : attempted recursive call. VI stopped!!!

Have anyone faced this before?  Plz post your suggestions:)

0 Kudos
Message 1 of 3
(3,748 Views)

Team,

Please find below screenshot of the issue faced.

VIA recursive.png

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

I've never tried to make a recursive call in a VI Analyzer test. Can you use the Traverse for GObjects VI to get references to all controls at the beginning? The traversal goes into nested controls like arrays.

Message 3 of 3
(3,215 Views)