You can do that exactly as you wrote:
until answer satisfies
Since C-language has no Repeat-Until statement you need a small modification
while Not(answer satisfies)
I found a much easier way to do the job.
I have a question more (if thats Ok). I want to use a Timer, to count the time.
I want to use a timer in this task.
Like: if (strstr(resp, "<EOM>") != NULL && Timer_1_ReadCounter() > 929496720 )
else do something else.
if I get <EOM> and the time is under 17.896s -- it should execute the statement. At the moment it doesnt work.
We cant tell with just this code snippet what the timer config is
and when you init it and what you do if it rolls over.....
Consider posting your project, makes life easier to troubleshoot.
“Create Workspace Bundle”