# Time/Timer Vision Data Access functions

This topic lists the Vision Data Access functions that report execution cell times, read date and time from an internal clock, and trigger an event after a specified interval or at specified times. The GetScanTime function is related to the functions described in this topic. For more information, see PointCloud Vision Data Access functions.

Note: All returned values are from a referenced function or cell.

Function | Description
--- | ---
GetAllTime(Image) | Returns the time in milliseconds from the start of an image acquisition to the end of a job execution, or #ERR if the input value is invalid. Note: If the vision system is offline, the returned value is higher than when the vision system is online. When the vision system is offline, it takes additional steps that allow the user to modify the filters after making the acquisition.
GetTime(Cell1, [Cell2, ...]) | Returns the time in milliseconds for a variable-length list of cells to execute or #ERR if the input value is invalid. If multiple cells are selected, the sum of all execution times is returned. In addition, you can use the function to returns the acquisition time in milliseconds from when the CPU receives the first laser profile until the full point cloud is generated.

To use GetAllTime:

1. Insert GetAllTime(A0) to a cell.

2. Trigger the In-Sight vision system.

   Note: The GetAllTime function calculates the time based on the last image acquisition. The return value of the function can be large at first. Make sure to trigger the vision system to get the correct value.
3. The time is returned to the cell.

Note:

- This argument must reference cell A0, the cell containing the Image data structure returned by the InputPointCloud function.
- You cannot use this function in a formula. For example, if you enter "GetAllTime(A0)+10" in a cell, #ERR is returned. To use a formula, create a separate cell just for GetAllTime(A0), and use a cell reference for it in the formula. For example, you can configure the spreadsheet as follows:
  - B2 = GetAllTime(A0)
  - B3 = B2+10