en:software:qview:qview_6:qcl_library:vi10clrerrorcode

Differences

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

Link to this comparison view

en:software:qview:qview_6:qcl_library:vi10clrerrorcode [2017/03/15 17:58] – created qem103en:software:qview:qview_6:qcl_library:vi10clrerrorcode [2019/08/29 17:01] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== VI10ClrErrorCode ======
 +
 +**V = **//Vector//
 +
 +**I = **//Image//
 +
 +Function that is used to manage the Vector Image feature (object that resides on some Qpaint versions).
 +
 +The VI10ClrErrorCode function __used to reset any errors generated by the design process__.  This errors can be identified by using the VI10GetErrorCode function.
 +
 +===== IMPLEMENTATION =====
 +
 +**VI10ClrErrorCode (awBuffer)**
 +
 +Parameters:
 +
 +^IN/OUT^VARIABLE TYPE^EXAMPLE NAME^DIM^^
 +|  IN  |  ARRSYS /\\ ARRGBL  |  awBuffer  |  W  |Array that serves as a buffer for instructions/data|
 +
 +=== Example ===
 +
 +//TASK_00//
 +<code QCL>
 +MAIN:
 +
 +VI10DrawBuffer(awBuffer ) ;Draws the contents of the Buffer
 +
 +VI10WaitBufferReadyUsingEND( awBuffer )         ;Awaits the conclusion of the drawing
 +
 +VI10GetErrorCode( awBuffer, gwError )         ;Check if there are errors
 +
 +IF (gwError GE 1) AND (gwError LE 3)
 +      VI10ClrErrorCode (awBuffer) ;Resets all errors
 +      JUMP ERROR
 +ENDIF
 +</code>
 +
 +=== Note ===