Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlled Time capture with USB Camera and interface

Hello,

 

I am new to this area and am tring to get my program to capture a 10 to 15 sec image when I hit an enable button.

I have the program taking 10 samples but I have no way of telling the capture when to start.

Any help would be greatly appreciated.

I am using Labview Ver 8.6 and Vision Acquisition Ver 4.3

I am using a USB camera right now to test the program before going to the USB capture interface.

 

Does anyone have a good way to play back the Video clip after the capture.

I would like to beable to see it along with my data from the write to measurement file.

 

Thank You

Richard

0 Kudos
Message 1 of 8
(4,747 Views)

Hi Richard,

 

This example shows how to take video and data, and then upon completion, play them back.  Check out this example.  I realize that you are using express VI's and a few more data channels, but this should be a good start for you.  Take a look at this and then post back with more questions. 

 

Cheers, 

Marti C
Applications Engineer
National Instruments
NI Medical
Message 2 of 8
(4,729 Views)

The program looks like it will work, But I have not upgraded to Ver 9.0 yet still at 8.6

I have not tried to do any of the VI's without using the Express VI, I am still very new to this verision I have been using ver 5.? at work but not to this level.

This weekend may be a good time to update this ver of labview.

I had tried once earlier but the vi I had created would not run after I upgraded, so I am still running 8.6

 

Thank You Chancenator

 

 

Richard

0 Kudos
Message 3 of 8
(4,718 Views)
Sure thing, post back if you've got more questions.
Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 4 of 8
(4,703 Views)

I am looking to purchase an Basler scA-640-70fm Camera and lens with a PCI firewire card Camra 780880-01 card 779024-01 for our system to capture a beating heart in our lab. will this work well with my application from above?

I am going to start upgrading to 9.0 and try to work the new infomation from post.

 

I am using a HP dc 7900 Core 2 Quad with windows XP and 3.46 Gig of memory for our main DAQ system.

 

Can I use the above example to capture Video and data to be played back together later, and still store a excell file for the data form the capture?

 One last thing what size of drive would you recamend for the video side of the storage?

 

Richard

0 Kudos
Message 5 of 8
(4,654 Views)

Hey Richard,

 

The camera that you pointed out looks pretty solid; however, your going to have to be the one that makes the final decision on if the camera fits your needs. You'll want to be sure that your camera meets the requirements for you application (i.e. fps, resolution, color/B&W, etc.).

 

In regards to the example that was pointed out. It may not be the end solution you are looking for (possible performance issues, you may want to add/remove features, etc.) but it is a good place to start.

 

As for the HDD size. This depends on your application as well. You could do a quick estimation, (pixel format * image resolution * fps * video duration * number of videos to be taken). 

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 6 of 8
(4,631 Views)

I have now upgraded to 9.0 and have a few more problems.

After upgrading I still can not run the VI, I have 64 Errors all with the DAQmx.

Do I have to uninstall 8.6 before I upgrade to 9.0?

When I run an old VI that was created in Ver 8.6 I now get 68 Warnings most are <vilib>:\DAQmx\configure\ or <vilib>:\DAQmx\create\channels.llb

it looks like the new Ver can not find the Lib files.

How can I fix this problem, and start using the new Ver of labview.

 

Richard

 

0 Kudos
Message 7 of 8
(4,488 Views)

Hi Ral,

 

Those warnings actually aren't errors- LabVIEW is usually just letting you know that it has found the VI's in a different, unexpected place from before.  You should be able to acknowledge these warnings and proceed to your VI.  You are able to have multiple versions of LabVIEW on your computer, just not multiple versions of drivers.  

Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 8 of 8
(4,471 Views)