12-15-2023 04:04 PM - edited 12-15-2023 04:23 PM
Hello All,
This is something simple I've been struggling for two days now. I'm establishing asynchronous TCP connection and while waiting for it to be established, I'm polling other units (whose connections were already established) using the flat sequence loop. When TCP timeouts for establishing connection expire, I call on wait for asynchronous call and I need to pass TCP connection status to the next iteration of the loop. If connection was established, don't start asynchronous call, only do the flat sequence, if not established, start over.
I'm using slightly modified version of example "Asynchronous Call and Collect" for simplicity and I need to do the following:
Solved! Go to Solution.
12-15-2023 06:05 PM
Is this what you are trying to do?
12-18-2023 08:05 AM
Thank you for taking a look, but this won't work. I don't want to delay my execution after I start asynchronous call, I want to have a while loop in between those functions that runs for 3 seconds.
12-18-2023 12:55 PM
@John32d wrote:
Thank you for taking a look, but this won't work. I don't want to delay my execution after I start asynchronous call, I want to have a while loop in between those functions that runs for 3 seconds.
So just replace the "Stall Data Flow" vim with a while loop that performs your "execution".
01-02-2024 08:17 AM
I have replaced feedback nodes of comparisons with regular comparisons inside the loop and it did the trick.