Jump to content

My VI only works when you first run it then it stops working

Recommended Posts

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!



Edited by Mark Zacharoni Hamilton
Link to comment

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.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.