Omron SYSMAC FH Series User Manual page 598

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

Example
Reads the data until the end of the file.
Dim ALLDATA$(255)
Rem Open the file
Open "E:\input.dat" For Input As #1
For I&=0 to 255
Rem Read line by line from the top of the file
Line Input #1, DATA$
ALLDATA$(I&) = DATA$
Rem Check if the end of the file is reached
If Eof(1) <> 0 Then
Exit For
Endif
Next
Rem Close up the file.
Close #1
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Close (Reference:
Input# (Reference:
Open For Input As# (Reference:
596
Macro Reference
Details (p.432))
Details (p.569))
Details (p.629))
WWW.NNC.IR
Eof (Reference:
Details (p.510))
Input$ (Reference:
Details (p.571))
Vision System FH/FZ5 Series
User's Manual (Z340)

Advertisement

Table of Contents
loading

Table of Contents