09-07-2012 05:59 AM
I have a program to write data to a stream and read it using the host.In the Reader program,I have a SubVI to which I need to pass the Network Stream Endpoint .I am unable to do that.
https://decibel.ni.com/content/docs/DOC-15920,In the program in the link,he says to have a VI that reads an element from the stream.If you see the screenshot,He connected the Network Stream Endpoint to a subVi.I am unable to do that.Can some body please tell me how to do it.
Thank You
Solved! Go to Solution.
09-07-2012 06:08 AM
It can be done ..
To be more specific, what is the exact error you are getting . Can you post your vi?
09-07-2012 06:11 AM
In the above , you can see him giving Network Stream Reder as Input to Vector Histogram.I want ot know how to do that.Thanks
09-07-2012 06:21 AM
You will have to place a control of the network stream in your subVI. Then you will have to connect the control on the connector pane.
You can place a network stream control like so:
In you main VI take the network stream wire and right-click it. Select create - control. Use strg+x to port the control from the main VI to the subVI.
Then follow the instructions here http://digital.ni.com/public.nsf/allkb/1FA00093A04BFCF5862570920049E482 to connect the control to the connector pane.
There is possibly an easier way to do that but this works just fine.
Hope this helps!
09-07-2012 06:23 AM
Sorry,but what is strg+x...... i amkinda beginner in Labview
09-07-2012 06:30 AM - edited 09-07-2012 06:30 AM
As, BillTür mentioned, create the control by right clicking it.Then cut the control and paste it in the sub vi .
Link the control to the connector pane.
You can read the tutorial posted by BillTür
09-07-2012 06:30 AM
BillTür , Hey thanks man. that solved my problem,and strg is German for Control.I've just googled it.
09-07-2012 06:32 AM
Nothing to do with Labview 😉
I'm sorry, I'm talking about the keyboard, the command to cut and it is actually supposed to be ctrl+x. Just looked at my german keyboard and didn't think properly. Sorry abour that!