09-17-2024 05:41 AM
Hi everyone!
I’m currently facing an issue with saving data to a PDF in LabVIEW. I have an image (attached below) that shows the format I need, but I’m not entirely sure how it was created.
1. Could someone guide me on **how to save test data in a PDF** similar to the format shown in the attached image?
2. Additionally, I need to **include multiple tests** (in case more than one test is conducted in the same session) in the same PDF. I’m looking for a way to separate each test in a continuous manner, ensuring that the results from different tests are not mixed.
If anyone has done something similar or can recommend the best approach to organize and structure multiple test results in a single PDF, I’d greatly appreciate it!
Thanks in advance for any help or suggestions!
All the information it's been retrived from a digital indicator.
Solved! Go to Solution.
09-17-2024 07:57 AM - edited 09-17-2024 07:59 AM
well, there is this option : http://www.simplicityai.com/custom-pdf-generator/
but it would if you don't want to pay the license you have multiple other options, and the easiest if probably to create a front panel that displays everything you need, then print the front panel of that VI and use a pdf printer.
if you search this in google you'll find lots of examples : site:forums.ni.com print to pdf
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
09-17-2024 08:13 AM
Thank you for the suggestion!
I was thinking along those lines, but I need help specifically with saving multiple test results in an organized way within the same PDF. The challenge I’m facing is ensuring that each test is separated and saved in a single PDF document, rather than just capturing what's displayed at the moment.
For example: I conduct a test and obtain one result. I want to save that result, continue performing additional tests, and then, at the end, compile everything into a single, well-organized PDF.
The issue with the approach you mentioned—printing the current interface—is that it only prints what’s on the screen at that moment, without structuring the information from multiple tests.
Thanks again for your help, and I’d appreciate any additional guidance on how to achieve this!
09-17-2024 08:21 AM
Another option might be to use the PDF Toolkit from Carya Automation BV.
It's powerful and since a long time free, but it is also not trivial to use. Basically you build your PDF document programmatically. This gives very detailed control of the PDF result, but with great power comes great responsibility. It's not a point and click solution but very serious programming.