LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP communicator active & passive cannot communicate with Graph

Solved!
Go to solution

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...

 

Download All
0 Kudos
Message 1 of 13
(4,912 Views)

Can you identify what is the difference between these two VIs, and what is the error or unexpected result you found?

0 Kudos
Message 2 of 13
(4,891 Views)

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

0 Kudos
Message 3 of 13
(4,883 Views)

sorry,,

 

 

what i respect is not only recieve but can send data and graph also...

 

 

regards,

0 Kudos
Message 4 of 13
(4,880 Views)

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.

0 Kudos
Message 5 of 13
(4,869 Views)

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

0 Kudos
Message 6 of 13
(4,843 Views)

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

0 Kudos
Message 7 of 13
(4,842 Views)

Both data and client can send and recieve.

Why don't you try modifying it, and witness it with your eyes?

0 Kudos
Message 8 of 13
(4,825 Views)

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.

0 Kudos
Message 9 of 13
(4,816 Views)
If you just say that you try, but don't attach or show anything, no one can help.
0 Kudos
Message 10 of 13
(4,806 Views)