11-22-2017 07:46 AM
Hello everyone,
I am trying to move an image into an excel spreadsheet, but I receive the error you can see in the attachments.
I also include the VI.
I would appreciate some help, as I do not understand what exactly goes wrong and how to fix it.
Thank you all in advance.
Solved! Go to Solution.
11-22-2017 08:59 AM
It looks like it can't find your image. What is your image path?
11-22-2017 10:49 AM
GregoryJ is probably correct as to why you got the error. When I ran your code with a path to a .PNG in the "Path or URL of Image" input, Excel opened with my image in Cell A1 and no error.
Bob Schor
11-23-2017 01:33 AM
Thanks for your reply but I doubt that the issue is that the picture cannot be found.
I am almost certain that the issue comes from the fact that I have a 32bit excel and I am using the 64bit LabVIEW
11-23-2017 02:02 AM
Hi,
I am using LV 2017 64-bit and an excel 32-bit, but the VI works correctly! Excel opens with an image on A1 and no error.
I agreed to the post before and think that there is a problem with the path to your .png file
11-23-2017 02:20 AM
Hi Guys,
Yes you are right.
I am using a constant for the figure path and not a control and my problem was that I forgot to add the extension of the image and apparently that caused the issues. I am testing it now and it looks ok.
Thanks a lot for you quick response guys and I am sorry for my stupid question.
11-23-2017 02:42 PM
Don't forget to mark GregoryJ's quick response as the "Solution" (only you can do that).
Bob Schor