ā11-14-2011 09:56 AM
Any one ever append a GIF to a MS xls document with success, LV2010?
My attempts to past a GIF to an xls or xlsx MS 2007 file is unsuccesful. no VI errors are reported but I open the file an no paste is there as I scroll through all the cell row numbers.
ā11-15-2011 02:42 PM
Rich,
Unfortunately this is a known issue with LabVIEW. There is an open CAR and R&D is looking into this issue. Sorry for any inconvenience.
Regards,
Marcus
ā06-20-2012 04:33 PM
Has there been a resolution of this issue?
Thanks,
Nina Sweeney
ā06-21-2012 07:51 AM - edited ā06-21-2012 07:54 AM
At the time of the original post, I was using Mike Schroder LV code that opens a GIF for view in a FP. You should find it on the discussion board or NI Developer Zone. In my case it turns out Mike's code open the GIF file but never close the file reference (it gets closed when LV stops running). So if its used as is, a subVI you got an unclosed reference open. Add a close reference to the code (shown below).
Its possible your code tries to open a new reference for the file when one for the file is already open and paste to xls fails, not to mention further other side effects. I went ahead an attached Mike Schroder code below.
ā06-22-2012 02:29 PM
Thanks--will check this out--
Take care,
Nina