Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:vi10geterrorcode [2017/03/15 17:53] – created qem103 | en:software:qview:qview_6:qcl_library:vi10geterrorcode [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== VI10GetErrorCode ====== | ||
+ | |||
+ | **V = **// | ||
+ | |||
+ | **I = **//Image// | ||
+ | |||
+ | Function that is used to manage the Vector Image function (object that resides on some Qpaint versions). | ||
+ | |||
+ | The VI10GetErrorCode function __is used in order to know any kind of error occurred during drawing to Vector Image__.\\ | ||
+ | At the end of the drawing procedure, after calling the " | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **VI10GetErrorCode (awBuffer, | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | ARRSYS /\\ ARRGBL | ||
+ | | OUT | GLOBAL | ||
+ | |||
+ | ==== Error code ==== | ||
+ | |||
+ | *No error | ||
+ | *Protocol error | ||
+ | *Non-compliant data | ||
+ | *Arc-Center calculation not possible | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | //TASK_00// | ||
+ | <code QCL> | ||
+ | MAIN: | ||
+ | |||
+ | VI10DrawBuffer(awBuffer ) ;Draws the contents of the Buffer | ||
+ | |||
+ | VI10WaitBufferReadyUsingEND( awBuffer ) ;Awaits the conclusion of the drawing | ||
+ | |||
+ | VI10GetErrorCode( awBuffer, Error ) ;Check if there are errors | ||
+ | |||
+ | IF (gwError GE 1) AND (gwError LE 3) | ||
+ | JUMP ERROR | ||
+ | ENDIF | ||
+ | </ | ||
+ | |||
+ | === Note === | ||