LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Picture box to intensity graph.

Hi,

I am working on a Vi to record video by using USB camera. i am stuck on the part how to change picture box (.net reference) to intensity graph.

( i don't want to use IMAQ )

i am using thorlab USB camera and most of the dll is already provided by the distributor.

 Thanks.

Download All
0 Kudos
Message 1 of 2
(850 Views)

via FFMPEG it is possible to convert a dotnet picture box to an LabView Array, which is the basis for the intensity plot - example code can be found here:

https://forums.ni.com/t5/Example-Code/FFMPEG-scripting-in-LabVIEW-NET/ta-p/3515713

 

e.g. "FFMPEG - Example - RTSP - Extract frame as PPM.vi" - Extracts single frame, stamps image with timestamp, frame count and duration. Pipes resulting frame to LabVIEW, converts PPM data to 2D Image array.

 

There also exist another option using - a rather obsolet - Windows Runtime:

https://forums.ni.com/t5/Example-Code/Video-for-Windows-avicap32-dll/ta-p/3491285

 

0 Kudos
Message 2 of 2
(798 Views)