Mark Zacharoni Hamilton Posted May 14, 2013 Report Posted May 14, 2013 (edited) I am using Labview 8.0, trying to makie a client that constantly reads in string data from a linux-pc that ends with Line Feed Characters. Also I need to be able to send command strings to linux-pc at any given time, keeping the connection active until I want to close it. The Linux-server will respond "OK" if the command is valid, and "ERROR" if it is not. The messages are variable length and not fixed length. My vi sends the command to the server when I first run the VI, but if I try to send another command, it doesn't send, nor does it receive any new data from the server. Any help is appreciated! TCP_TESTER.vi Edited May 14, 2013 by Mark Zacharoni Hamilton Quote
dblk22vball Posted May 14, 2013 Report Posted May 14, 2013 Quick guess - is the buffer getting overrun/full? Your boolean control is set to a "latching" mechanical action, so when you ask it to send a command, you are most likely send a LOT of commands (only a 5 ms wait in each loop). Also, you might want to wire through the TCP reference to a shift register. 1 Quote
Mark Zacharoni Hamilton Posted May 16, 2013 Author Report Posted May 16, 2013 Bingo, you sir have saved my day! "Latch when released" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.