03-05-2018 06:16 AM
Good afternoon. I need help very much. I have a set of buttons. When the button is clicked in the event structure, the main cycle cycle is executed once. But there is one button that is clamped. How to make that at the pressed button - the cycle was carried out continuously?
Here is part of the project.
03-05-2018 06:32 AM
Do a search for Queued Message Handler. The general idea is that you use many loops. One loop should be used for the GUI. Another loop for your TCP communications. You can use a queue to send a message from the GUI loop to the TCP loop telling it to start doing its loop.
03-05-2018 05:33 PM
Thanks. Beside how to use the queue to send messages to TCP. I'm beginner in LV
03-06-2018 05:56 AM
@teslo wrote:
Thanks. Beside how to use the queue to send messages to TCP. I'm beginner in LV
Like I said before, do a search for Queued Message Handler. You might also want to look at the Producer/Consumer architecture as well since it is very similar.