WWW.NNC.IR
Macro Reference
492
Vision System FH/FZ5 Series
User’s Manual (Z340)
DrawMeasureImage
Draw the measurement image on the image window.
Format
DrawMeasureImage <imageNo>
Parameter
Return value
None.
Description
Display an image that has been registered to the Unit Macro processing unit where this macro function is
executed and whose image number is specified in the <imageNo> parameter.
Even if a value that does not exist is specified for the <imageNo> parameter, an error will not occur.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a value outside the range -2147483648 to 2147483647 is specified as an integer parameter, an "Overflow"
error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• This macro function can only be used in the *MEASUREDISPI subroutine or the *MEASUREDISPG
subroutine. If used in another subroutine, an "Illegal function call" error will occur.
Example
Uses the *MEASUREDISPI subroutine in the Unit Macro processing unit to display a measurement image.
Useable Modules
Unit macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type Description
<imageNo> Integer type Number of the measurement image to display (always 0)
*MEASUREDISPI
DrawMeasureImage 0
Return
DrawFillImage (Reference: X Details (p.485)) DrawUnitImage (Reference: X Details (p.504))