This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

User-defined functions how to wait for a result

I have implemented a few simple FUNC functions in an ini file in uVision 4 debug environment and now want to fetch a value. This requires waiting for the code under test to detect the request and provide the answer.
I read about SIGNAL functions and that seemed ideal but the compiler gives me an error 76 not implemented except in simulation.
Does it make sense that my FUNC simply loops waiting for a flag to be set by the code under test or similar to wait for the response? Is there a better way?
Thanks in advance.
Ant