From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

REST web service: cannot open local vi

Hi all,

I've developed web service that returns a list of terminals on the front panel. I've attached code snapshot. Locally (calling by me from LabVIEW), it works fine but I receive an error while calling it deployed as web service from other application. The problem is that I want to open a file (another vi) on hard drive and web service cannot find this file.

 

Do you have any sugestion how to map local drive somehow or how to enable LabVIEW to reach local hard drive?

 

Best regards,

Piotr

 

 

0 Kudos
Message 1 of 2
(2,675 Views)

Could you maybe try the simplest possibly VI? Just put there, instead of building a path, a path to the VI and try if it works.

 

I attached a piece of code which works for me.

 

Marcin Twardak

Marcin Twardak
Applications Engineer
National Instruments

0 Kudos
Message 2 of 2
(2,559 Views)