06-09-2017 05:36 AM
Am using LV15 on a Windows 10 machine.
I am looking to create a standalone VI that will help the user to choose a PDF file and then display it within the Front Panel of the VI. SO why would I want to do this ? For a particular product line that we deal there are some 300 plus data sheets and I should be able to call up a particular Data Sheet based on the first few characters of the relevant PDF file.
I looked upon a example here : http://forums.ni.com/t5/Example-Program-Drafts/Display-PDF-in-Dialog-box-in-LabVIEW/ta-p/3506322
But that one is not very consistent and worked once or twice.. but always when STOP was pressed, it kind of froze. Any better methods or VI examples exist ??
Solved! Go to Solution.
06-09-2017 06:40 AM
Hello,
Here you are provided a VI that opens Acrobat PDF Files from LabVIEW.
You can find more information on this VI here.
Did it solve your problem ?
06-09-2017 06:51 AM
Oh yes...it did. This is the kind of functionality I was looking for ...much better than opening in a container inside of the VI. Thanks.
One query : This opens a PDF based on the path provided. Suppose I want this standalone to use repeatedly and keep viewing various PDF files ( one at a time of course ) how do I proceed ? What I plan to do is to ask the user enter a 4 character file name , I will then try and search the matching PDF from the collection in a folder and then display it. Once the user is done with this PDF, he closes it and the process starts again....
06-09-2017 09:03 AM
Hello,
I modified the VI by reinitializing the Path to it's default value. Like that you will be able to upload as many PDF files as you want.
Was that query?
06-09-2017 09:16 AM
Thanks... but I am yet to move to LV2016... could you please save it for LV2015 and repost ??
06-09-2017 09:23 AM
Of course,
06-09-2017 09:42 AM
Looks like it really did not save to previous version ??
06-09-2017 10:05 AM
Here are two converted versions.
If it doesn't work, please tell me.
Have a nice week end
06-09-2017 10:18 AM
Sorry,
I have LV 2016, after I converted it to LV 2015, I opened it for check, but I clicked on Save..
Which automatically saved it to LV2016 again.
Sorry for that.
06-09-2017 11:02 AM
No issues...these things do happen !!
Yes its working as required now... let me work on it and convert it to the functionality that I need bringing in search option for user. Will post back here when complete.
Thanks for your time. Have a great weekend !