# Send Manual Trigger

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

Note:

If you configure the In-Sight vision system to accept an acquisition trigger from a PLC/Motion Controller through a Native Mode command, use the SetEvent and Wait function with the Event code set to 8 (SW8). This ensures that the vision system waits for both the acquisition and inspection to complete before sending a complete response back to the PLC/Motion Controller, and that previous inspection results are not being sent to the PLC/Motion Controller. You can also use the complete response from the vision system to create conditional PLC logic that sends a read request for the inspection results. For more information, see Set Event and Wait.

If a PLC/Motion Controller uses the Send Manual Trigger function to trigger an acquisition, the only way to use it is in cases where the inspection results are not also being read. Otherwise, the acquisition and the inspection are not in sync, with the vision system returning a response as soon as the image is acquired and before the inspection completes.

## Send Manual Trigger Inputs

Syntax: MT

## Send Manual Trigger Outputs

Status Codes | Description
--- | ---
1 | The command was executed successfully.
0 | Unrecognized command.
-2 | The command could not be executed.
-6 | User does not have Full Access to execute the command.

## Send Manual Trigger Example

The Send Manual Trigger function is used to trigger events in the spreadsheet through Native Mode commands: MT

Send Manual Trigger is functionally identical to using an argument 8 of Set Event.