LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

about the commnication by network

ello,My project will be finished.But I meet a difficulty.I can send my data by network to my PC.The protocol we adopt is TCP/IP.We also can find our data using sniffer.But I cann't receive it in my program which is programmed with LabVIEW 6.1. Somebody tell me that the possible reason is that the header of ever protocol,such as TCP,IP,ARP,and so on,isn't consistent. But it is so difficult to see the difinition of the header in LabVIEW 6.1. Because the TCP module is enveloped entirely.How can I resolove this difficulty? Is there other possibility ? I use a SCM to send my data.the porogram in the SCM is programmed in C.Thank you!
0 Kudos
Message 1 of 3
(2,643 Views)
Are you able to run the shipping examples for TCP without any issues? The TCP VIs in LabVIEW conform perfectly to the TCP/IP standards. If you are sending the packet with the correct header information then you should be able to read it correctly. Look at the simple data client shipping example to examine how they are doing the client communication.
0 Kudos
Message 2 of 3
(2,643 Views)
At frist,I will declear that: our shipping program can run without any issue.BUT the precondition is that the client program and the server program are programmed with LABVIEW.
But now,our server program is programmed in C.at prime tense,I also think that perhaps the header of data is wrong.but I have examined many times.I didn't find any question.And,if the
header of our data is wrong,I think that the connection between client and server will not be completed. But the fact is contrast.The connection can be done successfully.But the data cann't be received. you can check our header in the immage.
0 Kudos
Message 3 of 3
(2,643 Views)