LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open PDF File as Binary text File

Solved!
Go to solution

Can LabVIEW open an existing PDF file as a binary string?

The attached VI produces empty string after selecting a valid PDF file.

 

 

0 Kudos
Message 1 of 3
(525 Views)
Solution
Accepted by topic author Anthony_L

Works fine here (No, you don't need to open and close if you wire a path directly!)

 

altenbach_0-1723079511306.png

 

You are not checking for errors. Can you add an error indicator? Maybe the file is already open in another application?

 

If you have problems such as this, it helps if you could attach your VI and the pdf file in question. We cannot run images.

?

How big is your indicators (maybe the first few bytes are nonprintable!)? Where are you measuring the string length? Is you string indicator set to hex display?

0 Kudos
Message 2 of 3
(502 Views)

Altenbach:

 

-- I tried a different pdf file and it worked.

 

-- The 1st one threw an error that the File Path input was invalid.

 

-- Thanks for taking a look at this. Reminds me that I need to try harder!

 

Anthony L.

0 Kudos
Message 3 of 3
(465 Views)