Hi George, Yo' typed:
>... but it is not "allowed"... try to drop a VI >onto its own diagram and read the message! >I was just making tongue in cheek humor :)) ... >:)) Just teasing you mike! And I took it as such and am glad to see you did too. >:)) I figured you probably knew about the VIServer method. 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. We just need to be able to capture the LabVIEW error/exception before the error dialog pops up and script away. Now that I think of it, I don't know of anything concrete, but I'd be pretty surprised if someone at NI doesn't either already have this or could code it up pretty quickly. Sounds like it would make a good IFLV/OpenG/LAVA/NIDevZone coding challenge considering that the scripting interface has been unofficially exposed recently. Any thoughts anyone? (or better yet, code) Ciao, Mike *********************************** Michael C. Ashe Imaginatics Control & Test Systems 11 Quinley Way Waterford, CT 06385 Phone: 860-444-2141 Cell: 860-961-0876 email: [EMAIL PROTECTED] ***********************************
