en:software:qview:qview_6:qcl_library:vi10drawbuffer

This translation is older than the original page and might be outdated. See what has changed.

VI10DrawBuffer

V = Vector

I = Image

Function that is used to manage the Vector Image feature (object that resides on some versions of Qpaint).

The VI10DrawBuffer function asks at the HMI device to process and draw, the contents of the buffer. Processing content buffer is not a synchronous operation to the execution of the function, so that means with the VI10DrawBuffer function you report only to a HMI device buffer to be processed. Will be the HMI and so the the firmware, decide how and when to start the design phase.
In order to understand when the drawing operation is completed and you can create a new drawing buffer you must use the VI10WaitBufferReadyUsingEND or VI10WaitBufferReadyUsingWAIT functions.

VI10DrawBuffer (awBuffer)

Parameters:

IN/OUTVARIABLE TYPEEXAMPLE NAMEDIM
IN ARRSYS /
ARRGBL
AwBuffer W Array that serves as a buffer for instructions/data

Example

TASK_00

MAIN:
      IF gfDraw
            VI10DrawBuffer (awBuffer)		;Draws the contents of the buffer
            gfDraw = 0
      ENDIF
END

Note

  • Last modified: 2019/08/29 17:01