Showing results for 
Search instead for 
Did you mean: 

how to record video from a USB camera from Labview code



I have a thorlabs DCC1545M USB Camera. Can we generate a trigger from the labview code which starts video recording from this camera and stores the video in a specified location. We do have a thorlabs provided labview code which can generate a live streaming of the video but it cannot record it.




0 Kudos
Message 1 of 5

In such a case, you need to refer to thorlabs technical team or camera user manual.

You must know what are the commands that trigger video recording.

This could be string command or in hex form.

0 Kudos
Message 2 of 5

Hi Roshni,

I could not understand what do you mean by recording using a USB Camera.If you mean taking photos/Snap using a LabVIEW application,then of course it is very much possible in labview using avicap32.dll.



Thanks and regards,



0 Kudos
Message 3 of 5

Hey Roshini,


Check out the example Grab and Save to AVI. You can find it in the Example Finder under Hardware Input and Output >> IMAQ >> File Input and Output >> Grab and Save to AVI. That should give you an idea on how the VI should be structured. Hope that helps!

John B.
Embedded Networks R&D
National Instruments
Certified LabVIEW Developer
0 Kudos
Message 4 of 5

its does not work...

0 Kudos
Message 5 of 5