04-23-2018 03:50 PM - edited 04-23-2018 03:51 PM
I have a cDAQ-9136 running Linux RT with XNet 17.0, which matches my host which also is using LabVIEW 2017 SP1. It seems that if my controller has a password the XNet Database Get Lists.vi returns no aliases, no paths, and no error. If I load the Database Editor software and go to File >> Manage Aliases and type in the IP Address leaving Username and Password blank then click connect, then the alias list is also empty. If I enter the proper username and password the connect shows all the aliases on my RT target. The XNet Database Get List.vi doesn't have an input for a username and password so how am I supposed to get the available aliases?
Also as a test I removed the password on my controller and this function works as expected. Also interestingly enough the Undeploy and Deploy does work without needing a username or password. This seems like a clear bug, is there a work around?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
Solved! Go to Solution.
04-23-2018 04:15 PM
The "IP Address" input string for Database Get List.vi accepts the user name and password in the syntax i.e. user:password@IPaddress. Does the VI fail to return any information with the username and password included in the IP address string?
04-23-2018 04:17 PM
Including a link to the help so you can see the syntax without an emoticon.
04-23-2018 04:19 PM - edited 04-23-2018 04:19 PM
Yup that did it, not sure why I didn't think to try that. Still to have parity with other RT functions I'd recommend adding a username and password input to that VI.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord