# 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.

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. To resolve unwanted Acquisition Missed events, you can adjust the acquisition settings in the Acquisition Panel: Decrease motion speed or increase trigger delay to eliminate overlapping acquisitions. Decrease the resolution of the acquisitions or enable binning to decrease acquisition time.
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 Soft Event is executed. Examples of a Soft Event include a PLC-driven external event, SetEvent, Button function, or a Set Event or Set Event and Wait Native Mode command.

Output

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