Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IEEE 1394 Camera Trigger Mode 1 Problem

Solved!
Go to solution
Hello! Problem still exist. Now the situation is folowing. I have set up buffer to 21 pictures. Then I acquire 21 pictures normally with trigering and then for next 21 acquisitions there is no image acquired and then after 21 ignored images, normal acquisition proces is operating normaly. After that all this is repeating... Please any info? Regards!
0 Kudos
Message 21 of 32
(2,716 Views)

Hello,

Did you set continuous buffered acquisition, Continuous=1, bufferCount=21? If so and the behaviour is what you presented, there might be a problem with the transfer from the buffer, therefore try with a larger buffer  or  give the system enough time to process ( small time delay in a loop that you are using) and see if the number of un-acquisioned images is the same, again, with the dimension of buffer.

Regards,

Mircea

0 Kudos
Message 22 of 32
(2,659 Views)

Hello!

 

Yes I have set up parameters as it is described in previous mails. I acquire image on every 13 seconds, so this shouldn't be a problem or do you mean anything elese?

Is the new version of NI Image driver in triger mode still operating the same way that it is looping or is there any progress in new versions?

 

Regards!

0 Kudos
Message 23 of 32
(2,653 Views)

What version of IMAQ driver are you using? Are you using the version for IEEE1394 cameras?

Also, write me your e-mail so that we can discuss easier.

Regards,

Mircea

0 Kudos
Message 24 of 32
(2,630 Views)

I think it is 2.1 version of driver from NI.  Regards!

 

 

0 Kudos
Message 25 of 32
(2,627 Views)

 

Can you please be more explicit and try to cover all the questions I asked?

 

Mircea

0 Kudos
Message 26 of 32
(2,625 Views)

Hello!

 

Ok, now more acurate. I'm working with NI IMAQ 1394 2.0. The problem with this driver in Triger mode was that 

while we were waiting for new event the system(VB aplication) was looped and in time betwen two events 

on triger program was not responding to user actions!

 

Regards!

0 Kudos
Message 27 of 32
(2,623 Views)

No info, can anyone help?

 

Regards!

0 Kudos
Message 28 of 32
(2,460 Views)

Hello!

 

Please, help me on thi issue!

 

Regards!

 

Dan

0 Kudos
Message 29 of 32
(2,278 Views)

Hi danilo,

 

This is Marton from National Instruments.

 

My understanding is that:

-You are familiar with Vision and tiggering

-Your application works fine

-The problem is that waiting for trigger hangs your application.

 

With this you can try the following things:

-Set a relatively low timeout value. If a timeout happens you clear the error and continue

-The other option is more VB than NI related. You could try to have multiple threads, so when clicking Stop you kill the thread waiting for the trigger.

About threads you van find information for exampe here: http://www.freevbcode.com/ShowCode.Asp?ID=4029

In fact the latter one is a bit complicated one so I suggest you use it if you are really interested in going deep into VB.

 

Regards,

Marton

0 Kudos
Message 30 of 32
(2,246 Views)