LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 7 when accessing file on cRIO through WebDAV in LabView

Hi,

 

I have successfully saved same data on cRIO using TDMS Write and now I would like to access this data. As instructed here , I have managed to access my saved files in File Explorer using the first method ("Configure permanent WebDAV mappings for your OS", 
"Windows 10, 8.1, 8, and 7"), however I would like to move the data to my PC programmatically. On the same page (the last part, "Using the WebDAV VIs") there is an example VI that shows how to do that, however, when I try to create a similar program I got the following error, "Call Library Function Node in NI_WebDAV.lvlib:Open Session.vi:7490001->PressureCalibrationProgram.vi".

 

By running the program in Highlight Execution mode I also see that the error occurs at the Open Session VI block. My suspicion was that the input (password, username and/or host uri prefix) to Open Session VI maybe were wrong, but with the same inputs I was able to access the data in File Explorer, so that can't be true. 

 

Any ideas on what could be wrong? 

 

Additional information, I'm using:

- LabView 21.0 (32-bit)

- cRIO-9056

- Windows 10

 

HosseinBakhtiari_0-1661763811712.png

Figure 1. Test VI for accessing the files on cRIO programmatically. 

 

Thank you in advance!

Kind regards,

Hossein

0 Kudos
Message 1 of 3
(1,110 Views)

Dear  HosseinBakhtiari,

 

Can you please send the code so that I can test it on my side?

 

Best,

anasei.

0 Kudos
Message 2 of 3
(1,070 Views)

Hi Hossein,

 

Try using the following

 

host uri: http://172.22.11.2

 

relative uri: /files/home/lvuser/natinst/LabVIEW Data/myData.tdms (make sure I spelled correctly)

0 Kudos
Message 3 of 3
(1,067 Views)