LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

take a photo using a laptop or USB camera in LabVIEW

Solved!
Go to solution

has anyone used a USB or built-in laptop camera to take a photo in LabVIEW? If yes, can you please share the code? Appreciate it.

 

Thanks.

 

Ian

0 Kudos
Message 1 of 5
(1,955 Views)

I am not talking about using a specialized camera which needs to use a specialized LabVIEW toolkit, instead, it might just be some Microsoft Windows built-in calls. Just like what "Microsoft Camera" App does. 

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

The easiest way is to use IMAQdx which is part of the vision acquisition toolkit. (Warning: this requires a separate run time license if you want to run in  an executable on another machine, ~£400 from memory)

 

This link lists to compatible camera protocols: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6COSA0&l=en-GB

 

Do you have access to this module?

 

Edit: Further thoughts....If you don't have access to this module or your camera isn't compatible, you may be able to get dll's from the camera manufacturers website or use an open source sdk, see this thread

 

https://forums.ni.com/t5/LabWindows-CVI/How-to-Acquire-an-Image-without-IMAQ/td-p/2491124

0 Kudos
Message 3 of 5
(1,902 Views)
Solution
Accepted by topic author TulaRen
0 Kudos
Message 4 of 5
(1,887 Views)

Yes, that's exactly what I am looking for. Many thanks.

 

Ian

0 Kudos
Message 5 of 5
(1,866 Views)