<< Click to Display Table of Contents >> Navigation: NxLib API > HowTo's > Basic Camera Operations > Capturing Images with Hardware Trigger |
When working with hardware trigger you need to make sure that the camera is continuously armed and waiting for a new trigger signal in order to not miss any trigger edges. The pseudo code opens a camera, enables hardware trigger and captures and processes a fixed number of images.
NxLibItem root; // References the tree's root item at path "/" |
* References the tree's root item at path "/" |
When using the Capture command the entire trigger, wait and re-arm sequence can be accomplished with a single command:
for (int imageIndex = 0; imageIndex < 10; imageIndex++) { |
for Index := 1 to 10 by 1 |
You can also use the Capture command to trigger the camera and retrieve images by polling:
int imageIndex = 0; |
NumImages := 0 |