<graphcon>.wait-for-gfx-break – deprecated <graphcon>.wait-for-string – deprecated
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<graphcon>.wait-for-pixel-value

Synopsis

<graphcon>.wait-for-pixel-value x y rgb interval [-reverse] [-always]

Description

Wait until the pixel at (x, y) has the given value, specified by rgb, either a 3-element list with format [R, G, B] or as a hex string "#RRGGBB". The pixel is checked every interval seconds of virtual time on the clock associated to the console.

The command will by default only wait for events that occur when the simulation is running forward. To wait for events in the reverse direction use the -reverse flag. Similarly, the -always flag tells the command to wait for events in both simulation directions.

Provided By

graphcon

See Also

<gfx_break>.bp-wait-for-gfx, <graphcon>.get-pixel
<graphcon>.wait-for-gfx-break – deprecated <graphcon>.wait-for-string – deprecated