LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can Labiew be used to open PDF files?

Hello,

 

I'm opening a pdf file with activeX class iacroaxdocshim. Opening the pdf file works fine. Is it also possible to search for text withing the pdf file? (using activeX)

Thanks in advance

0 Kudos
Message 11 of 25
(5,343 Views)
Hey Ronnie,
 
As Janell said, if Adobe offers an activeX call to scan a pdf, you can certianly do it in LabVIEW.  However, I have no examples on how this can be done.  Perhaps another poster has accomplished this, and could post an example.
 
Good luck!
 
Regards,
 
Kevin H
National Instruments
WSN/Wireless DAQ Product Support Engineer
0 Kudos
Message 12 of 25
(5,306 Views)

Does Labview can open PDF file as an imagin? If can, I will try to read document in PDF format and read text out by OCR function. Could you help me on this?

0 Kudos
Message 13 of 25
(4,717 Views)

Hi hangang.

 

Could you please elaborate on your question?  Are you wanting to write a LabVIEW program that will open up a PDF file and convert it to an image such that you can use that image as an input to an OCR program? 

 

 

Regards,

 

Michael G.

Michael G.
Applications Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Self-realization: I was thinking of the immortal words of Socrates, who said, "... I drank what?"
0 Kudos
Message 14 of 25
(4,687 Views)

Hi Michael,

 

You are right. That's I want.

 

We always get document from customer in PDF, for example, purchase order. We need to retrieve part number, spec, date, etc from it to our computer system. If manual input, it is hard to avoid mistake. I have some experience on OCR. So, I want to Labview read PDF as a picture. Then I can import it to my program.

 

Can I do that?

 

Thanks in Advance!

 

Bill

 

0 Kudos
Message 15 of 25
(4,672 Views)

Hi hangang.

 

Unfortunately, there is no inherent functionality in LabVIEW to convert a PDF to an image.  That being said, some brief Googling showed that there are a handful of other applications out there that can perform that task.  The best option may be to have another program do the conversion from PDF to an image format and then have LabVIEW read the images and perform your desired processing on them. 

 

Regards,

 

Michael G

Michael G.
Applications Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Self-realization: I was thinking of the immortal words of Socrates, who said, "... I drank what?"
0 Kudos
Message 16 of 25
(4,655 Views)