# Event

Updates the spreadsheet on the specified event trigger. The Event function is used as a critical dependency in causing the spreadsheet to update only on specific input/output conditions.

## Event Inputs

Parameter | Description
--- | ---
Trigger | Specifies a trigger source for the event.
0 | Acquisition Missed | Generated when an acquisition trigger is missed. Possible causes of a missed acquisition trigger include: an acquisition trigger is received during an in-progress acquisition no image buffer is available when an acquisition trigger is received
1 | Acquisition Job Complete | Generated at the end of the acquisition-initiated spreadsheet execution.
2 | Encoder Overrun | An encoder overrun occurs when the advancing encoder requests acquisition of the next line, but acquisition of the previous line is still in progress.
32 | Manual Acquire | Generated when the ManualAcquire event has been raised by SetEvent, Button, or other similar sources.
100 to 107 | Discrete 0 to 7 | Generated when the rising edge signal activity occurs on a corresponding discrete input line.
200 to 207 | External 0 to 7 | Generated when a PLC driven external event trigger is executed.

## Event Output

Returns | An Event data structure, or #ERR if any of the input parameters are invalid.