09-01-2009 01:06 PM
I have created a VI that prints out a portion of the data on a label when the data is saved. I use the Easy TextReport vi. This works well in the VI, but when I create an executable, it does not print. I'm trying to print to my PC, using PDF-Xchange 3.0, as well as my regular printer, but neither seems to print anything. Any suggestions? Is this more than likely a timing issue?i
09-01-2009 01:19 PM
09-01-2009 01:47 PM
09-01-2009 05:05 PM
I'm confused. You seem to be generating a report in MS Word format. What does PDF-Exchange have to do with this?
Also note that there are special considerations when using the Report Toolkit and trying to generate applications. These vary depending on the LabVIEW version and the Report Toolkit version that you have. You should search the NI site as this issue has come up before many times and has been documented.
09-02-2009 09:42 AM
Sorry for the confusion...I'm just writing to a PDF file during testing, in order to avoid killing a small stand of trees somewhere in Oregon. The poiint is that the print feature works great when I run teh LabVIEW VI, but when I create an executable and try to run it (on the same machine - I always test the executable on my machine first), nothing prints, regardless of whether I try to print to a printer or to a PDF file. I do not get any error message; it simply does not print.
09-03-2009 04:40 PM
09-03-2009 05:17 PM
Hi DanNatCorning,
I ran this code as an executable:
in LabVIEW 2009 and it worked just fine. Either your printer to PDF just doesn't seem to work, or something in the code beforehand is causing the problem. If you're getting a blank PDF, I would check this KB:
http://digital.ni.com/public.nsf/allkb/129CB3DF32B3619986256AF1006A6E9C?OpenDocument
04-25-2011 06:04 AM - edited 04-25-2011 06:08 AM
Get LV Class Default Value.vi<APPEND> <b>Complete call chain:</b> Get LV Class Default Value.vi NI_report.lvclass:New Report.vi NI_report.lvclass:Easy Text Report.vi DymoLabelPrinter.lvclass:Print.vi:1 testprint.vi <b>LabVIEW attempted to load the class at this path:</b> C:\Temp\builds\Untitled Project 1\My Application\Application.exe\1abvi3w\vi.lib\Utility\NIReport.llb\Standard Report\NI_Standard Report.lvclass Get LV Class Default Value.vi<APPEND> <b>Complete call chain:</b> Get LV Class Default Value.vi NI_report.lvclass:New Report.vi NI_report.lvclass:Easy Text Report.vi DymoLabelPrinter.lvclass:Print.vi:1 testprint.vi <b>LabVIEW attempted to load the class at this path:</b>C:\Temp\builds\Untitled Project 1\My Application\Application.exe\1abvi3w\vi.lib\Utility\NIReport.llb\Standard Report\NI_Standard Report.lvclass
There seem to be something wrong with the NI report as it seems not included in the exe?
Edit: Forgot to say that I am running LV2010 SP1
Br,
/Roger
04-26-2011 10:40 AM
Hi rois,
Please see the following KB
http://digital.ni.com/public.nsf/allkb/8A0E6274D9BD7B1986256F62006AD402
This error is due to the installer not including the Report Generation Toolkit's dynamic VIs
Regards,
04-27-2011 04:43 AM
This has been around since LV2009?
Why was this not "properly" fixed for LV2010 or 2010SP1?
/Roger