10-04-2018 01:42 PM
Dear Friends
After reading this
https://forums.ni.com/t5/LabVIEW/2-hours-finished-the-webcam-program/m-p/3846880#M1088879
They suggest to open a new thread.
I need to creat a project that uses a webcam (to save images) and an encoder (to measure distance).
For now I have the encoder connected in a wheel and it measures the distance traveled with a car.
Now I need to add a webcam that I can take pictures at preseted distance interval and save the pictures with distance name.
For example if I need a picture each 10m it should take pictures and save it for example "10.jpg", 20.jpg", etc....
I only need an example that can take pictures from a webcam and save it into the pc, then I can try syncronyze with my distance vi.
Best regards
cpalka
10-04-2018 02:05 PM
Unless you develop your own code to call the Windows Webcam dll. LabVIEW Vision acquisition and development toolkit can do this with IMAQdx driver.
With the LV vision toolkit, it's easy to grab the webcam with a few Vi's. There are also some DCOM LabVIEW vision/webcam wrappers you can google and install for free to do this. They come with example code.
10-13-2018 03:51 PM
Thanks for the reply
I tryed install the VAS many times (my lb is 2013 versios), so I suppose VAS2013 is ok.
But after install the vision pallets is empty. I activate the license but after that stills not appear.
I will try install the IMAQdx driver (I suppos this is included in tha VAS package)
Best
cpalka
10-15-2018 02:58 PM
Hi friends
Seems version 2013 it is not compatible with Labview 2013.
I install VAS_2017_01 and I have success.
Best
CPalka
10-22-2018 04:03 PM
Hi friends
In a changed code that is almost that what I want, the unic problem is that when I press to take a photo this sould take the photo and save it automatically instead ask me all the time to accept the name of the file. How can change it for taking photos without no questions?
Best
cpalka
10-22-2018 07:30 PM
LabVIEW Vision comes in two parts -- the Vision Development Module (which deals with images, and lets you do such things as make an AVI from a series of images, i.e. write a Video file) and the Vision Application Software, the "Drivers" that include IMAQdx, the driver that works with USB and Ethernet cameras that adhere to the GenICam standards.
I always install both VDM and VAS, so I'm not 100% certain I can say what function is in what module. However, if I look in the Vision and Motion Palette, I see a folder called IMAQ and one called IMAQdx -- those (I think) are the Drivers. There are several other folders that I think are the VDM, including Vision Utilities, Image Processing, and Machine Vision. I'm quite sure that most of these were present in LabVIEW 2013.
I'm a little concerned that you report problems with LabVIEW Versions, and say you are mostly using LabVIEW 2013, but installed VAS from LabVIEW 2017. If it works, then I'd say you were lucky. From what you described, you crossed two boundaries -- mixing LabVIEW versions and drivers (sometimes it works, but I've had to do too many uninstall/reinstall operations, in fact, I'm doing one this evening), and crossing the LabVIEW 2016-2017 boundary. LabVIEW 2017 introduced the NI Package Manager, which has forced me to do about a half-dozen uninstall/reinstall cycles (including this evenings). So tread lightly.
Bob Schor
10-23-2018
12:37 AM
- last edited on
11-29-2024
09:29 AM
by
Content Cleaner
Hi Bob
Thanks for the answear, but when I say 2017 it is the VAS version
Please see the version compatibility and You will see that VAS 2017 is suitable for labview 2013
best regards
cpalka