LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Some problems in TCP/IP communication between PC&DSP

I have programmed a VI for TCP/IP communication between PC (Client) and DSP (Server), which could be downloaded at below link. It just achieves some basic features, like send commands to DSP to set some registers, and receive data or status from DSP. Additionally I programmed a Sever vi in labview to test the client. You know the real Server is in the DSP programmed using C language.

My problems are:

1.       I don’t know how to add some “stop” in the two VIs to get out of the loops, I tried but it didn’t work well.

2.       I’m not clear to add some error handles, you know when I stop the vi by pushing the round red button to stop the vi, it turns out some error dialog about TCP/IP.

3.       It is about the TCP/IP. when the server writes data to connection ID, if the client doesn’t read them, then where the data goes?

Download All
0 Kudos
Message 1 of 2
(2,533 Views)
可以通过添加布尔控件来停止循环,同时可以通过变量的方式来同时跳出多个循环。 你的程序肯定存在什么问题,需要的是调试。
0 Kudos
Message 2 of 2
(2,500 Views)