Vayu Posted July 27, 2005 Report Share Posted July 27, 2005 Hello, i am totally new, however i managed to set up a tcp connection to a server, and receive some data. That data has to be forwarded to my COM1 Port, which will sent it somewhere else. I dont want to put all in one VI. Instead i'd like to "include" my tcp-vi in the COM-VI, as an icon, like all the other functions. i tried to right-click and "choose VI ..." When i load the one VI into the other, it has _no_ in- or outputs. How can i define the in and outputs of a VI? As input i want to have a server IP and the port. As output just an integer. Thanks in advance. Quote Link to comment
zpm Posted July 27, 2005 Report Share Posted July 27, 2005 In the upper-right corner of the front panel of the subVI (the one you want to include), right click on the icon and select "show connector" You can connect inputs and outputs to the regions shown by using the wire tool (click on a square, then on the control you want to connect). If you need more or less connectors you can adjust the arrangement under "patterns" on the same menu. There are probably other ways of doing most of this as well. Quote Link to comment
Vayu Posted July 27, 2005 Author Report Share Posted July 27, 2005 ok i found the show connectors. i also found out how i can show the connector regions in the VI itself. But I can't connect anything to it edit: ok now i got it Thank you 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.