11-14-2012 04:32 AM
Hello,
I want to save my file after execution directly in PDF format,can it possible??
means generally after one execution all the data are saved in taxt file formate directly,but i want to save that data in to PDF formate instead of text file.
Here in attachment I have attach my screen shot of my vi,in that after completing execution,all the information of log window is saved in text format but I want to save(generate) that file into PDF format directly.
Will you please guide me that what kind of changes I have to do in order to generate my file directly in PDF format...
Thank you very much in advance...
Solved! Go to Solution.
11-14-2012 04:54 AM
Hi,
one option I see is to use PDF creator, which is recognized as a printer.
- You save you file to a .txt file
- You print it with PDF creator (you can call printer with LabVIEW)
Maybe is there one other option...
Best Regards,
11-14-2012 05:05 AM
Thanks for reply,
thats ok but can it possible to save our file directly in PDF instead of .txt file.
Because in my case I dont want to do any printing operation I have to just save obeserved data into one file in computer only so i want to save that data directly into PDF file.
Thanks again....
11-14-2012 05:10 AM
You can generate a PDF using Itextsharp API can't remember where I downloaded it, but it's definitely on NI.com
11-14-2012 05:10 AM
Hi,
it's considered as printing operation, but this doesn't print anything : it save a file into a pdf format.
If you read this thread, you will see that you can do what you want :
Save your data in a txt file
Convert this file in pdf file
Delete your temporary txt file...
Best regards,
11-14-2012 05:16 AM
thanks for reply ,i will check with your solution and let you know..
thanks again.
11-14-2012 05:23 AM
There is also this from carya.nl
There's a free edition (which puts a reference to Carya on each page) or there is a professional edition which is paid for (and presumably doesn't put the reference).
I've downloaded it, but haven't used it yet. But I am about to in my latest project.
11-14-2012 06:19 AM
hello,
i am facing problem that i am not able to connect the terminal of my log windows with any of pdf vi blocks.
can you please tell me that how can i connect my log window with pdf terminal so i can have pdf file in which all log windows detail is included.
here in attachment i have attached my screen shots hope it might be help to understand the problem.
Thank you very much for help.
11-14-2012 07:05 AM - edited 11-14-2012 07:20 AM
here i am attaching my vi which i made for reference only ,
will you please guide me that how can i generate pdf file or which kind of set up i needed in order to have all data which is display in logwindow in pdf file.
Thank you very much.
11-14-2012 10:38 AM
Ankit,
I did not look at your vi, but if you are using the Report Generator Toolkit with the Office vi's, Office 2010 under Windows 7 will let you save your report as a PDF file.
Mike