04-29-2010 02:06 AM
Hi,
I send and receive data from TCP Communicator Active & Passive.
I modify it and now can show data(given fixed) and graph.
My Active part can work. But I cannot send to Passive...
confused ha..hahahs...
Solved! Go to Solution.
04-29-2010 09:11 PM
Can you identify what is the difference between these two VIs, and what is the error or unexpected result you found?
04-29-2010 09:39 PM
Hi KateB,
the difference is the top left side the TCP Listen and TCP open collection.
what i respect is that both of the VI will recieve the data and graph.
Now can only recieve one side from Passive.vi.
regards,
Elsa
04-29-2010 09:42 PM
sorry,,
what i respect is not only recieve but can send data and graph also...
regards,
04-29-2010 10:22 PM
TCP listen will wait for connection from other TCP session.
If you don't have other sessions, it doesn't work.
Please refer to data server.vi and data client.vi in Help>>Find Examples on how to program it.
BTW, if you don't wish to send data across machine, you should use queue instead of TCP.
05-02-2010 11:34 PM
Hi, KateB What do u mean that TCP listen will wait for connection from other TCP session? Data server .vi and data client.vi can send one direction, which means data server can send data to data client, but data client cannot send data to data server right? I found out that only TCP communicator active.vi & passive.vi can both send and receive.
thanks,
regards,
Elsa
05-02-2010 11:35 PM
Hi, KateB What do u mean that TCP listen will wait for connection from other TCP session?
Data server .vi and data client.vi can send one direction,
which means data server can send data to data client, but data client cannot send data to data server right?
I found out that only TCP communicator active.vi & passive.vi can both send and receive.
thanks,
regards,
Elsa
05-03-2010 04:28 AM
Both data and client can send and recieve.
Why don't you try modifying it, and witness it with your eyes?
05-03-2010 06:00 AM
I modified, but cannot find out the problem.
the original program can send and recieve data.
after i add the waveform chat (the file i attached is different from the original one),
it cannot work.
05-03-2010 07:59 AM