Flexible System Control and Special-Purpose Languages
Dr. Dobb's Journal February 1998
By Russell W. Mello
... # Open valve 1. Then wait for the pressure to go above 10 milli torr. # The waitfor statement will poll PT3 until the comparison becomes # true or the timeout value has been exceeded. open V1; waitfor PT3 > .010; pt3_val = read PT3; if pt3_val > .010 then print "The pressure at PT3 is above 10 millitorr"; else print "The pressure at PT3 is below 10 millitorr"; ...
Example 2: Mvcl script with the waitfor statement.
Copyright © 1998, Dr. Dobb's Journal