I don`t know if this is anything like what you`re looking for, but it`s most
likely how I would solve the problem (And have done in the past).
u can use occurrences to make the two different parts of the program
dependent on each other. Generate an ocurrence, wire it into the loop and
into the other part of the program you want to use. Set a case structure
within the loop to set the ocurrence upon the required condition. Set the
other part of your program within a sequence, with the first frame waiting
for the ocurrence. The code you want to execute after the ocurrence comes
in the second frame. Since the other part of the program is waiting for the
ocurrence (and the transmission of an ocurrence signal is independent of
dependency or loop status, i.
e. the ocurrence state can be transmitted
WITHOUT breaking the loop), this part will then execute once the condition
is met. After this, the loop will ocntinue to run (Or can be stopped if you
prefer).
Anyone else got an idea whether this is the best solution?
Shane O`Neill
Ips McKornix schrieb in Nachricht <9545gs$geb$1@info.cyf-kr.edu.pl>...
>Thank you all for all your help but I cannot find the solution.
>My problem is as follows :
>
>I have to get the temperature from the stabiliser every given period of
>time. I do it in this way : get the temperature and then I set a timer and
>wait until the period of time passes. Then I do the next measurement and so
>on. Meanwhile I may want to set the stabiliser to send the value of
>temperature in Kelvins or centigrade. Unfortunately it's done only when the
>timer completes its job. I have to interrupt the loop that makes the timer
>go and send a request to the stabiliser. That's what I can't do.
>DO you have any suggests? Any help wil
l be appreciated.
>
>Thanks
>
>Ips McKornix
>
>
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)