LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wireless

Hi,
     till now i still thinking whether is it better to use data socket or TCP/IP connection?? Can guide me along the way? My task is to integrate a few instruments( Joystick, USB camera) together.. So far i 'm unable to integrate togther a SERVER and CLIENT on a VI and a SERVER and CLIENT on another VI whereby both ot the above VIs are connected together using a router... Thanks...
0 Kudos
Message 1 of 7
(3,305 Views)
0 Kudos
Message 2 of 7
(3,282 Views)
Hi Sena,
 
Thanks for contacting National Instruments.  I have been looking over your question and I think a good tutorial sounds like what you are looking for to guide you along the way with using TCP/IP or DataSocket.  It looks like some of those other posts that are in the reply above give you some really good information about using the Joystick and USB applications.  The link below should help you out some with getting started with DataSocket and TCP/IP.  There is a zip file on the linked page that has a lot of good information.  I hope this helps you out with your question. Thanks!
 
 
Noah R.
Regards

Noah R
Applications Engineering
National Instruments
0 Kudos
Message 3 of 7
(3,252 Views)
erm.. Thanks for the reply.. However regarding setting up the TCP/Ip connection.. i'm able to do so..But waht i really need to know is how to combine  2 tcp/IP connection together in just a VI? is that possible? Thanks...
0 Kudos
Message 4 of 7
(3,233 Views)

Hi Sena,

It looks like combining multiple TCP/IP connections in the same VI is not a problem as long as the port numbers are changed for each connection.  You should be able to establish the connections just like you would with one connection, but for the other connections, you would just specify a different port number for each one.  There are some examples in the LabVIEW Example Finder about how to establish TCP/IP connections if when you are in LabVIEW you go to Help>>Find Examples and search for TCP/IP.  I hope this helps you out some more with your question.  Thanks!

Regards

Noah R
Applications Engineering
National Instruments
0 Kudos
Message 5 of 7
(3,222 Views)
This question has already been answered more than once. This is apparently a homework question, as admitted by the poster. Short of actually doing the homework for them, a lot of advice and pointers and explanations have been given, as can be seen by following the aforementioned duplicate posts.
0 Kudos
Message 6 of 7
(3,215 Views)
Sorry about the trouble... i manage to solve the problem already.. thanks and sorry... ^_^
0 Kudos
Message 7 of 7
(3,195 Views)