05-26-2010 12:58 PM
Hi, Guys,
I am trying to use tcp read to receive data from different tcp write commands, but when I use more than one tcp read(with the same connection ID), I got "network is too busy" error and program stopped. How do I tell the difference which tcp write I am receiving?
For example:
I have two tcp write:
tcp_write1 sending "tcp write 1", I am expecting tcp_read receve "tcp read 1" and dispaly in string1
tcp_write2 sending "tcp write 2", I am expecting tcp_read receve "tcp read 2" and dispaly in string2
How do I do that?
Thanks
05-27-2010 02:58 PM
Hi cguan,
I don't know of any easy to do that with TCP read/writes. However NI System Engineering has a reference library called Simple TCP/IP Messages that does what you want. Here is a link
LabVIEW Simple Messaging Reference Library (STM)
Please let me know how this works out.