bejanbos Posted January 8, 2008 Report Share Posted January 8, 2008 Hi, I have the following question: It is possible to insert a subvi in a block diagram through vi scripting, but How can you connect a wire that already exsists and has several junctions at the correct location? eg: a string control connected to 2 (arbitrty) string functions, and you want to insert a function just after the string. As far as I can see a wire with all its junctions is threated as 1 object and then this would not be possible. Is this correct? thanks, JBS Quote Link to comment
Norm Kirchner Posted January 8, 2008 Report Share Posted January 8, 2008 Short answers to your question are as follows. Yes it is possible by using the "New Object" scripting primitive and making the object a SubVI And the best way to wire things together w/out worrying about wire branches, is to first find the terminals of interest, delete the wires in between and then use the Wire Terminals method to re-wire up the works. A much more robust attack pattern. 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.