LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQdx - How to delete all images on camera buffer

I experience that my first acquired Image is an old one.

I acquire a sequence of e.g. 250 images using low-level palette.

Since it is a triggered acqusition I wait for the Acqusition to be active, before triggering the FGEN, which triggers the cam. So GetImage2 could possibly fetch and old image from the camera

before the hardware trigger arrived.

Quiztus2_0-1666095309002.png

I create the user with 250 images in advance. I specify the user Number of Buffer to be 250 for Configure Acquistion VI.

Quiztus2_1-1666095397449.png

Although I Stop/Unconfigure my Acqusition after each Acquisition, my first image in User Buffer has old content.

Do I have to close/open the session after each Acquisition? From my understanding Unconfigure Acqusition should delete the camera buffer, is that wrong?

 

Actor Framework
0 Kudos
Message 1 of 5
(1,351 Views)

Please attach your VI (or VIs).  We need to see actual LabVIEW code (files with the extension ".vi".  Tiny pictures of pieces of code are (for me) so unhelpful that I don't even bother to look at them.

 

Bob Schor

0 Kudos
Message 2 of 5
(1,305 Views)

For now my workaround:

I have a event structure around the "GetImage2-Loop", which waits for a "Frame Done Event".

This prevents, that GetImage2 in Every configuration grabs an old image.

But still, this doesn't seem to be expected behaviour?

Actor Framework
0 Kudos
Message 3 of 5
(1,280 Views)

In addition to attaching your LabVIEW code (files having the extension ".vi"), please also tell us about your Camera and how you want to configure it.

 

Bob Schor

0 Kudos
Message 4 of 5
(1,257 Views)

It's a Flir A700 cam.

Acquire Every Image Faulty.PNG

I figured out that after a camera restart the first image is all black, only zeros.

Actually I just want to send a trigger and retrieve a specified number of consecutive images,

but the first one is old or zero after a camera restart.

Actor Framework
0 Kudos
Message 5 of 5
(1,218 Views)