![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686636.webp)
WWW.NNC.IR
Macro Reference
634
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Uses the *MEASUREDISPT subroutine of the Unit Macro processing unit to display the measured correlation
value by the search processing unit (Processing Unit number 5), along with the gotten text string from the
prepared message file for the processing unit, in the text window. The correlation value can be gotten with
External Reference Data number 5.
The result is shown below.
Useable Modules
Unit Calculation Macro / Unit Macro
Supported Versions
Version 5.00 or later
Related Items
*MEASUREDISPT
Rem Get the measurement result.
GetUnitData 5, 5, CR#
Rem Open the messages file
OpenTextData "Search" As #1
Rem Get the text
TEXT$ = GetText$(#1, "Correlation")
Rem Draw the gotten text string from the messages file without adding any line break on the text window.
DrawText TEXT$, UnitJudge(5), 0
Rem Draw the measurement results on the text window.
DrawText Str2$(CR#, 4, 4, 0, 0), UnitJudge(5), 1
Rem Close up the messages file.
CloseTextData
Return
Correlation value: 90.0000
CloseTextData (Reference:
X
Details (p.434))
DrawText (Reference:
X
Details (p.500))
GetText$ (Reference:
X
Details (p.548))
GetUnitData (Reference:
X
Details (p.552))
UnitJudge (Reference:
X
Details (p.788))
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...