05-19-2020 10:34 PM
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
Solved! Go to Solution.
05-19-2020 11:07 PM
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.
05-20-2020 02:33 AM - edited 05-20-2020 02:36 AM
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
05-20-2020 05:14 AM
if you are using a windows os, you might look into
05-20-2020 09:08 AM
Yes, that's exactly what I am looking for. Many thanks.
Ian