LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sbRIO-9637 webDAV VIs not working (363504)- Also cannot MAP as a network drive

Solved!
Go to solution

Hi,

 

I need help with this issue, have tried suggestions from multiple posts but I do not have any solution for this issue yet. I would appreciate if anyone can guide me in the right direction.

 

Hardware Info: I have a sbRIO-9637 from NI to try out. Hardware that we are/were using is myRIO.

 

Problem statement: I am having issues using vi's from WebDAV pallet on the sbRIO-9637. When the VI is made to run it gives out an error 363500, 1097 at times. Please know this VI is expected to run on PC side to access a file on the RT target.

"LabVIEW: (Hex 0x58BEC) Failed to connect to the specified hostname. Be sure the specified hostname is correct, the server is running and configured to accept remote requests."

 

To my knowledge, hostname should be correct. I know that the password is also correct.

 

Also, I am not able to map the same sbRIO-9637 as a network drive on windows not sure if these two are co-related. But can access it via a web browser or FTP.

 

Information: Same VI works just fine with myRIO, myRIO can be added as mapped network drive too.

 

For the ease, I have installed same software on both the devices, same user name, same password and same settings.

I have tried connecting and working on one device at a time and both as well. Nothing I have done so far has helped.

 

Also tried, making a new VI, same issue.

 

Only difference is the IP address and that the sbRIO connects with Ethernet and myRIO connects with usb cable.

 

Also, sbRIO-9637 losses connection in project explorer when a VI is deployed and when connected back in the project explorer the VI is found to be running on the RT target.  

 

I did format the sbRIO-9637 and did a fresh install for the software.

 

Followed step below as well: 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019PlESAU&OpenDocument=&l=en-US

 

https://forums.ni.com/t5/Real-Time-Measurement-and/WebDAV-session-no-error-but-not-connected/td-p/25...

Above solution is for VXworks targets and I believe OS on sbRIO is NI Linux Real Time same as myRIO.

 

 

0 Kudos
Message 1 of 6
(2,696 Views)

Hi Xonmyth,

 


@XM43 wrote:

 

Problem statement: I am having issues using vi's from WebDAV pallet on the sbRIO-9637. When the VI is made to run it gives out an error 363500, 1097 at times. Please know this VI is expected to run on PC side to access a file on the RT target.

"LabVIEW: (Hex 0x58BEC) Failed to connect to the specified hostname. Be sure the specified hostname is correct, the server is running and configured to accept remote requests."

Also, I am not able to map the same sbRIO-9637 as a network drive on windows not sure if these two are co-related. But can access it via a web browser or FTP.

 

I did format the sbRIO-9637 and did a fresh install for the software.


Did you install all the software needed to allow WebDAV on the sbRIO? You can do so in MAX when setting up software installation for the sbRIO…

 


@XM43 wrote:

Also, sbRIO-9637 losses connection in project explorer when a VI is deployed and when connected back in the project explorer the VI is found to be running on the RT target.  


Did you set the app to "run automatically" when deploying? This resets the sbRIO once the deploy has finished sucessfully!

While the sbRIO is restarted the project explorer gives the "lost connection" message. And upon reconnect you notice the app is running on the sbRIO - as expected…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(2,643 Views)

Hi GerdW,

 

Thank you for responding,

 



Did you install all the software needed to allow WebDAV on the sbRIO? You can do so in MAX when setting up software installation for the sbRIO…


 I believe I did install all the software required to support WebDAV on the sbRIO. Below is a snapshot from the list:

Xonmyth743_0-1597843640558.png

this is identical to software list I have installed on myRIO which works just fine.

 

Also, something that I observed, when attempting to add sbRIO as mapped network drive, it give out a strange auto populated password (auto highlighted) and user name section (snapshot below)

sbRIO-9637 (Connected using Ethernet)

Xonmyth743_1-1597843880183.png

myRIO (Connected using USB)

Xonmyth743_2-1597843925145.png

 



Did you set the app to "run automatically" when deploying? This resets the sbRIO once the deploy has finished sucessfully!

While the sbRIO is restarted the project explorer gives the "lost connection" message. And upon reconnect you notice the app is running on the sbRIO - as expected…


This sounds exactly what I am experiencing.

But I am sorry, I am not sure of how to do that. Only time I know of setting run condition is when I build an RT application, I can set it's behavior to run.

Xonmyth743_3-1597845845151.png

Currently I am simply running a vi using the run arrow, which temporarily deploys vi on RT and runs. I do not know how to  change the run setting here.

I am sorry if I have caused you any confusion on this.

 

I really appreciate your input!

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

Does anyone has any suggestion? This really put our project on halt.

 

Thanks in advance

0 Kudos
Message 4 of 6
(2,601 Views)
Solution
Accepted by topic author XM43

I found out why I could not add sbRIO as Mapped Network Drive:

 

For some reason not all users had permission: (only administrator had permission)

Xonmyth743_0-1598032691332.png

 

Xonmyth743_1-1598032766678.png

Xonmyth743_2-1598032787451.png

Save the changes and now I can add sbRIO as mapped network drive.

 

 

However, I am still unable to run the VI and getting the error: 363500

 

 

0 Kudos
Message 5 of 6
(2,588 Views)
Solution
Accepted by topic author XM43

Okay, so have my code running now as expected. But still unsure how actually the error 59 got fixed

I'll share my learning with error 59, error 363504, error 363500 and error -1967362020. With hardware swtich

 

1) Make sure the host uri is correct in open session VI:

 

myRIO uses something like: http://168.254.98.64/files/home/lvuser/n.....####....(example)

sbRIO-9637 uses: http://ni-sbrio-9637-030abcde (example)

you can get this by clicking on web configuration form NI MAX, in search bar, copy everything before (.)local

 

2) Make sure relative uri is correct:

 

myRIO works with: http://172.22.11.2/files/home/lvuser/natinst/bin

sbRIO-9637 needs it in a different format: /files/home/lvuser/natinst/bin/example.txt

 

So basically you complete path is: http://ni-sbrio-9637-030abcde (+) /files/home/lvuser/natinst/bin/example.txt 

=http://ni-sbrio-9637-030abcde/files/home/lvuser/natinst/bin/example.txt

 

3) Enough though you have all the right software installed, it's a good idea to verify if permissions are set right

 
 

That is, go to NI MAX- Remote Systems- SbRIO-9637 - Right click- Web configurations - (3rd option) Security Configuration - Permissions (last tab) - (Somewhere in middle) NI WebCer- (Under the section) These group have this permisison: (make sure you have both both administrators and everyone) mentioned.

 

If not found, do not worry, simply click add. and add everyone

 

4) This actually should be the 1st point as mentioned by GredW, but you can read again, make sure all software installed and also check all the drivers are installed on your pc

 

I had still had error 59 after these steps

 

5) If it still does not work, move to a different office now, it should all surprisingly start working fine just like it did for me.

Or maybe try restarting your PC and sbRIO.

 

 

I hope this post helps someone and you do not cry in the middle of night asking questions why me.

 

 

Thank you all for your help

 

0 Kudos
Message 6 of 6
(2,557 Views)