NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Active Participant
Broken_Arrow
Posts: 1,839
0 Kudos
Accepted Solution

Limit certain IP Adresses from seeing hardware (PXIe)

Hi all ! :smileyhappy:

 

So if you have a PXIe controller on a network, and you want to exclude a few IP addresses from "getting at" the hardware, how do you do that?

 

thanks

Richard
Active Participant
Broken_Arrow
Posts: 1,839
0 Kudos

Re: Limit certain IP Adresses from seeing hardware (PXIe)

So I searched around and found these two lines in the rt-ini that can be modified...

 

RTTarget.IPAccess=+*

 

and

 

server.tcp.access="+*"

 

So, wondering, which one do I change, how, etc. I'd like to be able to enter an IP address to deny access. Is this possible?

 

 

Richard
Member
cZach
Posts: 139

Re: Limit certain IP Adresses from seeing hardware (PXIe)

Those tokens will allow access to the target from specific IP addresses, so you could put your IP in the place of +*

 

I don't think there is a way to specify IP adresses that do not have access with those tokens, but you could do this in the options for your program. The setting is found by clicking Tools>>Options, clicking on the VI Server tab. You can add IP addresses to the Machine Access list and specify whether to allow or deny access to those addresses. Keep in mind the * (or +* in the case of the token) will allow all addresses access.

Zach P.
Applications Engineer
National Instruments
Active Participant
Broken_Arrow
Posts: 1,839
0 Kudos

Re: Limit certain IP Adresses from seeing hardware (PXIe)


Zach P wrote:

Those tokens will allow access to the target from specific IP addresses, so you could put your IP in the place of +*

 


Thanks Zach.

 

What's the syntax for a list of IP addresses?

 

Richard
Member
cZach
Posts: 139

Re: Limit certain IP Adresses from seeing hardware (PXIe)

You can actually change the list of IP addresses with allowed access to the controller in the LabVIEW project. If you right-click on the target and click Properties, the Machine Access options are available in the VI Server tab.

Zach P.
Applications Engineer
National Instruments
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page