07-15-2019 07:21 AM
Hello all,
I am trying to do some automation for converting PDF to TXT or Excel.
is it possible to do it in LabView ? if so how ?
please help me to get out off this
Thank you
regards, Vinay
07-15-2019 07:25 AM
You'd probably best look at PDFsharp. It's a .net interface, so if it can do this (I think it can) it's probably not that hard to make it in LabVIEW.
07-15-2019 11:50 PM
Thank you for replaying.
I am getting daily 10 to 15 PDF document which I want to copy to excel and it will take nearly 45 to 60 minutes to copy text from PDF to excel
so I want to do automation to convert PDF to txt. file
can we do it in LabView ? if yes, can you please guide me ?
Kind Regards
Vinay
07-16-2019 04:08 AM
@Vinaygowda wrote:
can we do it in LabView ? if yes, can you please guide me ?
Yes, I think that can be done in LabVIEW. One way or the other...
You'd have to learn at least the basics of LabVIEW. Then, learn basic .NET in LabVIEW, then try PDFSharp...
We can guide you, but unless somebody has a PDF to Excel VI laying around and willing to post it, you'd have to make a start\effort.
This little project will be days of work even for experienced people, and most of us have work to do.
Note that PDFs are very tricky. Even simple text can be rendered in an unlimited number of ways. The order of characters, the encoding of characters, the encoding of the use font that can be embedded or not, the number of variations is infinite... It will depend very much on the PDF what the results will be.
BTW, you might not even need LabVIEW. You could go command line\batch file... Or call the command line from LabVIEW.
07-16-2019 04:20 AM
for your information I have 1 year of experience in LabView Coding
I will try once and is it required any additional license form LabView ?
Looking forward fro your support
Have a nice day
Regards
vinay
07-16-2019 06:06 AM - edited 07-16-2019 06:06 AM
It's all standard available in LabVIEW. You do need to download and install the software of course.
Personally, I'd start with exploring the command line tool, from the command line. It will be less flexible than a custom .net application, but if it does the job, you'd be done in a few hours...
07-16-2019 06:27 AM
You could take a look at this solution (jcarmody):
https://forums.ni.com/t5/LabVIEW/read-text-from-pdf/m-p/2585419?profile.language=en
If I was you, I would forget iTextSharp. I never was able to do a good job to convert PDF to text file, but I never worked with release 5 and over.
07-16-2019 07:19 AM
@J-Mv2 wrote:
If I was you, I would forget iTextSharp. I never was able to do a good job to convert PDF to text file, but I never worked with release 5 and over.
Who mentioned iTextSharp?
07-16-2019 07:26 AM
Is using LabVIEW a requirement?
There are many programs available where you won't need any prgramming.
https://www.pdfexcelconverter.com/ and many others you can find with google.
07-16-2019 07:40 AM
Oups, my error...
To much time working with iTextSharp....