Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find time between two frames?

Hi,

    I am working on a LabVIEW program that requires time between frames.

How can I do it??

 Thanks.

 

  Dsk001

 

0 Kudos
Message 1 of 4
(4,807 Views)

Hi Dsk001,

 

Probably the easiest way to get the time between consecutive frames is to get the difference between two Get Date/Time Seconds VIs.

 

On the other hand if you are interested in Frame Rate and are using an IMAQ framegrabber, then you can use the IMAQ Calculate FPS VI.

 

Does this make sense?

--Michelle

National Instruments
0 Kudos
Message 2 of 4
(4,785 Views)

Hi Mitchelle,

  

  I forgot to mention that I am doing an onboard memory acquisition where frames are captured continuously.

 I think Get Date/Time Seconds VIs will work only when I get two consecutive frames.

 

I have NI PCI 1405 framegrabber, what is an IMAQ framegrabber?

 I cannot see IMAQ Calculate FPS VI here..

 

-Dsk001

0 Kudos
Message 3 of 4
(4,779 Views)

I apologize Dsk001,

 

IMAQCalculateFPS VI is a subVI in a shipping example called HL Grab VI. Please take a look at how this subVI (IMAQCalculateFPS) is coded within the example.

 

You can find this example in the Example Finder (Help>Find Examples...)

--Michelle

National Instruments
0 Kudos
Message 4 of 4
(4,768 Views)