01-12-2015 08:06 AM
Hi!
I have some problem with the password control of the sbRIO (NI9605). I have setup an password in web configuration, and I can see it works at the web configuration and FTP. But I have problem with it from teh source code.
When I run the above I get the error:
Code: -2147220598 (The username or password is invalid.)
nisyscfg.lvlib:Initialize (Helper).vi:3930001<APPEND>
<b>Complete call chain:</b>
nisyscfg.lvlib:Initialize (Helper).vi:3930001
nisyscfg.lvlib:Initialize Session.vi:1230001
System session handle.vi
ANd I have many times tested the password is correct, I have also tried with password 1234 both in web configuration and here and same result.
If I do not connect the password (leave blank) it starts up fine, but when I try to save config:
I get the following error:
Code: -2147220362 (The remote system is locked. A password is required to configure.)
nisyscfg.lvlib:Save Changes (System).vi:1280001<APPEND>
<b>Complete call chain:</b>
nisyscfg.lvlib:Save Changes (System).vi:1280001
System session handle.vi
Serial reset modes.vi
Serial interface loop.vi
RT main VI.vi
I am using LV 2014
Any ideas?
01-12-2015 11:38 AM
That VI is running ON the sbRIO right? Otherwise the host wouldn't be 'localhost'.
Just to confirm - if you remove the password from the sbRIO does everything work as expected? If so - it's probably permissions issue - have you changed the default permissions for the 'admin' user and/or 'administrators' group?
01-13-2015 01:48 AM
Yes the VI is running on the sbRIO, I want to set up the IP using an RS485 we have implemented.
Yes if I remove the password it works as expected, therefore it was working fine in my R&D setup, but the problem came in the first test installation where I setup password.
No I have not changed the default permissions, I have only setup a password:
And Installed SW:
01-13-2015 05:55 AM
Hi ePower-ahp
I have looked at your post and would like you to attach your vi to simulate your problem.
Also, it would be useful to review the following link to ensure you are following the correct steps in configuring your password:
http://digital.ni.com/public.nsf/allkb/21928AC49FB2379C86256BF4006307AD
Thanks
Ingram Weeks
Applications Engineer
National Instruments
01-14-2015 04:44 AM - edited 01-14-2015 04:52 AM
Hi!
I have attached my file, and it is not working even I have setup the password to 1234.
Yes it is exactly that way I am setting up the password. The only difference is that I am going directly to "NI Web-based Configuration and Monitoring" and setup the password (not through MAX), but I have tested it through MAX and it does not give any difference.
Thanks.
01-17-2015 08:57 AM
Hi!
With some more ideas from NI support, I have come to that it is a software component missing at the sbRIO. It is working if I from MAX install all components, but in production I don't want to have installed not used features.
Below is the features I have installed, any ideas to what I am missing?
In general I would like an overview over which components that are required for which features.
Regards Anders
01-19-2015 03:09 AM
SSL Support for LabVIEW RT - I'm not sure but the password might be encrypted using SSL so LabVIEW RT running on the sbRIO would need to have support for it. Definitely worth a try. Unfortunately it isn't always that obvious what you need installed on the target for things to work.
01-19-2015 02:39 PM
Hi!
No, that did not work...
Better ideas?
It seems as I must try more...
BR Anders
01-23-2015 11:51 AM
I went the long way with try and failure... so the answer is:
HTTP client with SSL support