LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquiring and saving a single image from the IMAQdx Grab function

Hi there,

 

For some reason our camera doesn't work if we try and Snap an image so we have been told to use the Grab function. However, when we use the Grab function our program can't run because (we assume) it is attempting to save a continuous feed as one image. Is it possible to extract just one image from the camera whilst it is grabbing? I have attached a screenshot of the relevant section of the block diagram.

 

The error is: "Error -1074360306 occurred at IMAQdx Get Image2.vi"

The possible reason for the error is: "NI-IMAQdx: (Hex 0xBFF6900E) No acquisition in progress."

 

Thank you in advance 🙂

0 Kudos
Message 1 of 2
(2,541 Views)

There is no VI attached (a picture of code is pretty useless -- I didn't even bother to look at it).  It would also help to know something about the Camera (what make/model), the Version of LabVIEW, and other things that might help us to help you.

 

Without seeing the code, it is not sure what is going on.  It is difficult to understand how a Camera that works with LabVIEW could not (programmatically) do a Snap or a Grab, and if you do a Grab, why you could not take a single frame (we do both all the time).

 

Have you tried "experimenting" with your Camera using MAX?  Can you "Snap" or "Grab" using MAX?  

 

Bob "Attach your VI" Schor

Message 2 of 2
(2,493 Views)