WWW.NNC.IR
Macro Reference
533
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
GetImageWindow
Get the state of the image window.
Format
[Scene Control Macro / Communication Command Macro]
GetImageWindow <windowNo>, <locationX>, <locationY>, <width>, <height>, <unitNo>,
<subNo>, <magnification>, <originX>, <originY>, <update>, <visible>
[Unit Macro]
GetImageWindow <locationX>, <locationY>, <width>, <height>, <unitNo>, <subNo>,
<magnification>, <originX>, <originY>, <update>, <visible>
Parameter
Return value
None.
Description
Gets the state of the image window specified in the <windowNo> parameter. When this macro function is
used with the unit macro, the state of the image window displayed using the MEASUREDISPI subroutine is
set.
In the <locationX> parameter and <locationY> parameter, specify the variables that store the relative
coordinate values from the upper left coordinates of the gotten image container window to the upper left
Parameter
name
Data type Description
<windowNo> Integer type Image window number to get the status
<locationX> Integer type Upper left X coordinate value of the image window
<locationY> Integer type Upper left Y coordinate value of the image window
<width> Integer type Width of the image window
<height> Integer type Height of the image window
<unitNo> Integer type Processing unit number of the target processing unit to display
<subNo> Integer type Sub-image number of the target image to display
<magnification>
Double
precision real
number data
type
Display magnification
<originX> Integer type
Upper left X coordinate of the image display relative to the upper left coordinate of the
image window.
<originY> Integer type
Upper left Y coordinate of the image display relative to the upper left coordinate of the
image window
<update> Integer type
Update timing of image window
0: Every measurement (Image mode Freeze)
1: Only when an overall judgement result is NG at the time of measurement (Last NG
image).
2: Only when a target processing unit is NG at the time of measurement.
3: Always updated (through display)
<visible> Integer type
Setting of whether to display
0: Window invisible
1: Window visible