10-27-2006 04:13 AM
10-27-2006 05:34 AM
Your interaction with the TCP primitives is on the application layer, so you have no option of handling the TCP implementation details. I'm not even sure whether LV or the operating system is the one responsible for handling the TCP implementation, but in any case, you should not have to worry about it. You can have a look at the TCP examples in the example finder to see how it works. If you have a specific problem, supply more details.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
10-27-2006 06:01 AM
Hi..
I am using FPGA and PC as two ends of TCP/IP communication. On PC side I am using these VIs.
I am sending the data from FPGA and I am waiting for the Ack. After I get the Ack, I am sending the second the next data.
So, I need to know whether TCPread VI will send Ack for every received data.If it is not sending the Acks, Ineed send Ack by using TCPWrite VI.
In that case, the Ack I am sending sholuld be like reply. so, I should take care of seq Num and Ack num. If TCP write take care of these numbers depending on previous received data, I can send the ACk, using TCP write VI.
That is the problem of mine.
10-27-2006 06:47 AM
I did not understand your actual problem, but in any case, you don't have to manage the actual TCP communication details. This is done either by LV or the OS. You just need to send your data on one side and read it on the other side. Again, have a look at the examples to see how this is done.
Of course, if you have a message based protocol and you want to make sure that messages (not TCP packets) arrived, then you will have to manage that as well.
10-27-2006 06:51 AM
II am sending the data from FPGA and I am waiting for the Ack to send the next data.
So, I need to know whether TCPread VI will send Ack for every received data.
Can I get this clarified?
10-27-2006 06:51 AM
I am sending the data from FPGA and I am waiting for the Ack to send the next data.
So, I need to know whether TCPread VI will send Ack for every received data.
Can I get this clarified?
10-27-2006 07:12 AM
10-27-2006 10:17 AM
10-27-2006 11:31 PM
Thanks for the information.
Should I handle any timing issues here?
10-30-2006 08:40 AM