en:software:qview:qview_6:qcl_library:vi10waitbufferreadyusingend

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:software:qview:qview_6:qcl_library:vi10waitbufferreadyusingend [2017/02/27 17:43] – created qem103en:software:qview:qview_6:qcl_library:vi10waitbufferreadyusingend [2019/08/29 17:01] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== VI10WaitBufferReadyUsingEND ======
 +
 +**V = **//Vector//
 +
 +**I = **//Image//
 +
 +Function that is used to manage the Vector Image feature (object that resides on some versions of Qpaint).
 +
 +The VI10WaitBufferReadyUsingEND function is used to wait for the conclusion of the design phase was started, __in a time task__.\\
 +In case the drawing procedure is not complete, when you invoke this function, the task in time is stopped and you move on to the next task. In the next cycle the timed task will start over from the first statement.
 +
 +===== IMPLEMENTATION =====
 +
 +**VI10WaitBufferReadyUsingEND (awBuffer)**
 +
 +Parameters:
 +
 +^IN/OUT^VARIABLE TYPE^EXAMPLE NAME^DIM^^
 +|  IN  |  ARRSYS /\\ ARRGBL  |  awBuffer  |  W  |Array that serves as a buffer for instructions/data|
 +
 +=== Example ===
 +
 +//T_TIME00//
 +<code QCL>
 +MAIN:
 +      IF gbSequenza EQ 1
 +             VI10DrawBuffer(awBuffer ) ;Draws the contents of the Buffer
 +             gbSequenza = 2
 +      ENDIF
 +      IF gbSequenza EQ 2
 +             VI10WaitBufferReadyUsingEND( awBuffer ) ;Awaits the conclusion of the drawing
 +             gbSequenza = 3
 +      ENDIF
 +      IF gbSequenza EQ 3
 +             glPippo = 1000                 ;(This statement runs only at the end of the design process)
 +             gbSequenza = 4
 +      ENDIF
 +....
 +....
 +END
 +</code>
 +
 +=== Note ===
 +
 +  * The function can fail the task and in the next cycle, restart from the first statement.