08-29-2022 04:09 AM
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
Figure 1. Test VI for accessing the files on cRIO programmatically.
Thank you in advance!
Kind regards,
Hossein
09-16-2022 09:32 AM
09-16-2022 10:07 AM
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)