LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I did a example about TCP/IP,but the button of the server didn't act when the button of the client acted.

Perhaps my description isn't quite right,but if you saw
my vi, you will know my meaning.thx!
Download All
0 Kudos
Message 1 of 8
(3,112 Views)
Hi,

on your server vi you set the port number by a ring control, in your case you are setting 0 as port number. Use a standard numeric control to enter 3045, the same you do on the client vi.
Good luck,
Alberto
0 Kudos
Message 2 of 8
(3,112 Views)
you are right ,thx
0 Kudos
Message 3 of 8
(3,112 Views)
Your main problem is the fact that your port is not a constant but a ring control.

Another tip: you can easily send and receive booleans directly by typecasting them to and from string, no need to jump through all these hoops with formatting and case structures. See attached image for an example.
0 Kudos
Message 4 of 8
(3,112 Views)
thank you very much,I have a request for your email.
I saw your profile,you are experienced in using Labview,I have some questions about my thesis.I can?
0 Kudos
Message 5 of 8
(3,112 Views)
Sure, you can ask your question here, and everybody will try to help you.

I usually don't give out my e-mail address on a public web sites because they often get harvested by bots for spam lists. I've done quite a bit of TCP/IP and you are welcome to contact me directly at the address given below.
0 Kudos
Message 6 of 8
(3,113 Views)

Hi,

I have a problem with my final year project. Which I required to make an interface between the wifi device and PC's by using tcp/ip. I don't have a idea how to do it because at the transmission side it will directly transfer the data after receive my command. Can you help me out of this problems?

Thanks,

regards,

MF hussin

0 Kudos
Message 7 of 8
(2,917 Views)
Hey MF hussin,
    I'm not sure we understand your question.  Have you been trying to do this in LabVIEW and have run into a problem?  There are some examples of using the TCP VIs in the Example Finder that ships with LabVIEW.  Also, here is a Developer's Zone article about TCP in LabVIEW.  I hope this helps.


Brian B
Account Manager
National Instruments
0 Kudos
Message 8 of 8
(2,895 Views)