10-27-2008 05:11 AM
I did experience two problem with the HTML report in LV6, LV8.0, LV8.5 and LV8.6.
1: When images are placed in the report these are generated in the temp folder. When the report is disposed, these files are not deleted. This will cause the temp folder to fill. I have modified my dispose report.vi file in vi.lib to solve this problem.
2: The append control image uses a millisecond timestamp to create a unique filename. When this function is called more then once in a millisecond the unqiue naam is not unique. Again, i have modified my dispose report.vi file in vi.lib to solve this problem.
Is this a worthy bug report so this fix can be included in the new LV version?
C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\Utility\NIReport.llb\HTML\Dispose Report.vi
Bug: Found in LV 8.5, the images that are generated for the report are not ereased but are left as a trace in the <user>.temp folder
Repair: At dispose, delete all image files. Use the 'save-report' function to keep all these items
C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\Utility\NIReport.llb\HTML\Append Control Image to Report.vi
Bug: Found in LV 8.5, generation of unique number of image is based on 1msec timer. When function is called more then once in a msec this results in a not unique number.
Repair: A GLI function has been added to replace the timer, now a unique number is generated every time.
10-27-2008 09:32 AM
11-11-2008 09:42 AM
The issue of not deleting image files was reported to R&D (CAR # 43931) for further investigation.
11-11-2008 10:13 AM
The issue of using Tick Count (ms) to create unique file names was reported to R&D (CAR # 132869) for further investigation.