Omron FZ4 Series User Manual page 268

Vision sensor
Table of Contents

Advertisement

Example
Gets the scene number 2 title name. Set a title name if unestablished.
If SceneTitle$(2) = "" Then
   SetSceneTitle 2 , "Title"
Endif
Save the capture of the screen
4
ScreenCapture <fileName>
Parameters
<filename>
Return Value
None.
Description
Capture the screen and save it in BMP form by a name appointed with an <filename>.
Capture is capture of the screenfuls.
The file name include a pass.
When already appoint an existing file name, it is overwritten.
Example
Output the capture of the screen to a file.
ScreenCapture "C:\IMAGE\samplecapture.bmp"
Controls the branching of processing in accordance with the expression results.
Select <Expression>
[Case <Value>
   <Case statement within the block>
:
:
Case Else
   <Case Else statement within the block>]
End Select
Parameters
<Expression>
<Value>
266
Using Custom Command
File name (haracter type)
The expression that controls branch processing (integer).
The value that defines each Case item (integer).
FZ4 User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents