Time/Timer
All returned values are from a referenced function or cell.
Function | Description |
---|---|
Returns the time, in milliseconds, for the image to be acquired and the job to execute, or #ERR if the input value is invalid. Note:
|
|
Returns the time, in milliseconds, between two consecutive image acquisitions or #ERR if the input value is invalid. Note: This argument
must reference cell A0, the cell containing the Image data
structure returned by the AcquireImage function. For more information, see AcquireImage.
|
|
Returns a Time data structure, which can be used to send the exposure timestamp (a record of when an In-Sight vision system begins its exposure when triggered to acquire an image). Note:
|
|
GetPostInspectionTime(Image) |
Returns the post-inspection time, in milliseconds, for the previous inspection. This function returns #ERR for the first inspection and if the vision system is Offline. Tip: You can combine the time returned by the GetAllTime(Image) and GetPostInspectionTime(Image) functions to determine the Total execution time, which is the amount of time it takes for a vision system to complete all work for a single acquisition before moving onto the next acquisition. The Total time is the amount of time you can safely set your vision system trigger rate without missing acquisitions. For more information about what contributes to the total execution time and how to reduce it, see Status Bar: Spreadsheet View.
|
Returns the extracted system time offset value from a Time data structure. Note: The system time offset is only valid when PTP is enabled. For more information about setting up and configuring In-Sight vision systems for use with PTP, see Configure Time Synchronization.
|
|
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. |
Converts a Time data structure into a time value. The function is used to write a 64-bit representation of the time, in microseconds, to a PLC via the FormatOutputBuffer function. For more information, see FormatOutputBuffer. Note: This function is only valid when PTP is enabled. For more information about setting up and configuring In-Sight vision systems for use with PTP, see Configure Time Synchronization.
|