Code Challenge:
But I think that it will soon be possible to do exactly what you say above,
grab a VI's own icon, drag and drop, and (if you have a switch or two set
and some LabVIEW scripting in place) have the VI replaced on the diagram
with a subVI created from a template (like the Factorial VI) modified by
LabVIEW scripting, with the name of the VI replaced, or Run Method calls,
etc.

This is certainly interesting in it's own right, but I am truly amazed that a thread about commercial vs. free software and unsolicited advertising has morphed into a coding challenge to eliminate LabVIEW's recursion exception. Kinda reminds me of the whisper game we played in kindergarten!


As to solving the challenge... the obvious (to me) solution is to catch the exception and add the appropriate VI server code to the offending diagram.

But I would bet a beer that as soon as someone does this, 7.2 will support recursion directly! :P


George Gatling Applied Technology Division, SFA Inc. Space Physics Simulation Chamber US Naval Research Laboratory 202-404-5405 (phone) 202-767-3553 (fax)

If trees could scream, would we be so cavalier about cutting them down?
We might, if they screamed all the time, for no good reason. --Jack Handy






Reply via email to