LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Capture and save image using dotnet in labview?

Solved!
Go to solution

Hi,

 

I am doing a project where a trigger is sent to a camera. I want the camera to receive the trigger, capture an image and then save it automatically. I would be grateful if someone could help me with it.

 

-Nachiket

0 Kudos
Message 1 of 5
(3,505 Views)

Hi nachikulk,

 

Could you give us more information about the camera you are using and how you plan to control it?

 

Mitchell Faltin | NI

 

0 Kudos
Message 2 of 5
(3,444 Views)

Hi,

I am using Ueye camera and my motto is to capture some images that are projected using a projector. This projector sends a trigger to the camera. What I want is whenever trigger is received by camera, it must be able to capture image and save it automatically. Since ueye vi are in .NET format, i am trying to save and capture using .NET formats.

 

Hope this helps.

 

Thank you

0 Kudos
Message 3 of 5
(3,436 Views)
Solution
Accepted by topic author nachikulk

I don't know exactly what you are doing, but I think this .Net code might help.  It opens a file into a bitmap image, resizes the image, creates a new memory stream, then saves the image into the memory stream and returns it.  You could write this array of bytes to a file using the Write to Binary File.

0 Kudos
Message 4 of 5
(3,415 Views)

Thanks!!

0 Kudos
Message 5 of 5
(3,383 Views)