WWW.NNC.IR
Macro Reference
728
Vision System FH/FZ5 Series
User’s Manual (Z340)
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 *MEASUREDISPG subroutine of the Unit Macro processing unit to display a character string with its
font size of 20, aligned to bottom and horizontally centered, colored by the "OK" judgement color, and inclined
by 90 degrees.
Useable Modules
Unit macro
Supported Versions
Version 3.50 or later
Related Items
*MEASUREDISPG
Rem Set the draw attibutes
SetTextStyle 20, TA_BOTTOM OR TA_CENTER, JUDGE_OK, 90, FONTSTYLE_ITALIC
Rem Draw the image
DrawTextG "Measurement OK", 100, 100, 0, UnitNo
Return
DrawTextG (Reference: X Details (p.502)) RGB (Reference: X Details (p.662))
SetDrawStyle (Reference: X Details (p.700))