beautypg.com

Examples: cycle time, Amples: chapter, Examples – ALLIED Vision Technologies Stingray F-504 User Manual

Page 333: Cycle time

background image

Configuration of the camera

STINGRAY Technical Manual V4.4.4

331

Examples: cycle time

The following three examples allow you:

A: to access cycle time either via UniAPI or via byte array

B: to extract cycle offset, cycles and seconds

C: to combine cycle offset/cycles/seconds to a valid time

Example Example code and description

A

nCycleTime can be accessed:

using the SIS structure S_SIS_DATA of the UniAPI:

using byte array: If you can access the image buffer as an array of bytes you can
assemble the first four bytes of the image buffer (assuming that the SIS is in the first
row):

B

This Cycle time can be devided into its components:

C

These values can be combined

Table 161: Examples: cycle time