Error -1074360307: Acquisition in Progress at IMAQdx Write in LabVIEW

Updated Sep 22, 2022

Reported In


  • LabVIEW


  • NI-IMAQdx
  • Vision Acquisition Software

Issue Details

I'm trying to modify the camera acquisition attributes' values and then save these values in a new camera configuration file, or edit an existing one. To do so, I am using the IMAQdx Write function. However when it gets executed, I receive an error:

Error -1074360307 occured at IMAQdx Write
Possible reasons: Acquisition in progress



How do I solve the error and successfully write the new attributes to a camera configuration file?


This error occurs when the IMAQdx Write is called after the IMAQdx Configure because some specific acquisition attributes cannot be changed after the acquisition is already configured. The IMAQdx Write not only saves a new camera configuration file with the attributes' current values but also writes those attributes to the camera.

To avoid this error, use the function IMAQdx Unconfigure before using the IMAQdx Write This step will ensure there is no actively configured attribute(which does not allow to write attributes) in the IMAQdx session. See an example code below, which does exactly what described above.


In the above scenario, the Width attribute has been configured, and it is not writeable while an active acquisition/configuration is running. Thus we need to unconfigure it, and write the new configuration. 

Note: The IMAQdx Unconfigure does not erase the new attribute values. Writing the attributes after this function will write the newest updated attributes. 

Additional Information

Additionally, it is worth noting that some attributes such as Connection Speed, Bus Type, etc. are not writable during the acquisition, even after unconfiguring it. Check the IsWriteable property of the attribute to determine when an attribute is writeable. See the Advanced Functionality with example to view this property for all attributes while acquiring and while stopped.