Kurt Friday Posted March 19, 2006 Report Share Posted March 19, 2006 I'm witnessing a peculiar behaviour when reading the callees of a vi if the vi contains either vi's which do not have their required inputs wired or if the vi is inserted as a static vi ref. Under 7.1 these vi's are returned as callees but under 8.0.1 they are not. For example, 1) Create two vi's A and B, make B have a required input 2) Place B on block diagram of A, save and read the callees of A and notice that B does not appear as a callee of A. 3) Wire a constant into the required input of B , save and notice B appears as a callee of A. 4) Remove constant input from B and save, notice that B still remains in the list of callees of A. 5) Try placing B as a static vi reference, notice that B does not appear as a callee. I've attached a demo which demonstrates this behaviour. Is this a bug or a feature? Download File:post-1058-1142740240.zip Quote Link to comment
Darren Posted March 20, 2006 Report Share Posted March 20, 2006 I just checked with some of my colleagues in LabVIEW R&D and this is what I found: Static VI Reference issue: This is expected behavior. A Static VI Reference will not appear in the Callees' Names or Callees' Paths property list. This is because a Static VI Reference allows you to have a VI call itself recursively, and the Callees' properties do not support recursive VI calls. I have filed a CAR (3VJDFQF2) against the LabVIEW documentation so we can indicate this fact in the help for both the Static VI Reference and the Callees' properties. SubVI with Required Input issue: This is a bug, and I have filed a CAR (3VJDCQF2) on this issue as well. -D Quote Link to comment
Jim Kring Posted March 20, 2006 Report Share Posted March 20, 2006 I just checked with some of my colleagues in LabVIEW R&D and this is what I found:Static VI Reference issue: This is expected behavior. A Static VI Reference will not appear in the Callees' Names or Callees' Paths property list. This is because a Static VI Reference allows you to have a VI call itself recursively, and the Callees' properties do not support recursive VI calls. I have filed a CAR (3VJDFQF2) against the LabVIEW documentation so we can indicate this fact in the help for both the Static VI Reference and the Callees' properties. SubVI with Required Input issue: This is a bug, and I have filed a CAR (3VJDCQF2) on this issue as well. -D Talk about great customer support! Thanks, Darren. And, welcome to the LAVA forums. You get five stars for your first post. Quote Link to comment
Grampa_of_Oliva_n_Eden Posted March 20, 2006 Report Share Posted March 20, 2006 Talk about great customer support! Thanks, Darren. And, welcome to the LAVA forums. Yes I have to agree! Now all we have to do is make sure all posts with CAR #'s end up in a list somewhere. Ben (repeated inf times) Quote Link to comment
Kurt Friday Posted March 21, 2006 Author Report Share Posted March 21, 2006 Wow, that's lightspeed, great support Thanks for that Darren :thumbup: :beer: Quote Link to comment
crelf Posted March 21, 2006 Report Share Posted March 21, 2006 I have filed a CAR (3VJDFQF2)... Wow! A real-life-honest-to-goodness CAR - I never thought I'd see the day! Looks like the ol' NI LabVIEW Champions programme is really starting to pay off - thanks Darren! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.