LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Password control of sbRIO

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.

 

 

System handle.png

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:

System handle 2.png

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?

0 Kudos
Message 1 of 9
(5,363 Views)

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?


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 9
(5,342 Views)

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:

 

System handle 3.png

 

And Installed SW:

System handle 4.png

 

 

0 Kudos
Message 3 of 9
(5,310 Views)

 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

 

 

 

 

0 Kudos
Message 4 of 9
(5,291 Views)

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.

0 Kudos
Message 5 of 9
(5,242 Views)

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?

System handle 5.png

 

In general I would like an overview over which components that are required for which features. 

 

Regards Anders

0 Kudos
Message 6 of 9
(5,183 Views)

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.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 7 of 9
(5,133 Views)

Hi!

 

No, that did not work...Smiley Sad

Better ideas?

It seems as I must try more...

 

BR Anders

0 Kudos
Message 8 of 9
(5,114 Views)

I went the long way with try and failure... so the answer is:

HTTP client with SSL support

Message 9 of 9
(5,068 Views)