WWW.NNC.IR
Macro Reference
704
Vision System FH/FZ5 Series
User’s Manual (Z340)
SetImageWindow
Sets the state of the image window.
Format
[Scene Control Macro / Communication Command Macro]
SetImageWindow <windowNo>, <locationX>, <locationY>, <width>, <height>, <unitNo>,
<subNo>, <magnification>, <originX>, <originY>, <update>, <visible>
[Unit Macro]
SetImageWindow <magnification>, <originX>, <originY>
Parameter
Return value
• None.
Parameter
name
Data type Description
<windowNo> Integer type Number of the image window whose state is to be set (0 to 23)
<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 (-1 to (the number of
registered processing units in the current scene minus one))
<subNo> Integer type Sub-image number of the target image to display (-1 to 100)
<magnification>
Double
precision real
number data
type
Display magnification (-1, 0 to 16)
<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
Image mode
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