09-25-2024 12:05 AM
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.
Solved! Go to Solution.
09-26-2024 01:35 AM
Hello
Can anyone assist on this issue?
I am kind of stuck at this point
09-26-2024 04:56 AM
Can you save you VI for LabVIEW version 2015?
10-01-2024 08:08 AM
vi saved in 2015
I am still stuck at this point.
10-01-2024 09:06 AM
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.
10-02-2024 02:11 AM
Thanks for your suggestion. I will try this out
But I am wondering , is this not a bug?
NI should look into this
10-02-2024 02:33 AM - edited 10-02-2024 02:43 AM
Excel showing the different images is indeed confusing but under the hood the Report Generator makes use of ActiveX functions provided by Microsoft. I don't think NI can really be blamed for this behaviour.