LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open PDF file from LAN doesn't work anymore in LV2015

LV 2015

windows 8.1

 

I use the VI "open acrobat document"

It does work if I pass a local pdf file path.

Does NOT work with "\\computer\bla\bla\file.pdf"

 

why?

 

I was working with previous LV.

0 Kudos
Message 1 of 6
(3,219 Views)

solved

0 Kudos
Message 2 of 6
(3,199 Views)

Do you care to share your solution, so that others who might find this thread on a search can benefit from it in future?


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 3 of 6
(3,176 Views)

It is not working anymore.

 

I tried everything.

 

I have found a nasty thing, NI is to blame a lot for this.

 

In vi.lib/Platform/browser.llb   NI CHANGED some functions, BUT they left the same name of vi.

In labview 2014 the "Open a document on disk" was different, and it was working.

In LV2015, they put some new code in the same VI, basically calling system exec.

 

THe problem is that it does not work flawlessy in LAN path.

 

If I pass something like "\\server\bla\bla\file.pdf" to that new subvi (made by NI !!!!), hit run, it doesn't open my pdf on acrobat (or foxit, or whatever).

 

This is unacceptable!

 

NI broke my damned software!

 

How can this platform be serious? damn I am so mad!

I have a production line that relies on that function to grab documentation.

I managed dozen of functional test softwares.

Now every time I will edit them and save I will be SCREWED, because NI will link obviously with the new file (it has the SAME NAME).

 

Thank NI|!!! VERY GOOD!

 

I am taking the CLA just to tell how bad it is this eviroinment in EVERY DAMNED convention I will go.

 

This time you made it gross man.

 

You deserve the pain.

0 Kudos
Message 4 of 6
(3,160 Views)

What are you trying to do with the pdf?  There may be a different way to accomplish the same thing.

0 Kudos
Message 5 of 6
(3,144 Views)

Both work fine for me in LV 2014 and 2015 with network paths.

 

LV2014 opens up the PDF in a Chrome tab, while 2015 opens it in Acrobat.

 

All you have to do is replace the VI with Open URL in Default Browser (path).vi, and it will work the same in both LV 2014 and 2015.

0 Kudos
Message 6 of 6
(3,125 Views)