Specifications
sharpVISION™ Camera
sharpVISION™ SDK Reference
86
6.7. Examples VIs
6.7.1. 1_enum_cameras
It’s a very simple example which shows how to display the result of a cameras enumeration.
The output of the “IDT List Cameras” VI is displayed in a group of four LED and four edit
boxes. If a camera is enumerated the corresponding LED is turned on and the camera ID is
displayed in the edit box.
6.7.2. 2_getinfo
This VI shows how to retrieve information from the camera such as camera model, firmware
version, etc. The first available is open and the following information is retrieved and
displayed: camera model, CCD model, firmware version.
6.7.3. 3_snap
This example shows how to capture and display a single image. The example opens the first
available camera, configures it with the default parameters, and it acquires a single image.
The acquisition output is displayed in a preview window, and then the camera is closed.
6.7.4. 4_acquire
This example shows how to capture and display a stream of monochrome images. The
example opens the first available camera, configures it with the default parameters, and it
continuously acquires and displays a single image. When the stop button is pressed the
camera is closed.
6.7.5. 5_acquire_with_error_check
This example shows how to capture and display a stream of monochrome images and how to
handle an error condition. The example opens the first available camera, configures it with
the default parameters, it continuously acquires and displays a single image. When the stop
button is pressed the camera is closed.
6.7.6. 6_acquire_with_parameters
This example shows how to capture monochrome images and interactively configure the
camera. The example opens the first available camera and allows the user to configure the
following parameters: exposure time, contrast, brightness, binning and ROI. Note that set 0 to
exposure, binning, ROI Width or ROI height, means set it to the default value. For ex. Setting
0 to exposure you obtain an exposure value of 16384 microseconds. Then the camera is
configured and a single image is acquired. The acquisition output is displayed in a preview
window.
6.7.7. 7_acquire_with_trigger
This example shows how to capture monochrome images and interactively configure the
camera trigger mode. The example opens the first available camera and allows the user to
configure the trigger mode. Then the camera is configured and a single image is acquired.
The acquisition output is displayed in a preview window.