Overview
This VI allows you to modify camera attributes while running a "continuous" grab.
Description
Many attributes cannot be changed while the camera is acquiring. To go around this, this VI checks to see if the attribute value has changed, then VI stops acquisition, modifies the attribute, and restarts the acquisition. The attribute in the example is frame rate, but any other valid attribute can be substituted in its place. This VI requires the NI-IMAQ driver and a compliant framegrabber/camera.
Please note that if the attribute is out of range or invalid this will generate an error and stop the program. Please be aware of valid attribute ranges before modifying the attributes.
Steps to Implement or Execute Code
Requirements
Software
LabVIEW, Vision Acquisiton Software or NI-IMAQ drivers
Hardware
CameraLink or Parallel Digital framegrabber and compliant camera
Additional Images or Video
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.