WWW.NNC.IR
Macro Reference
689
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
SceneMaker$
Gets the scene creator.
Format
SceneMaker$(<sceneNo>)
Parameter
Return value
Returns the value of the scene creator as a character string.
Description
Gets the name of the creator set in the scene that has the screen number specified in the <sceneNo>
parameter.
If a creator name is not set, returns the null character string ("").
The scene creator can be set in the scene maintenance screen, or by executing the SetSceneMaker function.
(Reference: XSetSceneMaker (p.719)) (Reference: XEditing Scenes (p.62))
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a non-existent number, numerical value, or combination of data types or values is specified for a parameter,
an "Illegal function call" error will occur.
If a value is assigned to the return value variable or the variable is not used in an expression, a "Syntax error"
error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• None.
Example
Gets the creator of scene 3, and if not set, setting the creator.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Parameter
name
Data type Description
<sceneNo>
Integer type Scene number (0 to 127) of scene whose creator is to be gotten.
Rem Get the creator of the scene.
NAME$ = SceneMaker$(3)
If NAME$ = "" Then
Rem Set the creator of the scene.
SetSceneMaker 3, "Maker"
Endif