Set Event

Triggers a specified event in the EasyBuilder through a Native Mode command.

Note:

Set Event Inputs

Syntax: SE<Int>

Parameter

Description

Int

The Event code to set.

  • 0 to 7 = Specifies an external event (External 0, External 1 ... External 7).
  • 8 = Acquires an image and updates the EasyBuilder. This option requires you to set the Trigger mode parameter of the AcquireImage function to Single.

Set Event Outputs

Status Codes Description
1 The command execution is successful.
0 Unrecognized command.
-1 The number is either out of range (0 to 8) or not an integer.
-2 The command execution is unsuccessful.
-6 User does not have Full Access to execute the command.

Set Event Example

You can use the SetEvent function to trigger events in the EasyBuilder through Native Mode commands.

The command to trigger External Event 0 is: SE0