Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

XNet Database Get List Doesn't Work on RT with Password

Solved!
Go to solution

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?

0 Kudos
Message 1 of 4
(2,960 Views)
Solution
Accepted by topic author Hooovahh

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?

 

 

Jeff L
National Instruments
Message 2 of 4
(2,952 Views)

Including a link to the help so you can see the syntax without an emoticon.

Jeff L
National Instruments
0 Kudos
Message 3 of 4
(2,949 Views)

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.

0 Kudos
Message 4 of 4
(2,947 Views)