Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Scan engine access protection on CRIO?

Solved!
Go to solution

I am running a high volume production tester using the CRIO in an automotive plant, and my application uses the scan engine.  I just came across the scan engine vi's in the Measurement I/O palette that allows you to target a CRIO and change the scan engine period.  While handy, it seems like that is a pretty dangerous thing to allow without protection or some sort of user access rights. 

 

Can I password-protect changes to the scan engine settings to prevent this sort of change?  Does locking the CRIO accomplish this?

 

Thanks,

Rob

0 Kudos
Message 1 of 7
(3,986 Views)

Hi Rob,

 

I'm not exactly sure what locking the cRIO entails, but if you mean setting permissions in MAX, you will still be allowed to change the scan mode settings. As far as I know, there is no good way to lock the scan mode settings. If you want the option for some people to change the scan settings, you can password protect a tab control that will control these settings. Here is a discussion forum post that has an example of how to do this.

 

Thanks,

0 Kudos
Message 2 of 7
(3,976 Views)

So, effectively what that means is that anyone with Labview and network access to the CRIO can change the scan engine timing....that seems like a very bad thing to me.

 

Any thoughts on how to better protect that?  What about some of the vi server access settings from within the project?

 

Rob

0 Kudos
Message 3 of 7
(3,972 Views)

Hi Robert,

 

It is possible to prevent changes to the cRIO, but it involves deleting a .dll on the cRIO, which can be dangerous. I am still looking to see if there are other ways other than deleting this .dll, because I hesitate to recommend this solution.

 

Thanks,

0 Kudos
Message 4 of 7
(3,942 Views)

Thanks for checking on that...I agree that deleting a .dll doesn't seem like a good solution.

 

 

0 Kudos
Message 5 of 7
(3,925 Views)
Solution
Accepted by topic author Robert_Hoffman

Hi Rob,

 

I found a better way to protect the cRIO. In your project, right click on your cRIO controller and go to Properties. In the properties menu on the left side, you'll see a list of Catergories. If you click on User Access, you can allow and deny access to certain IP addresses. Now, only IP addresses on the grant list will be able to connect to the cRIO (and if you can't connect, you can't deploy any code). I tried this out and accidentally locked myself out of the cRIO. If you ever lock yourself out, you will have to change the ni-rt.ini file, located on the RT controller. Since you can change access from this file as well, you will want to password protect the cRIO in MAX as well so this file cannot be changed.

 

Thanks,

0 Kudos
Message 6 of 7
(3,910 Views)

Paul,

 

That sounds good, I am glad there is a way built-in.  I will start investigating that and go from there.

 

Thanks,

Rob

0 Kudos
Message 7 of 7
(3,887 Views)