LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Store Images in Excel from Webcam, using IMAQ and Report Generation Toolkit

Hello,

I would like to store images grabbed from Webcam using IMAQ. I have attached my program here.

The problem with my code is that, when my webcam_trials.vi is on , and I click on "Save Photo" button, I can see the *.xlsx file created and the photos captured by my webcam are getting stacked the way I wanted it.

But once I close the vi and check my excel file, in this case its "default.xlsx", I see that all the webcam captures are replaced with last capture only.

I am unable to see my previous captures

 

Kindly assist.

0 Kudos
Message 1 of 5
(120 Views)

Hello

Can anyone assist on this issue?

 

I am kind of stuck at this point

 

0 Kudos
Message 2 of 5
(70 Views)

Can you save you VI for LabVIEW version 2015?

0 Kudos
Message 3 of 5
(58 Views)

vi saved in 2015

 

I am still stuck at this point. 

0 Kudos
Message 4 of 5
(31 Views)

The problem seems to be that the images are actually embedded at Save Report to File.vi and not at Append Image to Report.vi as you are probably expecting. Since you overwrite your photo.jpg at every snapshot it will embed the last taken image N times.

 

The solution would be to save your (temporary) JPG images with unique file names and pass that to the report generator.

0 Kudos
Message 5 of 5
(25 Views)