wait until

B

Brad Smallridge

What is wrong with this? Both are variables and
row_counter gets advanced in another process.

wait until( row_counter = start_recording_row_delay );

b r a d @ a i v i s i o n . c o m
 
C

Charles Bailey

Brad Smallridge said:
What is wrong with this? Both are variables and
row_counter gets advanced in another process.

wait until( row_counter = start_recording_row_delay );

b r a d @ a i v i s i o n . c o m
If they are both variables then there is nothing to trigger the wait
statement. At least one of them must be a signal. (Variables have no
event information associated with them. The wait needs an event to
trigger its execution.)

Charles Bailey
 
I

info_

Brad said:
What is wrong with this? Both are variables and
row_counter gets advanced in another process.

wait until( row_counter = start_recording_row_delay );

b r a d @ a i v i s i o n . c o m
Brad,

I don't understand.
If both are variables (not global) then you cannot see them from other processes !
And if they are local to the process where the wait is located, who will update them
if the process is suspended ???
Maybe you meant that row_counter was a signal ? (then it should work)

Or maybe you've declared "variable row_counter" in both processes ? ;-)

Bert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top