From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to record video from a USB camera from Labview code

Hi,

 

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.

 

Thanks.

 

0 Kudos
Message 1 of 5
(7,232 Views)

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
(7,225 Views)

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,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 3 of 5
(7,222 Views)

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
(7,194 Views)

its does not work...

0 Kudos
Message 5 of 5
(4,567 Views)