08-07-2024 07:27 PM - edited 08-07-2024 07:28 PM
Can LabVIEW open an existing PDF file as a binary string?
The attached VI produces empty string after selecting a valid PDF file.
Solved! Go to Solution.
08-07-2024 08:13 PM - edited 08-07-2024 09:38 PM
Works fine here (No, you don't need to open and close if you wire a path directly!)
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?
08-08-2024 12:56 AM
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.