Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

What does "IMAQdx Configure Acquisition" actually do?

Looking for some general information to improve my understanding of what this vi does beyond what's in the Help file. Is there any detailed info on the NI site, or elsewhere for that matter?

 

For background I recently spent a lot of time debugging an application where the user could switch between triggers acquisition and free run. I could see the camera and get images from the camera once, but on a second time it would throw an error. Eventually I figured out that I needed to unconfigure and configure the acquisition between each use, but I don't really understand why. So that's why I'd ike to learn more about this function.

0 Kudos
Message 1 of 3
(1,258 Views)

Usually, you need to unconfigure then reconfigure the acquisition when you change a parameter that requires changes in buffers : changing image width, height, pixel type or binning for instance.

I do not see any obvious reason why you should reconfigure to switch between trigger and free run but I can imagine you need to restart at least.

Sometimes, some constraints are not driver but camera related. Recently, I used a camera which requires you stop acquiring to change the frame rate, this was very unusual.

So maybe you cold also check your camera manual and firmware release notes.

 

Sami

0 Kudos
Message 2 of 3
(1,205 Views)

@Sami

I appreciate you taking the time to reply, but you misunderstood my question. I know what I have to do to make my program run. I am just trying to gain a deeper understanding of what happens when using this vi and the related Unconfigure Acquisition vi.

 

0 Kudos
Message 3 of 3
(1,199 Views)