WWW.NNC.IR
Macro Reference
614
Vision System FH/FZ5 Series
User’s Manual (Z340)
MeasureDispG
Executes display of the measurement result of the processing unit.
Format
MeasureDispG <unitNo>, <subNo>
Parameter
Return value
None.
Description
Graphically displays the judgement result in the image of the image display sub-number specified in the
<subNo> parameter, of the processing unit specified in the <unitNo> parameter.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a non-existent number, numerical value, or combination of data types or values is specified for the <unitNo>
parameter, an "Illegal function call" error will occur.
Even if a non-existent number, numerical value, or combination of data types or values is specified for the
<subNo> parameter, an error will not 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 *MEASUREDISPG subroutine. If used in another subroutine,
an "Illegal function call" error will occur.
Example
In the*MEASUREDISPG subroutine of the Unit Macro processing unit, executes the analysis result display
process (graphic display) of sub number 0 of Processing Unit number 2.
Useable Modules
Unit macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type Description
<unitNo> Integer type
Processing unit number (0 to (the number of registered processing units in the current
scene minus one))
<subNo> Integer type
Image display sub-number of the image window to be used for display (Reference: XList
of Sub-Image Numbers (p.374))
*MEASUREDISPG
MeasureDispG 2, 0
Return
UnitNo (Reference: X Details (p.790)) Ut (Reference: X Details (p.793))