LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

not receiving all data across tcp/ip port

Hi,
i am trying to transfer data across a tcp/ip port.  the data is in binary and is reliable when small amounts of data is passed.  it starts to fail when i try to transfer around 10000 bits and it is random(sometimes i get more or lest data when requesting the same amount).  any advice on what to do.  i attached the vi so you could see the code but it won't run unless you edit the ip and port to work with your settings.

thanks
0 Kudos
Message 1 of 4
(2,759 Views)

Hi,

Here is a Developer Zone article that explains more about TCP communication. Is your code set up similar to these examples? Are you able to run a TCP example from the LabVIEW Example Finder?

Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
Message 2 of 4
(2,725 Views)
i think i figued it out. i use the tcp communicator active example for a starting point and edited piece by piece to get it to work.

one thing i would like to mention is if you get error 62(serial overflow).  you may be sending data multiple times and not exiting the while loops in the example.

thanks.


0 Kudos
Message 3 of 4
(2,709 Views)
Thanks for posting back with comments about your resolution. This helps other members of the forum community. Have a great day!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 4 of 4
(2,688 Views)