LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

manual trigger in IEEE1394 image sequence acquisition - vision

Hello
I'd like to run an image acquisition under IEEE1394 with about 2000 buffers continuously and then "tag" the acquisition with a manual trigger (mouse click or whatever).
The idea is to run continuous acquisition in the 2000 buffers, allowing rewriting the buffer if not interesting ("barrel-like" buffers)
When the "manual event" arises, I want to record N images before the manual trigger and the rest of the buffers after the trigger.
Any idea on how doing this or existing code would be fine...Smiley Wink
Best regards to all
Finksteet
0 Kudos
Message 1 of 7
(3,662 Views)
Hi,

Have you had a look at the Low Level IMAQ Triggered examples ?
Combining then you should be able to do this.

I'll have a look if there is an example that does exactly this.

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 7
(3,660 Views)
A quick try... I didn't test this VI because I don't have a framegrabber and a camera here at the moment, but it shouldn't be far from working as you described.

The "configure list" configures a "rotating buffer" so that only the last 100 images acquired are in the extractable buffer.
When you click "start from now, it gets the current frame index and stops after acquiring the 100 images.
If you want to take N image before you clicked, you merely have to substract "N" to the "when to stop" index.

Hope this helps and is not to "buggy"

Good luck


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 3 of 7
(3,654 Views)

I was talking about "Manual trigger" and not external or RTSI triggering the IEEE1394 driver

I keep on checking it..

0 Kudos
Message 4 of 7
(3,654 Views)

Ok I will try this vi; your answer and my remark just come together on the forum,

thanks

0 Kudos
Message 5 of 7
(3,652 Views)
Hooops... sorry, I just realized you asked it in IEEE1394... not even a chance my VI works with your hardware.. Smiley Sad

But using the same concept, and replacing all the IMAQ functions I used with IMAQ 1394 functions (unfortunately they are not exactly the same) it should work as well.

Good luck and sorry about that mistake... I went too fast Smiley Indifferent

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 6 of 7
(3,649 Views)

Hi there,

...not a chance in IEEE1394. The function "Extract buffer" s not implemented and then if you "Get Image 1394" after 'pre and post trig' selection, it is too late, the buffers are overwritten. IMAQ do the job , but not IMAQ1394 vers.2.0.1. Even if you stop acquisition after buffer selection, then "Get Image 1394" says" No acquisition under progress" Robot Mad...

Just for memory allocation (large number of buffers, near to RAM maximum) we have to wait for the Upgrade.

Hey NI engineers, is it done in the last IEEE1394 drivers ??? Would be fun doinit

 

Fink

0 Kudos
Message 7 of 7
(3,633 Views)