06-07-2018 03:13 PM
I'm running into an issue when generating a Standard Report with images. We were originally using LV 2015 32-bit, which was having some memory issues (I think sometimes in the ODBC bridge, sometimes in the printing). Decided to migrate to a 64-bit version of LV to see if this helps resolve the issues. Unfortunately we are getting a new error in when generating reports (specifically when appending an image to a standard report). The reports are admittedly relatively large (upwards of 7000 records, each with a single image); however I see the crash at around 1300 images in the report.
I see dllhost.exe process steadily consuming more and more memory as the report is being generated. I'm assuming this is the wrapper around the DLL call from LV. As a data point, the error usually occurs when the dllhost process gets up towards 1.8GB.
The full error is:
Error -2147352567 occurred at Unable to load picture. in NI_Standard Report.lvclass:Append Image to Report (path).vi->NI_report.lvclass:Append Image to Report (path wrap).vi->Format Report Entries.vi->Print Report.vi->PrintReportTestHarness.vi
This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input.
Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (-2147352567) or for its hexadecimal representation (0x80020009).
Using Labview 2016 64-bit on Windows 10.
06-08-2018 11:21 AM
Hello Brian V77,
Would it be possible for you to share your VI or a picture of your VI?
06-08-2018 04:19 PM
See attached zip.